This was a fun and interesting project built from a kit by Ideaspark. It teaches you, not only how to push data to the web using an ESP8266, but also how to retrieve data from an API and parse the resulting JSON.
I built this project back in April-May of last year. I actually posted it as the Project of the Month. I got some good feedback from others who built it along with me.
As the name implies, the brains of the project is an ESP8266 microcontroller. The weather station senses local values for temperature, humidity, barometric pressure, and ambient light and uploads the data to ThingSpeak. At the same time, it also grabs weather data and 3 day forecast from the web by calling the OpenWeathermap API and outputs it on to small OLED display.
The kit includes all parts needed for the weather station:
- ESP8266-12E Microcontroller w/ builtin WiFi
- DHT11 Humidity and Temperature sensor
- BMP180 Barometric Pressure sensor
- BH1750FVI Ambient Light sensor
- SSD1306 OLED Display
- USB cable
You'll have to setup accounts on ThingSpeak and OpenWeather in order to complete the project. But, if you're interested in IoT like I am, you'll be happy to learn more about those sites. Here's a sample screen shot of my data.
I really enjoyed building this weather station and I learned a lot about IoT along the way. If you build the kit, please post your results in the comments below!