Skip to content

Create an NTP and PTP timeserver using RaspberryPi5 with BerryGPS-IMU and PPS

License

Notifications You must be signed in to change notification settings

parlaynu/pi5-timeserver-gps-pps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RaspberryPi5 GPS/PPS Timeserver

This repo contains instructions for building a timeserver using GPS/PPS as the reference clock. It uses NTP and PTP to share time with the local network.

The key hardware components used are:

You'll also need SD cards, power supplies and probably cases for your RaspberryPis.

The Pi5B has a network card with support for PTP hardware timestamping, although it could also be done with PTP software timestamping on an earlier version of the Pi.

The Pi4 is used for the client because I had one already. The setup described for the Pi4 client should be easily transferred to any Linux machine.

The images below show the Pi5 with the BerryGPS-IMU HAT attached, and the complete hardware system:

And the software components are a bit like this:

System Setup

Server

Instructions for the server setup are here

Client

Instructions for the client setup are here

GPS Configuration

Instructions for customising the GPS configuration are here

Reference

Great Example using NTP

RaspberryPi

BerryGPS-IMU

UARTs

PPS

GPSd

Chrony

PTP