Using GPS with PPS to synchronize clocks over the network
HTML-код
- Опубликовано: 10 сен 2024
- Hi everyone,
In this video I'show you how to use a raspberry pi 3 and a serial GPS module with PPS signal to get very accurate time and synchronize clocks over your network.
I'll use Raspbian OS for the server and Ubuntu 22.04 LTS for the client using NTP over the network.
You can find the GPS module and the GPS antenna on links below:
#GPS MODULE uBlox NEO 8M
www.aliexpress...
#GPS Ceramic Patch Active antenna with 3m cable and SMA plug
www.aliexpress...
I hope you enjoy the video. Please comment below for any questions, ideas, etc. I truly appreciate it!
Thanks.
Best regards,
RSM
Highly appreciate you for this tutorial Rodrigo!
Followed this tutorial to use as a Stratum 1 PPS Time Server for OPNsense. Worked flawlessly with your precise guidance, thank you.
Hi,
Thanks a lot for your feedback.
Regards.
Thank you very much for the tutorial.
But if I understand correctly the output on 14:11, this server still uses NTP to set the "rough" time and then uses PPS to make it more precise. I think it would be even better to use GPS time (NMEA) as the source of the "rough" time which will make it completely autonomous and independent from the internet.
Thank you very much! I followed your tutorial and worked! If finially I need is "LTC timecode output for other device", will you have plan for PART II?
Excellent video!
Hello, first of all, congratulations on this tutorial, I find it very interesting. I'm trying to follow these steps on a Rasaberry Pi 5 with a Geekstory GT-U7 GPS module but when I get to the part where you have to restart "chrony" it returns the following error: Job for chrony.service failed because the control process exited with error code. Could you tell me why this could happen?
I'm a newbie at this
Thank you
Hi, You are connecting ping 1 of Raspberry Pi for GPS 8M Module. but in video you told us to connect pin no 2. Can you please clarify.
Thanks Sir
Would love to see this shown not jsut with an NTP server but also PTP as the pi also supports that with the brodcom nic it has.
The precision you get from pulling from a regular GPIO will not be enough for PTP. You can give it a try and look for the precision over ethernet to another NIC with PPS output. If you build two setups you will see that the PPS output from the two NICs will have a jitter in the range of 100s microseconds. If 100s of microseconds is good enough for you then sure, you can use this method.
@@abyagowi7 Thats what you use the PPS input on the pi for as it also has that.
The time delay was more than 500 nanoseconds. Right ?