Go Down

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

TTU.ABD

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.

AlxDroidDev

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)



Learn to live: Live to learn.
Showing off my work: http://arduino.cc/forum/index.php/topic,126197.0.html

Go Up