Arduino Clock @ My working corner

Report 5 Downloads 58 Views
Arduino Clock @ My working corner Abstract: It’s very easy to buy a wall clock with $8 ~ $10. However, I just want to make an Arduino clock and place it at my working corner. All hardware components are bought from aliexpress.com then write several lines of code. Finally, I have a clock as below figure.

Binary value for Second 05 = May (the 5th month, Jun = 6, Jul = 7…..)

(From left to right: Bit1 to Bit8) E.g. 00100000 = 4 seconds

08 = Day (Today: May 08) 18 = hour 13 = minute

TM1638

DS1302 RTC

Arduino UNO

Figure 1 - Arduino clock Wiring: TM1638: STB = PIN10, CLK = PIN9, DIO = PIN8 DS1320: CLK = PIN5, DAT = PIN6, RST = PIN7

Below tool is written by VS2008 which is used to calibrate the clock. Because DS1302 RTC runs faster than standard clock (from internet) about several seconds per day, or RTC is reset due to out of battery How to use: Select COM port for Arduino clock -> Select Baud rate (default = 9600) -> Click Connect -> Click Sync

Figure 2 - Time Calibration Tool