Skip to content

Modules and libraries for building standalone structured time-based clocks.

License

Notifications You must be signed in to change notification settings

CedarGroveStudios/Clock_Builder

Repository files navigation

Clock_Builder

A collection of modules and libraries for building standalone RTC clocks.

Clock_Builder

The examples folder contains primary methods for PyBadge, FeatherM4 w/LED display, and a REPL-only clock.

This library and examples are compatible with CircuitPython 5.0.0 and newer.

Clock_Builder currently supports:

Real-time clock modules:

  • Adafruit DS3231 RTC

Displays:

  • CircuitPython REPL, including time setting function (tested with PyBadge, ItsyBitsyM4Express, and FeatherM4Express)
  • Adafruit 4-digit 7-segment single-color LED displays (only tested on 1.2" HT16K33 backpack with FeatherM4Express)
  • Adafruit 4-digit 14-segment single-color LED displays (tested with FeatherM4Express)
  • PyBadge and EdgeBadge DisplayIO-based TFT display, including time setting function (tested with PyBadge)

Time Setting:

  • Time setting for the PyGamer is through the standard on-device buttons.
  • Time setting for the FeatherM4Express is via a rotary encoder connected to pins D5, D6, D9, and GND.
  • REPL time setting via USB using Python's input() statement is supported.

Sound:

  • Sound output for the PyGamer is through the integrated speaker.
  • Sound output for the FeatherM4Express is via a piezo speaker attached to GPIO pin 13 and GND.
  • REPL sound is simulated.

Future support is planned for OLED displays and GPIO-connected time setting buttons.

See the CedarGroveStudios/Unit_Converter repository for a compatible automatic North American Daylight Saving Time method.

About

Modules and libraries for building standalone structured time-based clocks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages