Pages: 1 [2]   Go Down
Author Topic: Updated DS1307 simple library for arduino 1.0 and older  (Read 11014 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13479
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
3.3 volt battery also in DS1307
did you check with a voltmeter, ( I cannot count the number of dead batteries I tried in my life)
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Netherlands
Offline Offline
Newbie
*
Karma: 1
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On my Arduino Uno Rev3, I had the exact same problem:

Quote
Actual time : 45:85:85 7 165/45/2165

But I use a prefab RTC board which already has pull up resistors and a rechargeable backup battery included.

Whatever I tried, it was just not working.

Double checking the wiring did not reveal any mistake made by me, so I decided to check the A4 en A5 ports. Guess what? I was using the SDA & SCL contacts that are positioned next to the Aref pin. Measuring those pin to A4 and A5, gave me the solution: SDA was connected to A4, but SCL is not connected to A5. BTW: SCL seems to be connected to nothing on my Arduino Uno R3.

Maybe it is coincidence, and am I in possesion of the only board with that fault, but it wouldn't do any harm to check your board if you're having troubles with I2C communication.

And many thanks for the library, it seems to work perfect, with very understandable commands.

« Last Edit: June 30, 2013, 12:06:59 pm by JohnBoog » Logged

Pages: 1 [2]   Go Up
Jump to: