In this tutorial, we are Collecting Temperature and Humidity from DHT11 Sensor and sending these data to Thingspeak cloud using Write API key. Use connection diagram as shown below where second pin of DHT11 is connected on Pin D1 (5 for arduino) of NodeMCU. Don’t forget to mention WiFi ssid, WiFi Password and Your API key.
Circuit Diagram:
Source Code :
0 Comments