Project-CETI / whale-tag-embedded

Source code for the software that is used to build the image for the embedded computer inside the Whale Tags to be deployed onto sperm whales for project CETI
Apache License 2.0
13 stars 5 forks source link

Synchronize RTC automatically #17

Closed MattCummings0517 closed 1 year ago

MattCummings0517 commented 2 years ago

The on board RTC crystal is not particularly accurate. It would be good to synch it up when connected to the Internet. Also, check system time after boot to verify good time synch (i.e. the system found NTP when booting and set it's clock correctly).

MattCummings0517 commented 1 year ago

Increased severity from enhancement to bug. During the December 2022 expedition, Tag #2 was booted while on a boat without network access. This resulted in incorrect time stamps that seemed to reference the last time the NTP synched, which was two days prior. The separate Tag RTC (which has a backup battery) could potentially be used in this scenario to get the time at boot. However, the RTC is not designed to be a precision clock.