Posting temperature and humidity data to Twitter

In this second project of the chapter, we are going to see how to actually post measured data on your Twitter account.

We first need to configure the ESP8266 module, which means building the hardware with the DHT11 sensor.

Simply place the ESP8266 board on your breadboard, and then place the DHT11 sensor next to it. Connect the first pin of the DHT11 sensor to the VCC pin of the ESP8266, the second pin to pin 5 of the ESP board, and finally the last pin of the sensor to one GND pin of the ESP board.

This the final result:

Posting temperature and humidity data to Twitter
  1. Now, we need to register an application with Twitter before we can create new tweets ...

Get Internet of Things with ESP8266 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.