Skip to main content

Worldwide Shipping · Secure Payments

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

ManufacturerGeneric
Case/PackageSOIC 8
Min Supply Voltage4.5
Max. Supply Voltage (V)5.5
Product TypeReal Time Calendar and Clock
IC Interface TypeI2C
Operating Temperature (°C)0 to 70
Dimensions (L x W x H) mm4.5 x 2.2 x 1.5
Mounting TypeSMD/SMT
Shipping Weight0.001 kg
Shipping Dimensions1 × 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?
The DS1307Z is supplied in an SOIC-8 surface-mount package, while the DS1307N is in a DIP-8 through-hole package. Functionally, they are the same.
Does the module come with a battery?
No, the DS1307Z IC does not include a backup battery. You will need to provide a 3V coin cell or other backup supply.
Can I use this with a 3.3V microcontroller?
The DS1307Z requires a supply voltage between 4.5V and 5.5V, so it is not directly compatible with 3.3V systems. You may need level shifters for the I2C lines and a separate 5V supply.
What crystal frequency does it need?
The DS1307Z requires an external 32.768kHz crystal connected to the X1 and X2 pins.
Is the SRAM retained without power?
Yes, the 56 bytes of SRAM are backed by the backup battery, so data is retained when main power is removed.

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
See all specifications