Skip to content

A very easy deepsleep clock using PlasticLogic 6 color Legio epaper. Simply makes an internet Sync a day and stores the time in NVS

License

Notifications You must be signed in to change notification settings

martinberlin/colorino_epaper_clock

Repository files navigation

PlasticLogic flexible color deepsleep clock

A very easy deepsleep clock ported from an ESP-IDF example to Arduino. It uses Plastic Logic 2.1" Legio flexible color epaper display. Simply makes an internet Sync a day and stores the time in NVS. Each X minutes, defined in global variable sleepMinutes, it wakes up and retrieves the date from NVS just to add this minutes rendering the display and repeating the process.

preview

This sketch uses Robert Poser PL_microEPD library added locally with custom modifications. As it is right now the clock will only use monochrome 4 levels of gray. To achieve colors in the display, we need to switch to the PlasticLogic PL_smallLegio C++ class, which talks with UC8156 to use different voltages for each of the 5 available colors (6th is white)

preview colorino-clock

Requirements

Latest Arduino-esp32 added in Arduino IDE -> Preferences -> Additional board URLS

 https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Configuration

Simply open the colorino_epaper_clock.ino in Arduino IDE and set up points 1 to 3:

  • 1 Edit in Pl_microEPD.h the right EPD_WIDTH / EPD_HEIGHT for Adafruit GFX instantiation (As default 2.1" size: 240*146)
  • 2 Update the ESP_WIFI* Credentials so it can connect to the internet
  • 3 Flash with forceSync=true on first run so the right time is stored in NVS

About

A very easy deepsleep clock using PlasticLogic 6 color Legio epaper. Simply makes an internet Sync a day and stores the time in NVS

Topics

Resources

License

Stars

Watchers

Forks