That project is a weather station (getting data from openweathermap.org) displayed on an e-ink screen.
The main advantage of using an eink screen is that display stays, even if esp32 is powered down. So the ESP32 is waking up, fetch weather data, update screen and sleeps for one hour. Also, refresh is stopped from around midnight to 6 a.m.
Here’s the hackaday project page including pictures.
Hardware components are :
- Waveshare Universal e-Paper Raw Panel Driver Board ESP32 WiFi/Bluetooth control
- 2.7inch e-Paper (B) 264x176, raw display, three-color, SPI interface
Optionally, it can also fetch local temperature from an Oregon Scientific sensor using an RF module 433Mhz connected to PIN 5 (and update parameters.h by uncommenting a line). Thanks to wonderful ErriezOregonTHN128 library !
use Board "ESP32 Dev Module" to build with Arduino IDE.
Use GxEPD2 in version 1.4.9 (compilation error for that screen with version 1.5.x)
Copy parameters.h.dist
to parameters.h
and update it with your wifi settings and update the URL (you need to change lat/lng and set your OpenWeatherMap API token).
I’m using the nice GxEPD2 library from ZinggJM. Thanks
- https://openweathermap.org/api/one-call-api
- create an account and an API KEY
Icons are official icons from OpenWeatherMap.
To be able to open them correctly in GxEPD2, I convert them using LCD Assistant with byte orientation set to horizontal and big endian settings. It can be opened via wine (by adding 32 bits architecture).
Fonts are from Adafruit-GFX-Library-fontconvert project.