Skip to content

Collection of Arduino sketches for creating an epaper based clock or calendar.

License

Notifications You must be signed in to change notification settings

henryleach/arduino-epaper-calendar

Repository files navigation

Arduino ePaper Clock Calendar Sketches

Collection of four sketches for creating an e-paper (e-ink) clock or calendar with an Arduino (Uno or Nano) and a Waveshares 2.9” e-paper screen.

Wiring

All the sketches assume the Arduino is wired as follows:

DS3231Header Wire ColourArduino
SCLA5
SDAA4
VCC5V
GNDGND
SQWD2, for interrupt alarm, set with wakeUpPin()
Screen
BUSYPurpleD7
DCGreenD8
RSTWhiteD9
CSOrangeD10
DINBlueD11
CLKYellowD13
VCCGrey3.3V
GNDBrownGND
Arduino GNDD4 (Optional, connect to add 1 hour for daylight savings)

GxEPD2_with_two_fonts

Requires:

Test the GxEPD2 library for displaying graphics on the e-paper screen. Specifically showing how to use two different fonts on the same display.

See article Arduino E-paper Screen for more details.

sleep_wake_with_rtc

Requires:

Use a DS3231 Real Time Clock module’s alarm function, and the low-power library to put the Arduino to sleep, and then wake it again.

See article Arduino & Real-Time Clock for more details.

epaper_clock

Requires:

Displays the time, and date, on the e-paper screen, updating every minute. Puts the Arduino to sleep in between.

Use the SetSerial example sketch from the DS3232RTC Library (File -> Examples -> DS3232RTC -> SetSerial).

If you need to adjust between winter and summer time (plus 1 hour) set the time to winter time, then connect GND to pin D4, this will add 1 hour to the displayed time.

epaper_weekday_calendar - In Progress

Shows the day of the week in large letters across the top, and the date below in a smaller font. Updates daily at midnight, sleeps the Arduino in between.

About

Collection of Arduino sketches for creating an epaper based clock or calendar.

Topics

Resources

License

Stars

Watchers

Forks