In this example we will create a simple clock example using a DS1307 breakout, a keypad/LCD shield and an Arduino Uno
The DS1307 real-time clock is a low-power, full binary-coded decimal clock/calendar. Address and data are transferred over the I²C bus.The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The DS1307 has a built-in power-sense circuit that detects power failures and automatically switches to the backup supply, this backup supply is usually in the form of a lithium ion battery.
Here is a picture of my setup, as you can see the DS1307 breakout is connected to the LCD and keypad shield, in this example you can see the time displayed on the LCD.