Giter Site home page Giter Site logo

martinberlin / colorino_epaper_clock Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 694 KB

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: MIT License

C++ 7.85% C 92.15%
color flexible epaper epaper-spi esp32-arduino

colorino_epaper_clock's Introduction

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

colorino_epaper_clock's People

Contributors

martinberlin avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.