deba168‘s new instructable is a weather widget: “an application that can be downloaded on your PC, laptop or a mobile device and perform the job of providing easy access to weather information”
It’s an ESP8266 based weather display unit which retrieves localized weather information from http://www.wunderground.com by WLAN and displays it on a 128×64 OLED display. It displays the current time with date, some weather information like temperature, pressure, humidity and rainfall, and finally the forecasting for the next 3 days.
Check this demo video:
In order to build this project you need the following parts:
- ESP8266 -01 (eBay )
- Optional NodeMCU ESP8266-12 ( eBay )
- OLED Display (eBay )
- Voltage Regulator AMS1117 ( eBay )
- Tactile Switch (eBay )
- Slide Switch ( eBay )
- Resistors ( 10K and 330R )
- Female Double Row Straight Pin Header ( eBay )
- Male Double Row Right Angle Pin Header ( eBay )
- Jumper Wires ( eBay )
- Prototype Board ( eBay )
You can build the circuit as per the design below on a prototype board or a PCB:
For programming you have to use these files:
Arduino Code: ESP8266 Weather Station
The project’s maker advises you to follow his steps in the code inside this zip file to avoid any problems in compiling.
For obtaining data from the Weather Underground , you need to get an API key through signing up in the website and purchasing one. Once you clarify that you won’t use it for commercial use, you won’t be asked for any pay methods.
To make sure that the code will work correctly, you have to change the following things.
- Enter the Wunderground API Key
- Enter your Wifi credentials
- Adjust the location according to Wunderground API
- Adjust UTC offset
The final step will be programming the ESP8266 module using FTDI programmer.
Check this video for more information and to see the project in action:
You can check the instructable page for more information and detailed tutorial.