Posting the sensor data online
Using the ESP8266, you can log sensor data to online servers for monitoring and control purposes. In this recipe, we will be looking at how to do that. We will use an ESP8266 board to post and store sensor data on dweet.io
.
Getting ready
To do this tutorial, you will need an ESP8266 board and a USB cable among several other things, which include:
Soil moisture sensor (https://www.sparkfun.com/products/13322)
220 Ω resistor
100 Ω resistor
10 kΩ resistor
Breadboard
Jumper wires
The hardware setup will resemble the one in the previous recipe.
In addition to setting up the hardware, you will set up the online platform where the sensor data will be posted. Luckily the platform we are using, dweet.io
, is simple to use and requires no setup or signup. All you need to do is choose a name for your thing, which in this case is your ESP8266, then you can start publishing data to dweet.io
.
How to do it…
Posting data to dweet.io
is simple...