REAL TIME CLOCK WITH DS1307 from microbot

Post date: Oct 09, 2019 1:15:21 AM

The DS1307 integrated circuit is a low consumption BCD clock / calendar with 56 bytes of SRAM powered by a back-up battery. Communication takes place via the I2C bidirectional bus.

DESCRIPTION

This product was developed around the DS1307 integrated circuit from Maxim.

The DS1307 integrated circuit is a low consumption BCD clock / calendar with 56 bytes of SRAM powered by a back-up battery.

Addresses and data are communicated serially via the I2C bidirectional bus.

The clock / calendar provides information on seconds, minutes, hours, date, day, month and year. The end of the month is automatically adjusted for months that are less than 31 days, including the correction for leap years. The clock can work in 24 hour format and in 12 hour format with AM / PM indication.

The DS1307 has an integrated power-sense circuit that detects power failure and automatically enables power via backup battery. Timing operations will continue even during backup operation.

There is a signal with open drain output which provides a programmable clock at 1Hz, 4.096Khz, 8.192Khz, 32.768Khz; this function is very useful in applications where you have to synchronize to the second or to a multiple thereof. This output can also be set high or low through an internal register, allowing the use of this signal in debug operations and test routines.

The product has three different places to weld the strip connector; you can also decide whether to weld a straight or 90 ° strip connector: this gives you the possibility to establish the most suitable positioning of the RTC in your specific application.

FEATURES

Pin out:

    • VCC Supply voltage (4.5 – 5.5V)

    • SDA Bidirectional serial data

    • SCL Serial clock input (generated by the host controller)

    • OUT Programmable Output Signal

    • GND Ground

Datasheet:

Check file DS1307.pdf attached below.

Library:

Check file DS1307.zip attached below.

Code: