Using Internet of Things (IOT), we can control any electronic equipment in homes and industries. Moreover, you can read a data from any sensor and analyse it graphically from anywhere in the world. Here, we can read temperature and humidity data from DHT11 sensor and upload it to a ThingSpeak cloud
Arduino Uno Based Smart Humidity and Temperature System
Using Internet of Things (IOT), we can control any electronic equipment in homes and industries. Moreover, you can read a data from any sensor and analyse it graphically from anywhere in the world. Here, we can read temperature and humidity data from DHT11 sensor and upload it to a ThingSpeak cloud using Arduino Uno and ESP8266-01 module. Arduino Uno is MCU, it fetch a data of humidity and temperature from DHT11 sensor and Process it and give it to a ESP8266 Module.ESP8266 is a WiFi module, it is one of the leading platform for Internet of Things. It can transfer a data to IOT cloud.
Using Internet of Things (IOT), we can control any electronic equipment in homes and industries. Moreover, you can read a data from any sensor and analyse it graphically from anywhere in the world. Here, we can read temperature and humidity data from DHT11 sensor and upload it to a ThingSpeak cloud using Arduino Uno and ESP8266-01 module.
ThingSpeak is an open source platform to store and retrieve a data for Internet of Things application. To use this, you need to register in ThingSpeak cloud and then login to your account. After create a new channel with temperature in one field and humidity in another field as shown in Fig: 1.2. Once you created a new channel, it will generate a two API keys, they are READ API keys and WRITE API keys. First, copy the WRITE API keys from ThingsSpeak and paste it into the line (String apiKey = "OX9T8Y9OL9HD0UBP";) of the program. Next, replace the Host_Name and Password with your WiFi name and WiFi password in the two lines given below in the program. (String Host_Name = "Pantech" and String Password = "pantech123")
The Arduino program Uses DHT library, if it is not presented in your arduino IDE, select SketchàInclude libraryàManage librariesàInstall DHT Sensor library. Then compile the program and upload to a Arduino Uno through Arduino IDE. Ensure that WiFi modem and internet connection in your Smartphone or PC are working properly. After uploaded a program, the Temperature and Humidity data is uploaded on ThingSpeak platform. You can see it graphically in the private view window of your channel. And you can able to see the uploaded data from serial port of Arduino IDE.
With a sophisticated temperature and humidity controller and a good fog system, greenhouses can maintain temperature and humidity levels in different areas, allowing a variety of plants to live in the same environment. This saves money on water bills and helps growers produce during times of low water supply.
First make the connection .The 2nd pin is of DHT11 is a data pin, it can send a temperature and humidity value to the 5th pin of Arduino Uno.1st and 4th pin of DHT11 is a Vcc and Gnd and 3rd pin is no connection. The Arduino Uno process a temperature and humidity value and send it to a ESP8266 WiFi module. The Tx and Rx pin of ESP8266 is connected to the 2nd (Rx) and 3rd (Tx) of Arduino Uno. Make sure that input voltage of ESP8266 must be 3.3V, not a 5V (otherwise it would damage a device).For that, we are using AMS1117 Voltage regulator circuit. It can regulate a voltage from 9V to 3.3V and will give it to Vcc pin of ESP8266.The Ch_Pd is a chip enable pin of ESP8266 and should be pullup to 3.3V through 3.3K? resistor. For reset the module pull down the RST pin of ESP8266 to Gnd.ESP8266 have 2 GPIO pins GPIO 0 and GPIO 2.
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Arduino Uno | Equipment | 2 | 12500 | 25000 |
| ESP8266-01 | Equipment | 5 | 5500 | 27500 |
| DHT11 | Equipment | 10 | 550 | 5500 |
| AMS1117-3.3V | Equipment | 10 | 400 | 4000 |
| 9V battery | Equipment | 2 | 750 | 1500 |
| Arduino IDE | Miscellaneous | 1 | 10000 | 10000 |
| Wires | Equipment | 50 | 10 | 500 |
| Total in (Rs) | 74000 |
We want to design and implement a Smart Hybrid Inverter, this prototype has continuous pow...
Attendance will be marked by identifying the thumb two times in a day when a person come a...
Vertical farming is a facility in which crops are grown in special grow trays or PVC?s pip...
Nowadays, Railway is the backbone of transport. Many train accidents still happens worldwi...
The main purpose of this project to save the time of people and fulfil their need at home....