Using GPS with PPS to synchronize clocks over the network

  Рет қаралды 13,417

Linux Tech School

Linux Tech School

Күн бұрын

Пікірлер: 18
@ahnhelnyc
@ahnhelnyc Жыл бұрын
Followed this tutorial to use as a Stratum 1 PPS Time Server for OPNsense. Worked flawlessly with your precise guidance, thank you.
@linuxtechschool4841
@linuxtechschool4841 Жыл бұрын
Hi, Thanks a lot for your feedback. Regards.
@goodtoshi
@goodtoshi Жыл бұрын
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.
@AhoyCapnLinux
@AhoyCapnLinux 3 ай бұрын
This is typically how it works. A 2D or 3D GPS lock allows for delta triangulation between multiple satellites, providing the "rough" time. From there, PPS driven by a super-accurate clock will further refine the time. In a Linux setup, typically something like GPSd will feed the GPS + PPS data to an NTP daemon such as chrony.
@elements88xyz
@elements88xyz 4 ай бұрын
Highly appreciate you for this tutorial Rodrigo!
@PramodKumar-es2ov
@PramodKumar-es2ov Жыл бұрын
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.
@rbellido1
@rbellido1 Жыл бұрын
Excellent video!
@gooallen
@gooallen 7 ай бұрын
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?
@tusharsonawane4031
@tusharsonawane4031 Жыл бұрын
The time delay was more than 500 nanoseconds. Right ?
@nachovillazon4158
@nachovillazon4158 5 ай бұрын
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
@AhoyCapnLinux
@AhoyCapnLinux 3 ай бұрын
That log is from journald and doesn't tell exactly what happens. Get the exact chrony error by running `journalctl -xe -t chronyd`, this will make debugging easier. Most likely, there is an error in your configuration file.
@FlaxTheSeedOne
@FlaxTheSeedOne 9 ай бұрын
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.
@abyagowi7
@abyagowi7 7 ай бұрын
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.
@FlaxTheSeedOne
@FlaxTheSeedOne 7 ай бұрын
@@abyagowi7 Thats what you use the PPS input on the pi for as it also has that.
@AhoyCapnLinux
@AhoyCapnLinux 3 ай бұрын
The Pi he is using is the 3b. This Pi does *NOT* support hardware timestamping via the broadcom PHY* (the onboard chip. Not NIC, that is the port). The Pi 5 and the CM4 have support for PTP hardware timestamping.
@AhoyCapnLinux
@AhoyCapnLinux 3 ай бұрын
This can be improved upon using the hardware timestamping functionality of a Raspberry Pi CM4 or model 5's ethernet PHY to send PTP throughout your network. Great video!
@AdullKKU
@AdullKKU 2 жыл бұрын
Thanks Sir
Deploy an Ubiquiti UNIFI WIFI6 network using Raspberry PI 5 as controller
25:52
Microsecond Accurate NTP using PPS signals from a $12 GPS
15:54
Austin's Nerdy Things
Рет қаралды 13 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
GPS-Disciplined NTP Server on Raspberry Pi 4
19:46
Linux Tech School
Рет қаралды 12 М.
Sync your project with GPS 1PPS
4:33
0033mer
Рет қаралды 25 М.
so...I put a Time Server in my HomeLab
28:25
NetworkChuck
Рет қаралды 300 М.
Off Grid GPS Time Sync On Mac With GPS Dashboard
6:03
Ham Radio Tube
Рет қаралды 2 М.
How Computers Synchronize Their Clocks - NTP and PTP Explained
14:13
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Рет қаралды 1,2 МЛН
Making Smallest Possible Linux Distro (x64)
27:43
Nir Lichtman
Рет қаралды 40 М.
Nanosecond clock sync with a Raspberry Pi
13:56
Jeff Geerling
Рет қаралды 176 М.
How to Run Linux on an ESP32
18:53
element14 presents
Рет қаралды 168 М.