UNCG-DAISY / Instagrain

A camera for measuring sediment grain sizes with edge ML
MIT License
20 stars 2 forks source link

System time from GPS time, (or integrate an RTC?) #91

Closed ebgoldstein closed 2 years ago

ebgoldstein commented 2 years ago

I think the instructions for the RTC are not correct.. i can work on this

ebgoldstein commented 2 years ago

https://forums.adafruit.com/viewtopic.php?f=50&t=182292&p=885900&hilit=gps+hat+rtc#p885900

ebgoldstein commented 2 years ago

a hack solution is to pull the time from the GPS either on boot, or even better, when we run the GUI script (i.e., it fetches the time from the GPS, and sets the RPI time to this GPS time, then goes ahead and creates folders, etc.... this will allow the gps a bit to get a lock.. (i.e., during boot, and as a user is clicking on the script)

jacobstasiewicz commented 2 years ago

The csv file is now updated from the gps in UTC, but it would still be nice to figure out the RTC

ebgoldstein commented 2 years ago

let's keep this open, and i can rename this issue

ebgoldstein commented 2 years ago

another option is just to add an RTC...

ebgoldstein commented 2 years ago

new rtc has been ordered.. this would mean swapping out {GPS hat+connector+antenna} for {RTC + USB-GPS).. this would require a bigger hole on the top case (for USB cable).

ebgoldstein commented 2 years ago

I think this is not needed anymore with the RTC in V3, the GPS time recorded in the sample spreadsheet, and the 5 digit hash code being used for the folder name