Project Title: ESP8266 + DHT11: Real-time Temperature and Humidity Monitor
Hello everyone,
I’m excited to share my first project using the new Blynk IoT platform! I successfully connected a DHT11 sensor to an ESP8266 development board (NodeMCU) and am pushing real-time temperature and humidity data to a custom Blynk dashboard.
1. Hardware & Wiring
- Microcontroller: ESP8266 (Specifically, the [NodeMCU V3 / Wemos D1 Mini / etc.]).
- Sensor: DHT11 Temperature and Humidity Sensor.
- Connection: The DHT11 Data Pin is connected to the ESP8266 GPIO [D4 / D2 / GPIO Pin Number].
- Power: The setup is powered via [USB / External 5V supply].
(You can reference the photo of your hardware setup here if you are able to attach it to your post.)
2. Blynk Setup Details
- Blynk Platform: Blynk IoT (Blynk 2.0)
- Template Name: [Your Template Name, e.g., “Home Environment Monitor”]
- Datastreams Used:
- Temperature: V1 (Type: Float)
- Humidity: V2 (Type: Integer)
3. Arduino Code (Sketch)
I used a simple BlynkTimer
to read and push data every seconds.
[PASTE YOUR FULL ARDUINO CODE HERE]
(Remember to remove your Wi-Fi SSID, Password, and Auth Token before pasting!)
4. Output
The data is updating reliably on the web dashboard and the mobile app. It was a smooth process thanks to the Blynk documentation!
(Include a screenshot of your Blynk dashboard visualization here if possible.)
Let me know if you have any suggestions for improvements!