CedarGroveStudios / Clock_Builder

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Other


Languages

Language:Python 100.0%