ARD-DS3231 Super Accurate Real Time Clock DS3231
DS1307 works well in controlled environments, however if you are looking for a RT Clock that will work in any environment then look no further. This module is based on the DS3231 IC, hence the naming of the product. The difference between the two is that the DS3231 has an internal crystal which is not affected by external temperatures and the DS1307 has an external crystal that can be affected by the environment. The difference is the DS1307 will require a recalibration of around 5 minutes each month. Comes with a 24C32, 32K EEPROM integrated onto the board and allows you to insert a backup battery.
See Attachments for sample code:
Please download and extract the file and place the RTClib library in my documents > Arduino > libraries. Open the sketch file and compile and run, view with serial console at 57600 Baud Rate.
http://www.instructables.com/id/Real-time-clock-using-DS3231-EASY/?ALLSTEPS
(CR2032 Battery NOT included)