DS1307 real-time clock connection guide
DS1307 real-time clock (SO-8 · 150 mil) connection guide. Connect an I²C host. Run without a battery and monitor SQW/OUT.
| Package | Contacts |
|---|---|
| PDIP-8 · 300 mil | 8 |
| SO-8 · 150 mil | 8 |
Device variants · SO-8 · 150 mil
| Device | Details |
|---|---|
| DS1307Z+ | 0 to +70 °C. |
| DS1307Z+T&R | 0 to +70 °C, tape and reel. |
| DS1307ZN+ | −40 to +85 °C. |
| DS1307ZN+T&R | −40 to +85 °C, tape and reel. |
Connection scenarios
Drive X1 from an external oscillator
Use a suitable 32.768 kHz oscillator referenced to host ground. Drive X1 and leave X2 open. Remove the backup cell before tying VBAT to ground.
- +5 V
- Host 5 V
- C1.1
- R1.1
- R2.1
- I²C data
- ↔
- Host SDA
- R1.2
- I²C clock
- →
- Host SCL
- R2.2
- Ground
- Host ground
- C1.2
- Oscillator return
- External clock
- →
- 32.768 kHz oscillator output
Bench checks
- Clear CH in bit 7 of register 0x00, then verify the seconds advance while the external oscillator runs.
Analog Devices / Maxim DS1307 Rev. 5, pp. 1–8.
SO-8 · 150 mil wiring map
1 · X1
32.768 kHz reference input for the RTC.
Wiring requirements
With an external oscillator. Drive X1 at 32.768 kHz and leave X2 open.
- External clock
- →
- 32.768 kHz oscillator output
Manufacturer documents
This reference covers the 8-lead PDIP and narrow 8-lead SO versions. Both use the same lead numbering.
- DS1307 manufacturer documentation· Analog Devices / Maxim DS1307 Rev. 5, pp. 1–8.
