Summary of DS1307 RTC Module
The DS1307 module is a low-power serial real-time clock (RTC) featuring full BCD timekeeping, calendar functions with leap-year correction, and 56 bytes of NV SRAM. It communicates via an I²C bus, supports both 24-hour and 12-hour formats, and includes automatic power-fail detection to switch to a backup supply seamlessly. The device consumes less than 500nA in battery mode and offers a programmable square-wave output.
Parts used in the DS1307 RTC Module Project:
- DS1307 Serial Real-Time Clock
- I²C Bidirectional Bus Interface
- 56-Byte NV SRAM
- Battery Backup Supply
- Power-Sense Circuit
- Oscillator
- Square-Wave Output Signal
The module based on DS1307, The DS1307 serial real-time clock (RTC) is a low-power, full binary-coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. Address and data are transferred serially through an I²C, bidirectional bus. The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with AM/PM indicator. The DS1307 has a built-in power-sense circuit that detects power failures and automatically switches to the backup supply. Timekeeping operation continues while the part operates from the backup supply.
Specifications
- Supply 5V DC
- Completely Manages All Timekeeping Functions
- Real-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100
- 56-Byte, Battery-Backed, General-Purpose RAM with Unlimited Writes
- Programmable Square-Wave Output Signal
- Simple Serial Port Interfaces to Most Microcontrollers
- I2C Serial Interface
- Low Power Operation Extends Battery Backup Run Time
- Consumes Less than 500nA in Battery-Backup Mode with Oscillator Running
- Automatic Power-Fail Detect and Switch Circuitry
Schematic
For more detail: DS1307 RTC Module
- What does the DS1307 module provide?
It provides seconds, minutes, hours, day, date, month, year information, and 56 bytes of NV SRAM. - How does the module handle power failures?
A built-in power-sense circuit detects failures and automatically switches to the backup supply. - Does the DS1307 support leap years?
Yes, it automatically adjusts end-of-month dates including corrections for leap years up to 2100. - Can the module operate in 12-hour format?
Yes, it operates in either 24-hour or 12-hour format with an AM/PM indicator. - What interface does the module use for data transfer?
Address and data are transferred serially through an I²C bidirectional bus. - How much power does it consume in battery-backup mode?
It consumes less than 500nA in battery-backup mode with the oscillator running. - Is there a programmable signal output on this module?
Yes, it features a programmable square-wave output signal. - How many bytes of RAM does the module contain?
The module contains 56 bytes of general-purpose RAM with unlimited writes.
