Community Forum Share your projects and post your questions

Register or Sign In

RTC Pi V1 resets itself when the board is unplugged.

21 Views - Created 18 days ago

18 days ago

Posted by:
turkerali

Users Avatar

Hi,

I have the RTC Pi V1 module, which I bought in 2013. This is the old version with 26 pins (see attached picture). Currently I use it with a ROCK64 board, which is pin compatible with Raspberry Pi. I can set/get the date and time via i2c bus. When I restart, or power off the board, it works without any problems. But when I unplug the power cord and plug again, the RTC module is reset to year 2000. I changed the battery but that did not help. What may be the reason? Thanks in advance.

Post image

18 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Hi

From what you have described the problem could be a configuration issue with linux that is stopping it from getting the date from the RTC on startup. 

I haven't used the RTC Pi with a Rock64 board but on the Raspberry Pi you have to go through the steps in our Raspberry Pi tutorial to make it load and save the date to the RTC.  It may be worth trying the same steps on the Rock64 and see if that works.

AB Electronics UK Tech Support

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.