Skip to content

Instructions to build a pico-based digital clock showing the time, date and day of the week.

Notifications You must be signed in to change notification settings

chriskalv/picoClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

picoClock

Instructions to build a pico-based digital table clock showing the

  • time
  • date and
  • day of the week.

The code is entirely micropython-based and pulls time data from the internal RTC chip - an internet connection is not needed. Assembly of the device is really easy and even solder-free in case you have a pre-soldered Raspberry Pi Pico.

Assembled picoClock

Functionality

  • Button A: Adjust brightness (down).
  • Button B: Switch language of the displayed day of the week (German, English, Spanish and French are available).
  • Button X: Adjust brightness (up).
  • Button Y: Show/hide seconds in the time display.

Hardware

Setup

  1. Flash the custom Pimoroni Pico MicroPython build onto the board, which already includes the display driver. You can find it here. Future releases will probably also work to some degree, but I cannot give any guarantees. For this build, v1.19.2 was used.

    • Download the pimoroni-pico-v[...]-micropython.uf2 file.
    • Push and hold the BOOTSEL button while you plug your Pico into the USB port of your computer. Once plugged in, release the button.
    • The Pico will mount as a mass storage device called RPI-RP2.
    • Drag and drop the downloaded file into the RPI-RP2 volume.
  2. Download and install Thonny, open it, click Run --> Select interpreter and choose MicroPython (Raspberry Pi Pico). This will establish a shell connection to your device.

  3. Copy main.py over to your device.

  4. If you want, you can choose to display "Happy B-Day" instead of the day of the week on one day of the year. Just edit the Global Settings at the top of the script in order to do so.

  5. To set the clock, enter your current time, day of the week and date in line 242, uncomment the line and execute it once. After that, comment the line out again and save the script. Your clock has now been set.

Case

I did not make a specific case for this build, but this one from another build uses the same hardware and should fit fairly well.

About

Instructions to build a pico-based digital clock showing the time, date and day of the week.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages