Skip to content

samcorky/pico-clock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pico Clock

A 7 segment display based clock powered by the RPI pico. Modular in terms of what data is on display based on displays connected. Also variety of precision time sources to ensure the time displayed is accurate and future plans to create a portable NTP server with high accuracy and precision.

Button controls display brightness.

Development

A pico w or pico 2 w board should be compatible and sufficient. Ensure it is on recent firmware as it relies on asyncio. Development is on: v1.27.0

Hardware

Build

Connect the pico 3v3 out and ground to display's power and I2C output to display's I2C input. Default is GPIO 0 and 1, but is configurable in config.py Each display has a separate function denoted by it's I2C address. The address is configured by connecting solder pads: Datasheet To save you frustrating googling for specific pinout from the datasheet vagueness, the pinout looking down on the display from above - left to right is: +3.3v, Gnd, Clock, Data. You can reverse polarity safely to just guess, ask me how I know...

"hour_min": 0x70 "status": 0x71 "seconds": 0x72 "day_month": 0x73 "year": 0x74

Connect an optional button to a GPIO for display brightness/off toggle and configure the GPIO in config.py.

Looks a bit like this: pico_clock

Code

Copy src folder to pico, review config file and then restart to execute main.py.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%