Hello all,
I need to record and store data with a timestamp with no internet connection. I currently have a couple of these discontinued Sparkfun GPS modules, which are 3.3V. Would it be possible to use a GPS module like this as the pitayas clock?
The project I'm doing requires the automatic execution of data aquisition as soon as powered on. If power is lost, and regained, the process starts over. However, I need a clock to keep time, even when power is lost.
Thank you for your time
Can a GPS module be used to update the pitaya's internal clock?
-
- Posts: 33
- Joined: Thu Aug 20, 2020 9:00 pm
-
- Posts: 790
- Joined: Sat May 23, 2015 5:22 pm
Re: Can a GPS module be used to update the pitaya's internal clock?
Yes, it's possible. I have a GPS receiver with a PPS output and I am using the gpsd and chrony services for time synchronization. Here are links to my configuration files:
https://github.com/pavel-demin/red-pita ... onf.d/gpsd
https://github.com/pavel-demin/red-pita ... hrony.conf
https://github.com/pavel-demin/red-pita ... onf.d/gpsd
https://github.com/pavel-demin/red-pita ... hrony.conf
-
- Posts: 33
- Joined: Thu Aug 20, 2020 9:00 pm
Re: Can a GPS module be used to update the pitaya's internal clock?
Thank you very much, Pavel! I'll have a look and see.
-
- Posts: 33
- Joined: Thu Aug 20, 2020 9:00 pm
Re: Can a GPS module be used to update the pitaya's internal clock?
Pavel,
I just found this forum post where a user was able to use an ISL 12022 RTC via the pitaya's i2c.
viewtopic.php?t=1123
Would this be an easier option than using a GPS module? I guess it's worth mentioning I am a novice when it comes to raspberry pi hardware/coding.
I just found this forum post where a user was able to use an ISL 12022 RTC via the pitaya's i2c.
viewtopic.php?t=1123
Would this be an easier option than using a GPS module? I guess it's worth mentioning I am a novice when it comes to raspberry pi hardware/coding.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 20 guests