I have a weird problem with a DS1307 I2C Clock module, I'm an Arduino newbie and I hope some specialists here can help
Here is a pic of the RTC if it can help:
I used the connections, the sample code and the library from this page:
Everything worked fine for a few hours...
Then the RTC started sending weird output like:
RTC date: 2165-165-165 Mo time: 165:165:85
When this happens I can no longer set the clock, neither change the NVRAM content
After searching on the web I found the two main reasons for this problem can be a bad I2C connection or a battery overvoltage
My connections seems fine, so I checked the backup battery voltage and it measured at 3.94V ! In fact it is a LIR2032 3.6V rechargeable Li-ion battery.
I removed the battery and then the clock worked fine again !
Then I tried putting a CR2032 3V Lithium battery, and the same problem was back...
If I remove again this battery the clocks works fine again
So, I thought the problem came from the provided battery overvoltage, and I thought putting a 3V CR2032 battery would fix the issue, but sadly nope
Any idea where the problem comes from an how to fix it ?
Thanks in advance for your kind help