DS1302 is a DALLAS company that launched a trickle charge clock chip, containing a real-time clock/calendar and 31 bytes of static RAM, communicating through serial interface simple and single-chip microcomputer. The real-time clock/calendar circuit provides seconds, hours, days, weeks, months, years of information, a number of days in the month, and a leap year can automatically adjust. The clock operation instructions through the AM/PM decided to use 24 or 12-hour format.
Between DS1302 and single-chip microcomputer can simply use synchronous serial communication method, only three lines:
(2) I/O reset the data line
(3) SCLK serial clock.
Clock /RAM read/write data to a byte character set or as many as 31-byte communication. DS1302 work power consumption is very low to keep the data and clock information when power is less than 1mW
1 x Real-Time Clock Module with Battery DS1302