We are first going to see how to configure the hardware to use the ESP8266 board. This is how to connect the different components:
Basically, you need to connect your breadboard power supply VCC and GND to the ESP8266 VCC and GND. Also, connect the GND pin of the FTDI converter board to the ESP8266 GND.
Then, connect TX from the FTDI board to RX of the ESP8266 board, and then RX to TX.
Finally, connect the CH_PD (or CHIP_EN) pin of the ESP8266 board to VCC.
Once this is done, simply put the DHT11 sensor on the breadboard.
Then, connect the left pin to VCC (red power rail), the right pin to GND (blue power rail), and the pin next ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.