Pages: [1]   Go Down
Author Topic: Problem chip ds1307 with battary 3v  (Read 355 times)
0 Members and 1 Guest are viewing this topic.
jordan
Offline Offline
Jr. Member
**
Karma: 0
Posts: 56
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: March 13, 2013, 08:03:43 am by TTU.ABD » Logged

BHZ, MG, Brazil
Offline Offline
Sr. Member
****
Karma: 10
Posts: 346
Android developer; Arduino enthusiast
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)



Logged

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

Pages: [1]   Go Up
Jump to: