Air Quality Monitoring using Arduino IOT Cloud and ESP8266 | Arduino IOT Cloud Projects

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] the components required for this experiment are node MCU board mq135 sensor dhd1 sensor connecting cable and connecting [Music] wirs [Music] Now log to the ardino iot cloud website click on the signin button enter the username and password and click on the sign-in button now first go to the things menu here click create thing here we need to enter any title so I am entering the project name as air quality monitoring now click this ad VAR variable button and add the variable temperature and then select variable type uncheck this one and type temperature here we going to select this variable type now select this read right option and here we need to select on change and then click on ADD variable now we need to add the second variable humidity again click on this add button and enter the Vari name as humidity and variable type again unselect this one and select percentage and here the same thing which we did for temperature we need to select this read and write and here we need to select on change and then click add variable button now click add again and add the variable air quality and here also select the variable type select as percentage and read wrate should be selected and on change should be selected and click add variable and then we need to select the final variable message again click on this add button select the variable name as message and select the variable type as string and click add variable button now we need to select the device so we here we are using esp8266 that is not MCU board so click on this select device button here click set up a new device and here we need to select third party device so here ESP a266 is selected by default and we need to select the model so the model which I am using is node MCU 1.0 now click on continue and here we need to enter the device name so it will show a device name by default and and we can give our own device name so I gave the name as my node MCU and then click on next button so here it will show the device ID secret key so we need to download this uh PDF so which has the device ID and the secret key and then select this checkbox I saved my device ID and secret key and then click on continue button and click on done so we selected the device now we need to set up our Network so click on this configure button so we need to enter our Wi-Fi username and password and then we need to select uh copy the secret key so this is our secret key copy this and paste here now click on save button now go to this dashboard and here click build dashboard here also we need to enter the title air quality monitoring and here we need to click on this add button and we need to add the gauge widgets so we need to add three gauges one for temperature second one for humidity and third one for air quality so click on this gauge and here give the name as temperature and here we can see link variable so here we need to click on this link variable and we need to select the variable which we selected on the things menu so since we are creating this gauge for temperature we need to select this temperature variable and click link variable and here we can select the minimum and maximum value I am giving the maximum value is 100 and click on done button now go to add add and add the gauge widget for humidity so here give the name as humidity and select the variable humidity and click link variable and here also I gave the maximum value as 100 and click done now add the third one so which is air quality and here also link the variable and select the air quality variable and again click on link variable button and here I am giving the maximum value as 500 now we can also add chart for these three values so here we can see chart so here also we need to repeat the same one for temperature second one second one for humidity and third one for air quality we can drag and adjust this widgets so click on this arrange widgets button and we can arrange the widgets now finally we can add the message widget so here we can select messenger and select the variable message and click link variable and finally click done now the setup is completed now we need to modify the code so for that go back to Things menu and click on this things name and here we can see sketch so click on this sketch and click open full editor so before that we need to install this agent so here we can see to upload a sketch make sure the agent is installed on this computer so click land more and here you can see the install the agent button click this so click on the start button and we need to download the agent so since this is 64-bit machine so I am downloading download for win64 so now click on click on that MSI and click yes from here click next and select this button and again click next and click finish now here click the next button and go to web web editor so it will generate The Code by default and we need to add if you want to do any function additionally so here we need to include the DHD Library since we are monitoring the temperature and humidity so for that write hash include DHT Doh and then we need to declare the variable for the dh1 sensor so right so we are declaring the pin four four means we need to connect to D2 pin in node MCU then we need to define the DHD type so we are using DHD 11 sensor and also we are declaring the air quality sensor now we need to read the temperature and humidity and the air quality function here inside this void Loop so here we need to write float hm d. read of read humidity so this function will read the humidity and we can print this humidity so print this variable so it will print the humidity in the serial monitor then we can read the temperature float temp equal to DHT dot read temperature here also we need to print this temperature then we can find the air quality air quality value equal to since we connected the air quality sens to the analog variable so we need to write analog read of this sensor value and we need to print this air quality value also serial dot print off air quality now we need to assign all these values to the variable which we declared in the Ain iot Cloud so first one humidity equal to hm and temperature equal to temp and air quality equal to air quality value now we need to display all these values in that message value of message text box also so for that we need to write the code AS message equal to so this is the variable which we declared in the thing menu temperature equal to Plus string of temperature plus humidity humidity now the program is completed now we need to compile this code so for that we need to select the board here and then click on this compile button now the program is verified and compiled now select this arrow button and upload the program to the node MCU board now the program is uploaded successfully to the node MCU board now we can check the [Music] output we can also verify the output in the mobile application so for that we need to download the ardino iot cloud application from the Play Store so now open the application and here we can see the project which we created in the Arin iot Cloud Web dashboard so click on that and we can check the [Music] output [Music]
Info
Channel: Tech Trends Shameer
Views: 15,274
Rating: undefined out of 5
Keywords: arduino, arduino uno projects, temperature data storage in SD Card, arduino for beginners, new arduino projects, school projects 2020, top 10 arduino projects, simple arduino projects, arduino projects 2020, college projects, simple experiments with arduino, science experiments, arduino uno, engineering projects, Diy, Arduino sensor, simple experiments, arduino iot cloud, iot remote, temperature monitor using arduino iot cloud, air quality monitor using arduino iot cloud
Id: xuitQkJwBm4
Channel Id: undefined
Length: 16min 45sec (1005 seconds)
Published: Mon Oct 30 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.