DS1307 Real Time Clock

Keep track of the current year, month, day as well as the current time.

RTC-DS1307-breakoutDS1307 RTC
power rating 3.3V
power rating 2.54MM

This breakout board of the DS1307 Real Time Clock module allows you to keep track of time. You can easily read out years, months, days, as well as the current time. You can run the module for at least 9 years and can read time until 2100. It makes use of the I2C protocol for interfacing with a microcontroller.

Practical Information:

The RTC has 5 pins that are used for connecting to a microcontroller. GND, VCC, SCL, SDA, and SQW. The SQW is optional and depends on your use case. You can, for instance, be used as a pulse counter, but isn't necessary for usage as a clock.  

 

Wiring it up

You should connect the VCC pin to VCC output from your microcontroller. The DS1307 accepts voltages between 4.5 and 5.5. Connect GND to ground, and connect the SCL and SDA to the corresponding SCL and SDA headers on your microcontroller (for example A4 SDA and A5 SCL for Arduino Pro Mini). &nbps;

 

Software

We really like this library from Paul Stoffregen. It contains everything you need to get going with the DS1307RTC chip.

-
(0 reviews)