Skip to content

MatthewPageUK/pico_desktop_clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Pico Desktop Clock with Round LCD

A little desktop clock with round display for Raspberry Pi Pico, or could be coded to do and be anything you want.

  • Acquires current time from NTP
  • Customisable alarms with snooze feature
  • Buzzer to play musical alarms

Latest

  • 9 Feb 2023 - Added boot script to record last known time, update the buzzer and musical tones
  • 21 Jan 2023 - Version 2 - new design, added buttons, buzzer and alarms
  • 20 Jan 2023 - Moved the star movement to core1, added simple alarms, a night mode ready for a light sensor, ASCII art and got the AI to write some comments for me.
  • 30 Dec 2022 - Fixed some time and code issues

Version 2

Sequence.01.mp4

Hardare requirements:

  • Raspberry Pi Pico-W
  • 1.3" SPI Round LCD Screen (240x240)
  • 2 x momentary push buttons (Omron type B3F with long extension)
  • Buzzer

Round LCD 1.3" SPI

https://thepihut.com/products/1-3-spi-colour-round-lcd-240x240-breakout

Pico W

https://thepihut.com/products/raspberry-pi-pico-w

LCD Wiring

  • 3-5V to any 5V or 3V pin
  • CS to GP17
  • SCK to GP18
  • MOSI to GP19
  • DC to GP16
  • BL to GP20
  • GND to any ground pin

Button Wiring

  • Button 1 to GP0
  • Button 2 to GP1
  • GND to any ground pin (3)

Buzzer Wiring

  • Positive to GP15
  • Negative to any ground pin (18)

IMG_20230121_194446

IMG_20230121_203929

Python MModules

Installed MicroPython with Pimoroni graphics via Thonny

https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/modules/picographics

Printing

Printed on an Ender 3 Neo v2 with standard settings and PLA filament. (Nasty top layer)

IMG_20230122_133425

Desktop Clock v2 v10

Bugs

  • Multicore seems to crash alot, especially with the IRQ buttons.. Freeware - use as you wish