Hi there, as you see in the picture, for around 24hours is not storing the time, but if I set up manually is storing for some time in red 3 minutes, in red I changed the batteries (same model) but had the same problem:
is an issue of that batteries (so should be a better ones) OR the RTC itself (buy another one)?
@annlee, Suggest that you post your exact .py file(s) and your methodology.
Example:
Insert Battery in Grove-RTC
Connect Grove-RTC to Grove-Pi/RPi
Power on Grove-Pi/RPi
Run .py that asks user current time, and sets RTC, reads and displays the RTC datetime,then exits (or sets RTC from RPi time obtained via Internet at boot time)
a. Verify RTC date-time correctly set
Set up crontab @boot to run “my_logger.py”
(And wibni “set_RPi_time_from_RTC.py”)
Sudo shutdown -h now
Move Unit to measurement location
Connect Unit to location Power source
After ?? hours, or ?? days
a. Recheck RTC time correct
b. Copy csv logfile off unit
Thanks a lot, I had another system working perfectly, I did all these excluding step 5. crontab
lately is keeping the time from one day to another, I am leaving this weekend it and see if on monday still with the issue, will do all your steps carefully
(the reason the page was in english was that pic was matching exactly with my RTC, not the one in english)