Temperature and Humidity Monitoring
by Santhana_krishnan in Circuits > Arduino
756 Views, 2 Favorites, 0 Comments
Temperature and Humidity Monitoring
Hi Guys
In this instructable let us learn how to get temperature and humidity of atmosphere using DHT11-Temperature and Humidity sensor using Node MCU and BLYNK app.
Components Requires
Hardware :
- Node MCU Micro Controller
- DHT11 sensor(Temperature and humidity)
- Female to Female jumper wires (3 nos)
Software:
- Arduino IDE
- BLYNK Android App
Circuit Diagram
Connect the GPIO15 pin (D8) to the " S " pin(signal pin) of DHT11
connect VCC to Middle pin of DHT11
connect GND to " - " pin of DHT1
The Code
Upload the Following Code (DTH11blynk.ino) that I have attached to your Node MCU.
Before that , if you don't have NODE MCU and Blynk Libraries .
Follow these steps to Add them first.
Step 1:click the links separately
BLYNK LIBRARY For Blynk
https://github.com/esp8266/Arduino.git For Node MCU
DHT sensor Library for DHT sensors
SimpleTime Library for SimpleTime.h
zip files will be downloaded. (For the Node mcu click on Clone or download button and download zip file)
Step 2: open Sketch ->Libraries ->Add zip library -> a new window will popup
Step 3:search for the downloaded libraries and click open.The library will be added.
Downloads
Blynk App
- Login with Gmail
- Click create new project Type a project name and Select node MCU board
- Author token will be sent to your Gmail.
- Click on the + icon in the new window and Select "Gauge"
- Click on the Gauge ,
- Set pin as V0 (Virtual pin) and Title as TEMPERATURE.
- Set Reading rate to 1 SEC
- Again add another Gauge
- Set pin as V1 (Virtual pin) and Title as HUMIDITY.
- Set Reading rate to 1 SEC
- Click on the back button and your Blynk App will be ready.
- Switch ON your Mobile Hot spot.
- Keep the Data (Internet) ON in your mobile.
- Click on the Play button on the Project widowNow,
- Click on the Board icon on the top.
- Your Node MCU will be connected to your Phone.
It Works !!!
Turn ON mobile Hotspot of your phone.
wait for 1 minute for the Node mcu to connect to your Phone
open blynk app and you can see the live streaming of Temperature and Humidity values in your phone.