SparkFun Real Time Clock Module
Let your project keep track of time even when it loses power.
- Two wire I2C interface.
- Hour : Minutes : Seconds AM/PM.
- Day Month, Date - Year.
- Leap year compensation.
- Accurate calendar up to year 2100.
- Battery backup included.
- 1 Hz output pin.
- 56 Bytes of Non-volatile memory available to user.
- 0x68 I2C Address.
This is the SparkFun Real Time Clock (RTC) Module. This little breakout uses the DS1307 to keep track of the current year, month, day as well as the current time. The module comes fully assembled and pre-programmed with the current time (MST) and includes a small CR1225 Lithium coin cell battery that will run the RTC for a minimum of 9 years (17 years typical) without an external 5V power supply.
The DS1307 RTC is accessed via the I2C protocol. A test-bed was written to program the modules; this code should give you some insight on how to interface the module to any microcontroller using the example software I2C and BCD routines.
This rev of the Real Time Clock module finally adds I2C resistors and a larger battery pad to fix the problems with the battery shorting to the board.