Skip to content
Trademarks and datasheets are the property of their respective owners

DS1307 Real-Time Clock RTC I2C Module with AT24C32 Battery

Published Updated 7 views
DS1307 Real-Time Clock RTC I2C Module with AT24C32 Battery

DS1307 overview

This is Tiny RTC Real Time Clock DS1307 I2C IIC Module for Arduino. It contains a DS1307 real-time clock IC. DS1307 is one of the easiest-to-use RTCs out there, with Arduino and other libraries, or simply use I2C commands to set and retrieve the time and date. Includes a lithium coin cell battery which should be good for four years at least.

Along with the DS1307 real-time clock, the module also has an Atmel 24C32 EEPROM chip which is handy for storing data without worrying about power loss. There is also space on the board to solder your own DS18B20 temperature sensor.

This battery backup option allows you to keep a reasonably accurate time even when your Arduino is powered off.  It is very useful in data logging and other time-sensitive applications. The device uses I2C to communicate with your Arduino

Key specifications

Temperature Range
-40°C to +85°C
DC supply
5V

Datasheet

ds1307-i2c-real-time-clock-module.pdf
Format PDFSize 172 KBLanguage EN
Third-party / unverified source

DS1307 features

  • Two-wire I2C interface
  • Hour: Minutes: Seconds AM/PM
  • Leap year compensation
  • Accurate calendar up to the year 2100
  • Consumes Less than 500nA in Battery-Backup
  • 1Hz output pin
  • 56 Bytes of Non-volatile memory available to the user
  • 4KB of serial electrically erasable and programmable read-only memory (EEPROM)
  • Embed DS18B20 temperature sensor interface with the pull-up resistor.

DS1307 pinout

NameDescription
SQWThe SQW pin has a cool feature, it can produce outputs one of four square-wave frequencies 1 Hz, 4 kHz, 8 kHz, or 32 kHz, and can be possible programmatically.
DSThis pin is used to read Output from the DS18B20 temperature sensor if the RTC module has a DS18B20 temperature sensor installed.
SCLThis is a clock-input I2C serial communication pin. It is used to synchronize data movement on the serial interface.
SDAThis pin is used for the data input/output for the I2C serial interface.
VCCIt is a positive power input pin of the module in the range of 3.3V to 5.5V.
GNDGND is a negative(ground) power input pin
BATBAT pin is a backup supply input for any standard 3V lithium cell or other energy sources to maintain accurate timekeeping when the main power to the device is interrupted.

DS1307 applications

  • Real-time clock functionality
  • Time-based automation
  • Data logging with timestamping
  • Alarm and timer functions
  • Power outage detection
  • IoT device synchronization
  • Battery backup
  • Security systems
  • Industrial automation
  • Smart lighting and energy management

DS1307 datasheet PDF preview

PDF · 172 KB

Comments 0

Leave a comment