Tweeting data from the ESP8266 board
This recipe will look at how to tweet sensor data directly from the ESP8266 board. To show you how to do it, we are going to use an ESP8266 board to tweet temperature readings from the DHT11 sensor, through the Temboo platform.
Getting ready
The hardware setup will require the following components:
- ESP8266 board
- USB cable
- 1 kΩ - 10 kΩ photocell (https://www.sparkfun.com/products/9088)
- 1 kΩ resistor
- Breadboard
- Jumper wires
Mount the ESP8266 board onto the breadboard. Then connect one leg of the photocell to the 3V pin of the ESP8266 board and the other leg to the 1 kΩ resistor. Connect the 1 kΩ resistor's other leg to the GND pin of the ESP8266 board, so that the photocell and resistor make a voltage divider circuit. ...
Get ESP8266 Internet of Things Cookbook 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.