https://github.com/cedargrovestudios/clock_builder
Modules and libraries for building standalone structured time-based clocks.
https://github.com/cedargrovestudios/clock_builder
circuitpython clock daylight-saving-time real-time-clock
Last synced: 28 days ago
JSON representation
Modules and libraries for building standalone structured time-based clocks.
- Host: GitHub
- URL: https://github.com/cedargrovestudios/clock_builder
- Owner: CedarGroveStudios
- License: other
- Created: 2020-02-05T07:31:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T18:14:04.000Z (about 2 years ago)
- Last Synced: 2025-01-21T08:09:44.542Z (about 1 year ago)
- Topics: circuitpython, clock, daylight-saving-time, real-time-clock
- Language: Python
- Homepage:
- Size: 1.01 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clock_Builder
## A collection of modules and libraries for building standalone RTC clocks.

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.