ThingSpeak Temperature and Humidity IoT Device

In this blog post I will show you how to build a temperature and humidity IoT device with an ESP8266 NodeMCU board and a DHT11 sensor that sends data to a ThingSpeak channel. It is divided in five parts:

  1. Prerequisites
  2. Set Up Android IDE
  3. Prepare the Breadboard
  4. Write the Code
  5. Watch it Working


There are just a few components need to build this device:

  • ESP8266 NodeMCU board (or a similar ESP8266 board with I/O pins)
  • DHT temperature/humidity sensor (in this case it is a DHT11, but you can also use others, like the DHT22)
  • USB power bank
  • Breadboard (to connect the sensor with the board)