Forum >DS1307 and battery problem
DS1307 and battery problem

Hello,
I have 2 x DF1307 gravity modules and I got the same behavior with both of them connected to a ESP8266 :
- When the CR1220 battery is not inserted, the DS1307.begin() function is returning true, and time is moving forward. - When the CR1220 battery is inserted (with the + on the top) the init function is returning false and time is stuck at 0.
I am missing something ?
2023-07-04 23:49:43
Yeez_B
The working voltage of the DS1307 is 5V. I think this is more like a bug if you power the module from the 3V3 PIN of ESP8266.

Francois.Richard
wrote:
2023-07-05 01:09:57 1 Replies
Good catch !!!working great powered with 5V
thanks much !
2023-07-04 09:10:53
Francois.Richard
I got 2 cells one is 2.8V and the other 3.1Vsame problem with both.The device is completely useless without this power backup feature for me.

2023-07-04 06:14:55
bidrohini.bidrohini
Measure the battery voltage. Check if it is giving 3V or not.

Francois.Richard
wrote:
2023-07-04 09:11:48 1 Replies
I got 2 cells one is 2.8V and the other 3.1V
Same problem with both.The device is completely useless without this power backup feature for me.