Hello everyone!
For several years now I have not been able to solve the problem of the loss of the current time by the real-time clock built into Teensyy 4.1.
In those devices that are equipped with a GPS receiver, I correct the time according to the receiver. As soon as it is determined. Unfortunately, this is not possible everywhere.
Increasing the battery capacity to CR123 does not help either. My devices (ground penetrating radars) can be stored in a warehouse for six months or a one year between uses. Usually, after 3-4 months, the RTC forgets the current time.
The only way to restore it is to reflash the program in Arduino IDE. This is very inconvenient, especially since the names of the files with data that I write to the SD card consist of the current date and time.
Also, the procedure for manually installing the RTC is very voluminous, and I have not found such a library function.
I really ask for help.
For several years now I have not been able to solve the problem of the loss of the current time by the real-time clock built into Teensyy 4.1.
In those devices that are equipped with a GPS receiver, I correct the time according to the receiver. As soon as it is determined. Unfortunately, this is not possible everywhere.
Increasing the battery capacity to CR123 does not help either. My devices (ground penetrating radars) can be stored in a warehouse for six months or a one year between uses. Usually, after 3-4 months, the RTC forgets the current time.
The only way to restore it is to reflash the program in Arduino IDE. This is very inconvenient, especially since the names of the files with data that I write to the SD card consist of the current date and time.
Also, the procedure for manually installing the RTC is very voluminous, and I have not found such a library function.
I really ask for help.