An ESP32 and a 2.9" or 4.2" ePaper Display reads Weather Underground and displays the weather
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ArialRounded.h Add files via upload Apr 12, 2018
ESP32_OWM_Current_Forecast_29_epaper_v7.ino Add files via upload Jun 25, 2018
ESP32_OWM_Current_Forecast_42_epaper_v11.ino Update ESP32_OWM_Current_Forecast_42_epaper_v11.ino Jun 25, 2018
ESP32_OWM_Current_Forecast_75_epaper_v5.ino Removed minor forecast text error Nov 11, 2018
ESP32_OWM_Current_Forecast_75_epaper_v6.ino Updated & support for latest Arduino JSON library Nov 21, 2018
ESP32_OWM_Current_Forecast_75_epaper_v7.ino Improved display, JSON usage Nov 21, 2018
ESP32_OWM_Current_Forecast_75_epaper_v8.ino Update ESP32_OWM_Current_Forecast_75_epaper_v8.ino Jan 1, 2019
ESP32_OWM_Current_Forecast_75_epaper_v8_GxEPD.ino GxEPD version, but needs smaller fonts. Jan 2, 2019
ESP32_OWM_Current_Forecast_Streaming_42_epaper_v1.ino Updated to meet latest JSON library requirements Nov 7, 2018
ESP32_OWM_Current_Forecast_Streaming_75_epaper_v1.ino Updated to match the latest JSON library requirements Nov 7, 2018
ESP32_WU_Current_Forecast_42_epaper_v3.ino Update ESP32_WU_Current_Forecast_42_epaper_v3.ino Jun 25, 2018
IMG_2096b.jpg Add files via upload Jun 11, 2018
Licence.txt Add files via upload Oct 5, 2018
Lolin32_Lite_Wiring.JPG Add files via upload Jul 11, 2018
Lolin32_Wiring.JPG Add files via upload Jul 11, 2018
README.md Update README.md Sep 30, 2018
Schematic.jpg Add files via upload Apr 12, 2018
credentials.h Add files via upload May 27, 2018
moon_icons.h Add files via upload May 21, 2018
owm_credentials.h Add files via upload Jun 25, 2018
owm_credentials2.h Update owm_credentials2.h Jun 25, 2018

README.md

ESP32-e-Paper-Weather-Display

An ESP32 and a 2.9" ePaper Display reads Weather Underground and displays the weather

THERE ARE TWO SETS OF INSTRUCTIONS HERE: WU and OWM

Download the software and install all 3 files in the same sketch folder.

WEATHERUNDERGROUND VERSION

  1. ESP32_WU_Current_Forecast_XX_epaper_vX
  2. credentials.h
  3. ArialRounded.h

Install the libraries required via the Arduino IDE Library Manager, by:

Go to Sketch > Include Library... > Manage Libraries.... Then, for each library, put its name into the text field to have its metadata pulled from the internet and displayed below. Select the latest version and install it. Make sure to come back to this dialog from time to time to keep each library up to date. Also make sure that you only have one version of each of the libraries installed.

  1. 'Mini Grafx' by Daniel Eichhorn
  2. 'ESP8266 WeatherStation' by Daniel Eichhorn (required for additional fonts)

Edit the Credentials tab and enter your network SSID and password in the variable assignment places provided.

Adjust your Country and Town location. You need to select the correct country and city in the Credentials tab.

  1. Find your country here: https://www.wunderground.com/weather-by-country.asp

  2. Click on your Country and then it shows you all available City's that WU has data for, there are a lot...

  3. Or you can browser the Weather Underground map and choose a station from on the map. There are many PWS too that increase the volume of data available.

Go to the Main tab and choose your Units display format, set to either 'M' for Metric or 'I' for Imperial

Go to the time Setup function near the end of the programme and adjust your time zone to suit your location, there is a link to the list of avialable time zones.

UK is typically 'GMT0BST,M3.5.0/01,M10.5.0/02' the 5 denotes the last Sunday in the month of 3 which is March and 10 October

OPEN WEATHER MAP VERSION

This version requires *** Arduino JSON v5.13.2 ***

Go to Sketch > Include Library... > Manage Libraries.... Then, for each library, put its name into the text field to have its metadata pulled from the internet and displayed below. Select the latest version and install it. Make sure to come back to this dialog from time to time to keep each library up to date. Also make sure that you only have one version of each of the libraries installed.

'Mini Grafx' by Daniel Eichhorn 'ESP8266 WeatherStation' by Daniel Eichhorn (required for additional fonts) Download the software and install all 3 files in the same sketch folder.

  1. ESP32_OWM_Current_Forecast_29_epaper_vX always choose the latest version ESP32_OWM_Current_Forecast_42_epaper_vX always choose the latest version ESP32_OWM_Current_Forecast_75_epaper_vX always choose the latest version

  2. owm_credentials2.h

  3. ArialRounded.h

Obtain your OWM API key - it's free

  1. Edit the owm_credentials2.h file in the IDE (TAB at top of IDE) and change your Language, Country, choose your units Metric or Imperial and be sure to find a valid weather station location on OpenWeatherMap, if your display has all blank values your location does not exist!.

OPEN WEATHER MAP VERSION - STREAMING JSON

This version requires *** Arduino JSON v6 or above *** it streams the Openweather and processes the data as received, rather than downloading all the data first, then decoding it. It uses a lot less memory this way.

Go to Sketch > Include Library... > Manage Libraries.... Then, for each library, put its name into the text field to have its metadata

NOTE: See schematic for the wiring diagram, all displays are wired the same, so wire a 7.5" the same as a 1.54" or 2.9" display!

Compile and upload the code - Enjoy!

alt text