The simplest weather station using ESP8266 & DHT11 sensor with Thingspeak integration.
- ESP8266 (NodeMCU)
- DHT11
Connect all components according to the circuit diagram.
-
For NodeMCU module, Install CH340 Drivers.
-
Install ESP8266 Addon in Arduino IDE
-
Clone this code and open the folder with Arduino IDE
-
Copy
secrets.h.example
tosecrets.h
and put your configurations. You need to create an aacount in Thingspeak in order to push weather data. follow this link -
Select the Board (NodeMCU 1.0)
-
Upload the sketch