GPS Governed NTP Server With PPS Sync | Wizworks
Summary
Because I have multiple computer systems (servers, desktop/laptops, and embedded home automation devices) I wanted to have a master time source that would work even if my internet connection became unavailable. Materials used for this project: To prepare and install all the needed software run: Now, wire the GPS module to the RPi as follows: (Note: we’re using GPIO 18) Now, make the following config changes: Open the following file and edit as shown below: It’s now time to restart the GPS Clock to allow the above changes. Now that you have completed the above, it’s time to restart the Chrony service: You can now check to see if the GPS is working: You should see output like: Note the “Status” line. This will ensure that no more writing occurs and that if the GPS clock loses power suddenly, that the card will not get corrupted. At this point, you can safely power cycle the GPS clock and it should reboot and continue working automatically.