Need Help? +44 (0) 123 4567
You can add your content here.

DS1307Z+, Real Time Clock, SO-8 (SOP-8)

$0.0780
In stock
SKU
S1-0112
Volume discounts:
  • +100 4 % $0.0750
  • +500 6 % $0.0730
  • +1000 8 % $0.0720
  • +5000 10 % $0.0700
  • +10000 12 % $0.0690
DS1307Z+, Real Time Clock, SO-8 (SOP-8) is available to buy in increments of 50
Ships in 2-3 business days, then:
Free delivery in 12-15 days by Tracked Economic Shipping on orders over $100.
Free delivery in 7-10 days by Express Shipping on orders over $300.
More shipping info
Shop with confidence Learn More

DS1307Z+ I²C Real-Time Clock IC in SOIC-8 Package

The DS1307Z+ is a low-power real-time clock/calendar (RTC) with battery-backed timekeeping. It stores seconds, minutes, hours, day of week, date, month and year in BCD and communicates through a two-wire I²C interface.

This product is the bare 8-pin surface-mount IC, not an assembled RTC module. A suitable 32.768 kHz crystal, I²C pull-ups, a supply bypass capacitor, and an optional backup battery are external parts.

Specifications of the DS1307Z+ Real-Time Clock IC

  • Part: DS1307Z+, narrow SOIC-8 (150 mil)
  • Function: Battery-backed real-time clock/calendar
  • Interface: Two-wire I²C; 7-bit address 0x68
  • Main supply: 4.5 to 5.5 V, nominal 5 V
  • Backup supply: 2.0 to 3.5 V; commonly a 3 V lithium cell
  • Crystal: External 32.768 kHz, 12.5 pF nominal load
  • User RAM: 56 bytes of battery-backed SRAM
  • Time format: 12/24 hour; BCD seconds through year
  • Square-wave output: 1 Hz, 4.096 kHz, 8.192 kHz, 32.768 kHz
  • DS1307Z+ temperature: 0°C to +70°C; DS1307ZN+ is a separate industrial variant
  • Package: Narrow SOIC-8 / SO-8, surface mount
  • Power control: Automatic power-fail detection and backup switching

Features and Applications

1. Backup timekeeping

With a suitable cell on VBAT, the clock continues during main-power loss; I²C access is inhibited in backup mode.

2. Calendar operation

Automatically adjusts month lengths and leap years, but 2100 is not a leap year: software must handle the February 2100 rollover. The day-of-week register must also be set correctly.

3. 56-byte user RAM

Battery-backed SRAM can hold small settings; it is not EEPROM and does not retain data indefinitely without power.

4. Programmable square wave

SQW/OUT supports four frequencies and is open-drain, requiring a pull-up when used.

DS1307Z+ SOIC-8 Pinout (Top View)

alt="" />alt="DS1307Z+ SOIC-8 top-view pinout showing X1, X2, VBAT, GND, SDA, SCL, SQW/OUT and VCC" />
DS1307Z+ SOIC-8 top-view pinout
Pin Signal Function
1 X1 32.768 kHz crystal terminal
2 X2 Second crystal terminal
3 VBAT Backup supply input
4 GND Ground
5 SDA Bidirectional I²C data, pull-up required
6 SCL I²C clock, pull-up required
7 SQW/OUT Open-drain square-wave / output
8 VCC Main 5 V supply

DS1307Z+ SOIC-8 Package Orientation (Not a PCB Footprint)

alt="" /> alt="DS1307Z+ narrow SOIC-8 pin-one orientation and pad arrangement concept, not a production footprint" />
SOIC-8 package orientation — not a production footprint

This is an orientation concept, not a production land pattern. Verify pad dimensions and tolerances against the official manufacturer package drawing. Nominal body width is 3.9 mm and pin pitch is 1.27 mm.

DS1307Z+ Example Circuit with a 5 V Arduino Uno

alt="" />alt="DS1307Z+ Arduino Uno example with 32.768 kHz crystal, 3 V backup cell and I2C pull-ups" />
DS1307Z+ circuit with Arduino Uno
  1. Connect pin 8 VCC to 5 V and pin 4 GND to Uno ground. Place a 100 nF ceramic bypass capacitor close to the supply pins.
  2. Connect a suitable 32.768 kHz, 12.5 pF-load crystal between X1 (pin 1) and X2 (pin 2), with short traces.
  3. Connect SDA (pin 5) to Uno R3 A4 and SCL (pin 6) to A5. Pull each line up to 5 V, typically with 4.7 kΩ, accounting for any existing pull-ups.
  4. Connect a 3 V backup cell to VBAT (pin 3) with correct polarity; connect VBAT to ground if backup is not used. Never charge a primary lithium cell.

Upload the example sketch. On first startup clear CH and set time; the included sketch initializes only when the oscillator is stopped.

Download full Arduino Uno example

Setting time in the Arduino example: Open Serial Monitor at 9600 baud and send SET 2026-11-17 10:45:00 with the actual date/time. The sketch never overwrites the RTC at boot. This example supports 2000–2099 in 24-hour mode and validates date and BCD fields.

I²C Address, Registers and Firmware

The 7-bit I²C address is 0x68. Registers 0x00 through 0x06 contain BCD seconds, minutes, hours, day-of-week, date, month and year. Register 0x07 controls SQW/OUT, and 0x08 through 0x3F provide 56 bytes of user RAM.

Bit 7 of the seconds register is CH; setting it to 1 stops the oscillator. Read the time registers sequentially from address zero for a coherent snapshot. The device has no temperature sensor, dedicated hardware alarm or battery charger.

Timekeeping continues from VBAT during loss of main power, but I²C read/write access is unavailable. Validate the clock state and CH bit after startup.

DS1307Z+ Troubleshooting

Symptom What to check
Clock is stopped Check CH, crystal specification and X1/X2 layout.
I²C address 0x68 is missing Check 5 V VCC, common ground, SDA/SCL pull-ups and A4/A5 wiring.
Time is lost without main power Check backup battery voltage, polarity and VBAT connection.
Clock drifts Check crystal tolerance, load capacitance, temperature and PCB layout; no temperature compensation is built in.
SQW/OUT does not toggle Check SQWE/control register and the SQW/OUT pull-up.

Frequently Asked Questions About DS1307Z+

No guaranteed operation: its main VCC range is 4.5–5.5 V. Check bus-level compatibility separately.

No. A suitable external 32.768 kHz crystal is required.

The 7-bit address is 0x68; 0xD0/0xD1 are the write/read address bytes.

No. The DS1307 has no battery charging circuit.

Connect VBAT to GND as directed by the datasheet.

Clear the CH bit in the seconds register; check the crystal and supply.

No. The industrial ZN+ variant has a different rated temperature range.

It is open-drain and needs an external pull-up.

No dedicated alarm registers are provided.

DS3231 includes temperature-compensated timing; DS1307 depends on an external crystal.

Datasheet and References

More Information
PackageSO-8 (SOP-8)
PackagingTape & Reel
Operating Temperature Min0 C°
Operating Temperature Max+70 C°
FunctionCalendar, Clock
Mounting TypeSMD/SMT
Components - TypeReal Time Clock
Write Your Own Review
Write a ReviewDS1307Z+, Real Time Clock, SO-8 (SOP-8)
To Top
DS1307Z+, Real Time Clock, SO-8 (SOP-8)
DS1307Z+, Real Time Clock, SO-8 (SOP-8)
$0.0780
Wish List
Help
Shop
Account
0 Cart