Advertisement

appnote

#DS1307 #RTC #real-time clock #I2C #timekeeping #BCD #low-power #nonvolatile SRAM #clock/calendar #leap-year compensation

DS1307 Serial Real-Time Clock (RTC) Technical Summary

Overview

The DS1307 is a low-power, full Binary-Coded Decimal (BCD) clock/calendar with an integrated 56-byte nonvolatile SRAM. This component communicates via a 2-wire bidirectional I²C bus, making it an ideal solution for timekeeping applications requiring minimal power consumption and simple interfacing. The DS1307 provides accurate timekeeping with seconds, minutes, hours, day, date, month, and year information, including automatic leap-year compensation up to the year 2100.

Key Features

Applications

The DS1307 is widely used in applications requiring accurate timekeeping and data storage, including:

Electrical Characteristics

The following table summarizes the key electrical specifications of the DS1307:

Absolute Maximum Ratings

DC Electrical Characteristics

AC Electrical Characteristics

Functional Description

The DS1307 operates as a slave device on the I²C bus, responding to commands from a master controller. The timekeeping registers are updated automatically, and the device can operate in either 12-hour or 24-hour format. The 56-byte SRAM is accessible for general-purpose storage and retains data during power loss when connected to a backup battery.

Timekeeping Registers

The DS1307 includes the following timekeeping registers (all in BCD format):

Control Register

The control register (address 0x07) configures the square-wave output (SQW/OUT pin) and enables/disables the oscillator. Key bits include:

Package Information

The DS1307 is available in an 8-pin PDIP or SOIC package. The pinout is as follows:

Mechanical Dimensions

Conclusion

The DS1307 is a versatile and reliable real-time clock solution for embedded systems, offering low power consumption, nonvolatile storage, and easy I²C interfacing. Its robust feature set and wide operating temperature range make it suitable for a broad range of applications requiring precise timekeeping and data retention.

Similar Components
TIL193 – Datasheet Preview
TIL193
These optocouplers consist of one gallium-arsenide light-emitting diode and one silicon npn phototransistor per channel. The TIL191 has a single channel in a 4-pin package, the TIL192 has two channels…
DAC08 – Datasheet Preview
DAC08
The DAC08 series of 8-bit monolithic digital-to-analog convert- ers provide very high-speed performance coupled with low cost…
MAX111 – Datasheet Preview
MAX111
The MAX110/MAX111 analog-to-digital converters (ADCs) use an internal auto-calibration technique to achieve 14-bit resolution plus overrange, with no exter-…
04 50Y – Datasheet Preview
04 50Y
QUICK REFERENCE DATA Monolithic temperature and SYMBOL PARAMETER MIN.…
CNY21 – Datasheet Preview
CNY21
The CNY21Exi consists of a phototransistor optically coupled to a gallium arsenide infrared emitting diode in…
TIL302X – Datasheet Preview
TIL302X
Each device consists of a gallium-arsenide infrared-emitting diode optically coupled to a silicon phototriac mounted on a 6-pin lead frame encapsulated within an electrically nonconductive plastic com…