rascol / Raspberry-Pi-PPS-Client

Microsecond PPS time synchronization client for Raspberry Pi.
GNU General Public License v2.0
32 stars 6 forks source link

Client works, but unable to apply PPS time source to NTP -please help #6

Open RadioFreeOklahoma opened 3 years ago

RadioFreeOklahoma commented 3 years ago

Hi Ray:

I've been trying unsuccessfully to establish a stratum 1 PPS source on a pi4 for a year, all other time PPS to NTP sources eventually fail, many others on PI forums are having the same problem. I have hope that this client will finally work as it follows a different approach from the others. I was able to install the client and works flawlessly. I am feeding the PPS and NMEA data to the Pi4 using a QRPLABS GPS timeclock, the PPS is fed into GPIO 18 and the NMEA data is fed via USB.

The problem is the NEXT step.....how do I employ the accuracy of the PPS client into an onboard NTP server on the pi? I've tried using standard NTP, chrony, etc but all fall to recognize the PPS or NME source.
It seems like all want to feed using GPSD, but that would probably break the PPS client.

I'm, not a programmer, I'm a ham radio guy, so am dependent on others with advanced programming skills. It seems like I'm really close to success using this client if I can just port the PPS pulses into some type of time server that can redistribute them externally to my equipment which requires an IP-based time source. Thanks in advance for any help! Brian

rascol commented 3 years ago

A Pi4 time sync'd by PPS Client can be used as a Stratum 1 NTP time server. However the time accuracy of the Pi4 can't be preserved over NTP because the network introduces additional rather large and variable time delays. Is that what you are trying to do?