Skip to content

Weather precipitation graph using Lilygo T5 2.13" ESP32 E-paper screen

Notifications You must be signed in to change notification settings

kamerat/Epaper-Rain-Graph

Repository files navigation

Lilygo-T5 Rain graph

Weather precipitation graph using Lilygo T5 2.13" ESP32 E-paper screen. This project displays a precipitation forecast for the next 90 minutes using data from YR.no.

drawing

Hardware Requirements

Software Setup

  1. Install the Arduino IDE from arduino.cc

  2. Add ESP32 board support to Arduino IDE:

    • Open Arduino IDE
    • Go to File > Preferences
    • Add the following URL to the "Additional Boards Manager URLs" field: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    • Go to Tools > Board > Boards Manager
    • Search for "esp32" and install the "ESP32 by Espressif Systems" package
  3. Install required libraries:

  4. Clone/download this repository and rename the folder yr-regn-display

  5. Create a config.h file in the same directory as yr-regn-display.ino based on the example.config.h file

  6. Open the yr-regn-display.ino file in Arduino IDE

  7. Customize your configuration:

    • In the config.h file:
      • Modify the USER_AGENT if desired
      • Set DEBUG to true or false as needed
      • set SHOW_GRAPH_ON_NO_PRECIPITATION to liking
      • set SHOW_BATTERY_INDICATOR to liking
  8. Select the correct board and port:

    • Go to Tools > Board and select "ESP32 Dev Module" or your specific Lilygo T5 board
    • Go to Tools > Port and select the appropriate port for your device
  9. Upload the sketch to your Lilygo T5 device

Usage

Once uploaded, the device will prompt you to connect to Wi-Fi. Once connected, it will fetch precipitation data from YR.no, and display a graph showing the precipitation forecast for the next 90 minutes.

Contributing

Feel free to open issues or submit pull requests to improve this project.

License

This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

Attributions

  • Weather data provided by the Norwegian Meteorological Institute. Used under the CC BY 4.0 license.

About

Weather precipitation graph using Lilygo T5 2.13" ESP32 E-paper screen

Resources

Stars

Watchers

Forks

Packages

No packages published