Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a demo-sleep-clock.cpp example #8

Closed
4 tasks done
martinberlin opened this issue Jun 30, 2020 · 2 comments
Closed
4 tasks done

Make a demo-sleep-clock.cpp example #8

martinberlin opened this issue Jun 30, 2020 · 2 comments
Assignees
Projects

Comments

@martinberlin
Copy link
Owner

martinberlin commented Jun 30, 2020

Simple example to make an epaper clock that will initially make a request to internet to get the time. And then will update every N minutes refreshing the epaper display.
The objective of this is just to make an additional epaper demo and have some fun along the way. By no means this will be a precise clock!

  1. If is 00 hours or there is a IO button low force internet sync time
  2. Wakeup and increment the clock. Render super fast updating only that part of the epaper
  3. Keep hour / minute in the EPROM
  4. Go to deepsleep N minutes -> Repeat 1

1 day sprint. Max 2 days including release. Pending list:

  • Add zero padding to digits <9 - Wrong should be of course when <10
  • Add internet internet time sync with https://github.com/martinberlin/cale-api
  • Add partial refresh to this display test model ( Gdew027w3 )
  • Correct leading 0s in updateClock() since is <9

esp32-epaper-clock

martinberlin added a commit that referenced this issue Jun 30, 2020
martinberlin added a commit that referenced this issue Jun 30, 2020
martinberlin added a commit that referenced this issue Jul 2, 2020
… can be 24 or 48 as the main digital clock HH:MM size
martinberlin added a commit that referenced this issue Jul 5, 2020
martinberlin added a commit that referenced this issue Jul 6, 2020
…st to callibrate the deepsleep time using microseconds (At this test 0.1 seconds are summed)
@martinberlin
Copy link
Owner Author

Add a state text in case it cannot connect to the Internet.
It should keep on working and just mark the hour as updated leaving a message "Could not connect to WiFI" only till next refresh.

martinberlin added a commit that referenced this issue Jul 19, 2020
@martinberlin martinberlin added this to Done in CalEPD Jul 27, 2020
@martinberlin martinberlin self-assigned this Jul 27, 2020
@martinberlin
Copy link
Owner Author

It's done and so far working as a wristwatch since months. The connect to internet still happens to block it, will add it later but it was just a demo so it's not high priority. Thanks for all the attention on this one!

martinberlin added a commit that referenced this issue Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
CalEPD
  
Done
Development

No branches or pull requests

1 participant