Hi, this is my simple project with binary clock. There is used Arduino mega 2560 and RTC DS1302.
Program work with Arduino UNO (Atmega328P) too - tested! But only need chagne the pin conection, for UNO :
RTC is unchanged - myRTC(7, 6, 5); // CLK, DATA, RST
Outputs column pins for LEDs - "LED 1"= pin 8; "LED 2"= pin 9; "LED 4"= pin 10; "LED 8"= pin 11; "LED 16"= pin 12; "LED 32"= pin 13;
Outputs for rows is unchanged - 2 green seconds, 3 yellow minutes and 4 red hours.
HEX file for MCUs and DS1302 is uploaded.
19.2.2019 - new firmware for UNO, added set up/down buttons on A0-A3 (connect Ax
I wish many fun! :-)
BinClock-Mega2560_FW.zip | 15.5KB | |
binclock_M328P.hex | 8.0KB | |
binclock_mega2560.hex | 9.5KB | |
binclock_stand.STL | 109.8KB | |
binclock_UNOm328_DS1302_19022019.ino | 3.1KB | |
bin_clock_LED_driver.zip | 89.1KB | |
bin_clock_panel.STL | 934.1KB |