This Arduino code controls the ATMEGA328 chip on the PCB board that controls the 24 LED strips of the Word Clock Attached to this PCB are: - RCT DS3231 ZS-042 clock module - KY-040 Keyes Rotary Encoder - LDR light sensor 5528 - Bluetooth RF Transceiver Module HC05 - DCF77 module DCF-2 - FM Stereo Radio Module RDA5807M RRD-102V2.0 A 74HC595 ULN2803APG combination regulates the LEDs by shifting in bits into the 74HC595 to turn On or Off the LEDs A FT232RL 5.5V FTDI USB to TTL Serial Module can be attached to program the ATMEGA and read the serial port The HC05 Bluetooth module is used to read and write information or instructions to the clock The DCF77 module can be attached to adjust the time to the second with German longwave time signal received by the module The FM-module can be used to read the RDS-time from radio station or to play FM-radio station from within the clock
Basic program
Character_Clock_V065_KlokZW-rotary.ino
Bluetooth and temperature added
Character_Clock_V076_KlokZW-rotary-BT-Temp.ino
Coding to read time from RDS signal with a FM-radio
module
Character_Clock_V079_KlokZW-BT-FM.ino
Added Atom clock DCF77 signal receiver software
Character_Clock_V081_ZW-BT-FM-DCF.ino
Added English front possibility and #ifdef to increase
Arduino memory
Character_Clock_V090_ZW-BT-FM-DCF.ino
--> plain source
code
The following Arduino code controls both the ATMEGA328 and ATMEGA1284 chip on the PCB board capable of switching on/off 32 LED strips or relais Attached to this PCB are: - RCT DS3231 ZS-042 clock module - KY-040 Keyes Rotary Encoder - LDR light sensor 5528 - Bluetooth RF Transceiver Module HC05 - DCF77 module DCF-2 - FM Stereo Radio Module RDA5807M RRD-102V2.0 - I2C TWI 1602 16x2 Serial LCD Display - Red_MAX7219_8-Digit_LED_Display - temperature sensor Dallas DS1820 A 74HC595 ULN2803APG combination regulates the LEDs by shifting in bits into the 74HC595 to turn On or Off the LEDs A FT232RL 5.5V FTDI USB to TTL Serial Module can be attached to program the ATMEGA and read the serial port The HC05 or HM-10 Bluetooth module is used to read and write information or instructions to the clock The DCF77 module can be attached to adjust the time to the second with German longwave time signal received by the module The FM-module can be used to read the RDS-time from radio station or to play FM-radio station from within the clock
Stable version for Arduino ATMEGA
328 and 1284 processor and LCD support
Character_Clock_V098_328-1284_ZW-BT-FM-DCF.ino
Latest stable version for word clock with white LEDs
Time can be change for max 60 sec after shaft is pressed.
Character_Clock_V108_328-1284_ZW-BT-FM-DCF.ino
Character_Clock_V112.ino Libraries: librariesV112.zip
Laatste versie V113 incl libraries
Op Github
More info? Email
Ed Nieuwenhuys 26 nov 2021
(©2021)