Table of Contents

Uno-Leonardo Data Logger

Real Time Clock DS1307

Description

RTC DS1307 is connected to standard TWI (I2C) bus.

Used Pins

Arduino Leonardo Compatibility

Digital Pin: 2, 3
Bus: TWI
Power Pin: GND, +5V

Arduino Uno Compatibility

Analogue Pin: 4,5
Bus: TWI
Power Pin: GND, +5V

Config options

SQW is output pin on which is available square wave depends of DS1307 setings.
Pin header (right side with LED) in short show output on SQW

Code example