Go Down

Topic: Problem chip ds1307 with battary 3v (Read 740 times) previous topic - next topic


Mar 13, 2013, 01:56 pm Last Edit: Mar 13, 2013, 02:03 pm by TTU.ABD Reason: 1
I connect the circuit as in this photo  http://tronixstuff.files.wordpress.com/2010/05/ds1307exampleuse.jpg

then I connect this circuit with TFT LCD on arduino mega 2560 , but the problem when I turn off arduino the time is kept in chip but don't move , In other words, when I turn on arduino again the time Starts from the moment that turned off arduino.


That's weird. I'd suspect the battery or the crystal, but mostly the battery.

If the DS1307 is too far apart from the Arduino (>= 15cm), use pullup resistors in the SCA and SCL lines (4k7 ~ 10k resistors to +5V: the closer the higher the resistance)

Some of my projects:
Shield for DS1337+, DS1624 and AT24C1024B (RTC, temp & mem): http://forum.arduino.cc/index.php/topic,126197.0.html
CHDK Camera remote shutter (BT, IR, USB): http://forum.arduino.cc/index.php?topic=295377.0

Go Up