Skip to content

rhuwald/Wordclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordclock Pro

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 FÜNF MINUTEN NACH VIER".

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 3 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 (press 5 times within 2 seconds to delete the Wi-Fi DNS and API key configuration)

Hardware

  • Raspberry Pi Pico, Pico 2 or Pimoroni Pico Plus 2W (with more RAM/Flash for longer sound recordings)
  • 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 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 Links for a sample)
  • 5V power supply
  • Soldering iron

Installation

  1. Solder the Pico, female headers, male header and the short-stroke push buttons onto the circuit board (short-stroke push buttons on the back!).
  2. Solder the male header onto the amplifier (SO and GAIN shall not be connected). The mono amplifier has to be soldered upside down (error in my circuit board layout).
  3. Print the housing with a 3D printer.
  4. Attach the circuit board to the e-paper display using the standoffs and screws.
  5. Install the circuit board in the housing.
  6. Obtain the API key from Free Time Zone Database & API.
  7. Copy all files to the Pico (e.g., using Thonny).
  8. Start wordclock.py (e.g., using Thonny).
  9. 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.
  10. In order for the word clock to start automatically, the file wordclock.py on the Pico must be renamed to main.py

Links


** This Text was generated with https://translate.google.com **

About

Wordclock powered by Raspberry Pi Pico and Waveshare e-paper 3.7"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors