Wordclock based on a Raspberry Pi Pico with a Waveshare 3.7" e-paper display and a MAX 98357A mono amplifier. The Wordclock displays the current time in German every minute on the 3.7" e-paper display. For example, "ES IST GENAU FÜNF MINUTEN NACH ACHT".
There is a light and dark mode that can be set in the wordclock.py code:
# Night_Mode is white text on a black background (e.g., for nighttime)
Night_Mode_Hours = False
# Night_Mode_Hours = True
# Night_Mode_Hours = (18,19,20,21,22,23,0,1,2,3,4,5)The clock is synchronized twice a day with an RTC: at 2:00 AM and 3:00 AM (due to daylight saving time issues)...
The four buttons have the following functions:
- Button 1 announces the current time
- Button 2 plays one of the available SCP fan chants
- Button 3 is used to reset the Wi-Fi connection required (pressing 5 times within 2 seconds deletes the Wi-Fi DNS and API key configuration)
- Button 4 is currently not used in the program and can be used for other purposes
- Raspberry Pi Pico, Pico 2 or Pimoroni Pico Plus 2W (with more RAM/Flash for longer sounds)
- Waveshare e-paper display 3.7", 480 x 280 pixels
- 3-watt, 8-ohm speaker
- MAX 98357A mono amplifier
- 2 x 20-pin female header, 1 x 8-pin female header
- 1 x 8-pin angled male header
- 3 or 4 short-stroke pushbuttons (approx. 6x6x9mm), ideally with caps in club colors (black, white, green)
- 4 x 2.5mm screws
- 4 x 2.5mm standoffs, approx. 30mm long
- Circuit board (see sample in files)
- 5V power supply
- Soldering iron
- Solder the Pico, pin headers, and short-stroke push button onto the circuit board (short-stroke push button on the back!).
- 3D print the housing.
- Attach the circuit board to the e-paper display using the standoffs and screws.
- Install the circuit board.
- Obtain the API key from Free Time Zone Database & API.
- Copy all files to the Pico (e.g., using Thonny).
- Start wordclock.py (e.g., using Thonny).
- The Wordclock requires a Wi-Fi connection and an API key for time synchronization. The configuration is saved in the file wordclock.conf. If no Wi-Fi connection or time can be determined, a Wi-Fi hotspot WORDCLOCK starts automatically. The configuration (SSID, password, API key) can be entered there.
- In order for the word clock to start automatically, the file wordclock.py on the Pico must be renamed to main.py
- Raspberry Pi Pico-series
- Pimoroni Pico Plus 2W
- Waveshare 3.7" e-paper display
- Free Time Zone Database & API
This text was translated using google translate.