Go Down

Topic: [SOLVED]ds1307 time getting reseted during power failure? ? (Read 643 times) previous topic - next topic

saifkazi

Hello experts
i just made RTC module using ds1307 but while testing it there is an issue my time get reset to 00 after power failure. is it require that i should connect 5v to 3.3v battery ?

JimboZA

You should put between 2V and 3.5V on pin 3, Vbat
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

saifkazi

You should put between 2V and 3.5V on pin 3, Vbat
yes i did but there is a problem that some time my time got reset

saifkazi

#3
May 10, 2015, 12:32 pm Last Edit: May 10, 2015, 12:42 pm by saifkazi
is it possible due to old battery ?the one i am using now is 4 months old which is already removed from my computer motherboard ?

Wawa

A battery can last for a decade or more, but you can also drain it in a day.
The only way to know is to measure it with a DMM.
Leo..

saifkazi

So i found out it was a battery i just removed it and put it back and done 8) SOLVED .

Go Up