Project 29 · Sensor Catalog (Vol III)

DS1307 Real-Time Clock

Give your Arduino a permanent memory of time and date, even when unplugged!

Advanced 65 min 5 components
DS1307 Real-Time Clock wiring diagram

What you'll learn

  • Understand the I2C communication protocol using SDA and SCL pins.
  • Learn how to manage time and date data using the RTClib library.
  • Understand the importance of a battery backup for persistent electronic timing.
  • Configure and synchronize a hardware clock with a computer compile-time stamp.

What's in the kit

  • Arduino Uno R3
  • DS1307 RTC Module (with CR2032 battery)
  • Jumper Wires (M-M)×4
  • Breadboard
  • USB Cable (Type A to B)

Protocol: I2C