
1 / 5 · Click to enlarge
AI Summary
The DS1307Z is a SOIC-8 real-time clock IC with I2C interface and 56 bytes of battery-backed SRAM. It keeps accurate time and date with automatic leap-year compensation and power-fail switchover.
Key Highlights
- Tracks seconds, minutes, hours, day, date, month, and year
- I2C serial interface for easy microcontroller connection
- 56 bytes of battery-backed NV SRAM for data storage
- Automatic power-fail detect and backup supply switchover
- Operates from 4.5V to 5.5V supply
- Compact SOIC-8 surface-mount package
Ideal For
- Electronics hobbyists building microcontroller projects
- Embedded systems developers needing reliable timekeeping
- IoT device designers adding timestamps
- Students learning about RTC and I2C communication
Buying Tip
Remember to order a 32.768kHz crystal and a backup battery separately, as they are not included.
Elecvora expert review
Our verdict
The DS1307Z is a dependable, well-known RTC IC that offers straightforward timekeeping and extra SRAM in a tiny package. It is a solid choice for hobbyists and professionals who need a simple I2C-based clock solution.
AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.
Pros
- Simple I2C interface reduces wiring complexity
- Integrated 56-byte SRAM for data storage
- Automatic power-fail switchover ensures continuous timekeeping
- Compact SOIC-8 package saves board space
Cons
- Requires an external crystal and backup battery, which are not included
- Operating temperature range limited to 0°C to 70°C, not suitable for harsh environments
- Only supports 5V supply, not directly compatible with 3.3V systems without level shifting
Best for
Microcontroller projects needing accurate timekeeping and small data storage
Not ideal for
Applications requiring industrial temperature range or 3.3V operation
Specifications
| Manufacturer | Generic |
|---|---|
| Case/Package | SOIC 8 |
| Min Supply Voltage | 4.5 |
| Max. Supply Voltage (V) | 5.5 |
| Product Type | Real Time Calendar and Clock |
| IC Interface Type | I2C |
| Operating Temperature (°C) | 0 to 70 |
| Dimensions (L x W x H) mm | 4.5 x 2.2 x 1.5 |
| Mounting Type | SMD/SMT |
| Shipping Weight | 0.001 kg |
| Shipping Dimensions | 1 × 1 × 1 cm |
What's in the box
- 1 x DS1307Z SOIC-8 RTC IC
Frequently Asked Questions
What is the difference between DS1307Z and DS1307N?
Does the module come with a battery?
Can I use this with a 3.3V microcontroller?
What crystal frequency does it need?
Is the SRAM retained without power?
Overview
The DS1307Z is a low-power, full binary-coded decimal (BCD) clock/calendar IC that provides accurate timekeeping for embedded systems. It communicates via a bidirectional I2C bus, making it simple to integrate with most microcontrollers. The device includes 56 bytes of non-volatile SRAM, backed by an external battery, for storing critical data during power loss. With automatic power-fail detection and switchover, the DS1307Z ensures uninterrupted timekeeping even when the main supply is removed.
Key Features
- Complete timekeeping: Tracks seconds, minutes, hours, day, date, month, and year, with leap-year compensation valid up to 2100.
- I2C interface: Simple two-wire serial interface for easy connection to microcontrollers.
- Battery-backed SRAM: 56 bytes of general-purpose RAM with unlimited writes, ideal for small data logs.
- Programmable square-wave output: Can generate a square wave for external timing.
- Automatic power-fail detection: Switches to backup supply automatically to maintain timekeeping.
- Low power consumption: Consumes less than 500nA in battery-backup mode with oscillator running.
Specifications Explained
Supply voltage (4.5V to 5.5V): The DS1307Z operates from a standard 5V supply, making it compatible with most 5V logic systems. Ensure your power source falls within this range for reliable operation.
SOIC-8 package: The small-outline integrated circuit package measures just 4.5mm x 2.2mm x 1.5mm, allowing it to fit into space-constrained designs. It is a surface-mount device, suitable for automated assembly.
Operating temperature (0°C to 70°C): This commercial temperature range covers typical indoor applications. Avoid exposing the device to extreme temperatures outside this range.
I2C interface: The two-wire interface uses SDA and SCL lines, requiring pull-up resistors. The DS1307Z supports standard I2C communication speeds.
Compatibility and Requirements
The DS1307Z is designed to interface with microcontrollers that support I2C communication. It requires an external 32.768kHz crystal and a backup battery (such as a CR2032) for timekeeping when main power is absent. Pull-up resistors on the I2C lines are necessary for proper operation. The device operates from a 4.5V to 5.5V supply, so ensure your system provides a compatible voltage.
Typical Uses
- Real-time clocks for microcontroller projects
- Data loggers with timestamping
- Digital clocks and timers
- IoT devices requiring accurate timekeeping
- Battery-backed memory for configuration data
What's in the Box
1 x DS1307Z SOIC-8 RTC IC
Quick specs
- Manufacturer
- Generic
- Case/Package
- SOIC 8
- Min Supply Voltage
- 4.5
- Max. Supply Voltage (V)
- 5.5
- Product Type
- Real Time Calendar and Clock
- IC Interface Type
- I2C













