Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes: a Raspberry Pi can serve as a Stratum 1 NTP server when chrony is synchronized to a GPS receiver’s one-pulse-per-second (PPS) signal and the receiver’s serial data supplies the matching UTC time. The PPS wire must reach a Linux-supported GPIO, appear as a kernel PPS device such as /dev/pps0, and be paired with a usable GPS time source. A running GPS daemon alone does not prove that the Pi is synchronized.

What the server does

The NEO-6M provides two different kinds of timing information. Its NMEA serial messages convey the time and date needed to identify the PPS pulses; its PPS output supplies a precise edge once per second. GPSD reads the receiver’s serial stream, while Linux exposes the pulse through its PPS driver. Chrony combines the time context and pulse to discipline the Pi’s clock, then serves NTP to permitted devices on the local network.

Stratum 1 means the server is synchronized directly to a reference clock. In this build, that reference is GPS, not another network time server. The chrony project documents a GPSD arrangement using a SHM or SOCK reference together with a u-blox NEO-6M PPS source. GPSD’s Time Service HOWTO likewise describes using a GPS receiver with 1PPS to set up a high-quality NTP server.

What you need

  • Raspberry Pi: A Pi 4 Model B is a straightforward baseline; the implementation guidance highlights its 1 Gbit network interface. A Pi 5 can also be used, but its UART arrangement differs, so follow serial-port instructions for that model rather than copying Pi 4 wiring or settings.
  • u-blox NEO-6M receiver: Choose a breakout that exposes UART and a genuine PPS output. Board pin order and logic voltage vary, so check the markings and specifications for the exact board.
  • Active GPS antenna: Use an antenna compatible with the receiver and place it where it has a clear view of the sky. A receiver without a valid fix may not provide the time context needed to lock PPS.
  • Connections and network: Have jumper wires, a shared ground, stable Pi power, and Ethernet or another reliable network connection.

Wire the receiver and prepare the Pi

Connect UART, ground, and PPS

Connect the receiver’s TX to the Pi’s RX and connect grounds. Connect receiver RX to Pi TX only if you need bidirectional communication, such as configuring the receiver. Connect the receiver’s PPS output to a GPIO supported by the Linux PPS GPIO driver. Verify the breakout’s pin labels and signal voltage before connecting it: NEO-6M board layouts and electrical details are not interchangeable.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
CanaKit Raspberry Pi 4 Starter Kit - 2GB RAM
  • Includes Raspberry Pi 4 Model B with 1.5GHz 64-bit quad-core CPU (2GB RAM)
  • Pre-Loaded 32GB EVO+ Micro SD Card (Class 10), USB MicroSD Card Reader
  • CanaKit Premium High-Gloss Raspberry Pi 4 Case with Fan Mount, CanaKit Low Noise Bearing System Fan
  • CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply with Noise Filter, Set of Heat Sinks, Display Cable - 6 foot (Supports up to 4K 60p)
  • CanaKit USB-C PiSwitch (On/Off Power Switch for Raspberry Pi 4)

Enable serial and kernel PPS

Enable the Pi’s serial interface, but do not assign that UART to a login console. Configure the PPS GPIO overlay or driver for the chosen pin, then check whether Linux has created /dev/pps0. GPSD’s documentation identifies kernel PPS support as a prerequisite for using this timing path. If the device does not appear, chrony cannot use that PPS device.

Install and check the time-source software

Install GPSD, its client utilities, PPS tools, and chrony using the package manager for your Pi operating system. Configure GPSD to read the receiver’s actual serial device. Device names and configuration details depend on the Pi model and operating-system release, so confirm the UART path rather than assuming it is the same on every installation.

Rank #2
TRASKIT Basic kit for Raspberry Pi 5 2GB RAM,27W PD Power Supply,PI5 Case, Active Cooler and Pi 5 2GB Single Board Included
  • Basic Kit: The TRASKIT Kit takes the hassle out of preparation, letting you focus on creation and bring your ideas to life quickly.Package Includes: 1x Pi 5 2GB,1x Pi 5 Case,1x Active Cooler,1x 27W USB-C PD Power Adapter,1xScrewdrive,1x Warranty Card,1x Installation Card.
  • Meet the all-new Pi 5 — your all-in-one computing solution. Powered by a 64-bit quad-core Arm Cortex-A76 processor clocked at 2.4GHz, this model boosts CPU performance by 2–3× compared to the Pi 4. It also packs an 800MHz VideoCore VII GPU (for a major graphics upgrade) and a redesigned Image Signal Processor (enabling cutting-edge camera compatibility). Whether you’re a consumer after a seamless desktop experience, or an industrial user exploring new application possibilities, the Pi 5 has you covered.
  • TRASKIT PD Power Adapter Designed for Raspberry Pi 5 :Engineered with deep optimization for the Pi 5’s load characteristics, this power delivery unit ensures stable voltage output even under full CPU load, eliminating restarts or throttling. Blending minimalist aesthetics with functional excellence, it delivers both reliability and style.
  • High-Efficiency Active Cooling System: The active cooler anodized aluminum in tandem with a PWM-controlled fan, paired with a specially designed ventilated case. This combination rapidly reduces chip temperatures, ensuring the Pi 5 consistently operates at peak performance. Even during high-load scenarios like 4K video decoding and programming development, the system maintains continuous stability without throttling.
  • Classic Black ABS Case: The black Case switch features a transparent, integrated design for easy monitoring of indicator light status. Stylish appearance, robust and durable construction, removable top cover, and precision port openings for effortless access to all connections.

Use cgps or gpsmon to check for a valid GPS fix. GPSD’s HOWTO specifically recommends gpsmon for checking PPS detection. For example, use gpsmon /dev/ttyS* only if that pattern matches the active UART on your system; substitute the actual device path otherwise. Confirm that PPS events are visible, not just that GPSD is running.

Configure chrony to combine GPS time and PPS

Use serial-derived GPS time for coarse UTC context and PPS for precision. A representative chrony configuration pattern is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
TRASKIT Starter Kit for Raspberry Pi 5 4GB RAM,Pre-Loaded 64GB Edition Pi OS
  • Premium Kit: The TRASKIT Kit saves you time and effort, letting you focus on creation and bring your ideas to life quickly. Package Includes: 1x Pi 5 4GB, 1x 64GB TF Card (Bookworm pre-installed), 1x Card Reader, 1x 27W USB-C PD Power Adapter, 1x Pi 5 Case, 1x Active Cooler, 2x 4K HD Cable, 1x Instruction Manual, 1x Warranty Card.
  • Just Plug & Play!:Get started in minutes, not hours! This complete kit comes with the 64-bit Pi OS pre-installed on the 64GB SD card. Just unbox, connect, and power on to begin your project immediately.
  • High-Efficiency Active Cooling System The active cooler anodized aluminum in tandem with a PWM-controlled fan, paired with a specially designed ventilated case. This combination rapidly reduces chip temperatures, ensuring the Pi 5 consistently operates at peak performance. Even during high-load scenarios like 4K video decoding and programming development, the system maintains continuous stability without throttling.
  • Classic Black ABS Case: The black Case switch features a transparent, integrated design for easy monitoring of indicator light status. Stylish appearance, robust and durable construction, removable top cover, and precision port openings for effortless access to all connections.
  • TRASKIT 27W 5.1V5A Power Supply Designed for Raspberry Pi 5 :Engineered with deep optimization for the Pi 5’s load characteristics, this power delivery unit ensures stable voltage output even under full CPU load, eliminating restarts or throttling. Upgraded with a 1.5-meter extended cable for flexible placement and effortless connectivity. Blending minimalist aesthetics with functional excellence, it delivers both reliability and style.
refclock PPS /dev/pps0 lock GPS
refclock SHM 0 refid GPS precision 1e-1 offset 0.0 delay 0.2 noselect
allow 192.168.0.0/16
rtcsync
driftfile /var/lib/chrony/drift

This is a pattern, not a drop-in configuration for every distribution: the GPSD transport may be SHM or SOCK, and the corresponding source definition must match how GPSD and chrony are configured on that system. Chrony’s official example documents both the socket arrangement and the PPS lock relationship. In the sample, lock GPS associates PPS with the GPS time source, while noselect keeps the SHM source from being selected as the system clock source on its own.

Restrict allow to the LAN subnet or subnets that should receive time. The sample 192.168.0.0/16 is broad for many home networks; replace it with the range your clients actually use. Keep ordinary upstream NTP servers configured as a fallback and independent sanity check, especially if GPS reception can be interrupted.

Rank #4
Vilros Basic Starter Kit for Raspberry Pi 5 with Dual Passive and Active Cooling Case-Includes Pi 5 Board, Case, Power Supply, 32GB Preloaded SD Card, HDMI Adapter & More (1GB, Black)
  • A RASPBERRY PI 5 KIT FROM AN APPROVED RESELLER: This Vilros Complete Starter Kit for Pi 5 Includes Raspberry Pi 5 Board with all the accessories you need to get started.
  • 11 PART KIT INCLUDES MOST ACCESSORIES NEEDED YOU TO GET UP AND RUNNING : 1.Raspberry Pi 5 Board–2.Metal/Aluminum Alloy Passive & Active Cooling Case–3.Raspberry Pi 5 Compatible Power Supply–4. PWM fan With 10k Max RPM Capacity (pre installed in the case)--5. 128GB Micro SD Card With 64bit Raspberry Pi OS Preinstalled–6. Micro SD to USB Adapter to rewrite SD card if Desired–7. Standard HDMI to Micro HDMI Adapter Cable--8.Neoprene Storage bag–9.Vilros Quickstart Guide for Raspberry Pi–10. Mini To Standard Camera Module Adapter Cable to use a camera module with a PI 5--11.LIR2032 Battery Connector For Raspberry Pi 5 RTC Port (connector ONLY Battery NOT Included)
  • RASPBERRY PI 5 SPECS AND FEATURES:--Processor: Broadcom BCM2712 2.4GHz quad-core 64-bit Arm Cortex-A76 CPU, with cryptography extensions, 512KB per-core L2 caches, and a 2MB shared L3 cache----Features: 2.4GHz quad-core, 64-bit Arm Cortex-A76 CPU–VideoCore VII GPU supporting Vulkan 1.2 and OpenGL ES–LPDDR4X-4267 SDRAM (4GB and 8GB options)--PCIe 2.0 x1 interface for fast peripherals ( Requires adapter)--Dual-band 802.11ac Wi-Fi 2.4 GHz and 5.0 GHz –Bluetooth 5.0 / Bluetooth Low Energy (BLE)
  • MULTIFUNCTION PASSIVE & ACTIVE COOLED CASE : Case feautes a built in pole/column that contacts the main chip on the raspberry pi 5 board via an included thermal pad too passively cool the board and also includes a preinstalled PWM Fan that plugs directly into the fan port on the board. The fan will only turn on if needed and will also increase RPMs as needed. Other features include a built in power button that shows the on board light status, camera module compatiblilty, can be used in single layer configuration for hat compatibilty
  • HIGH QUALITY COMPONENTS: All components are manufactured with Raspberry Pi in mind and are backed by the Vilros 1 Year wartranty.

Verify lock before relying on the server

  1. Confirm the kernel PPS device: Run ls -l /dev/pps0. The device should exist if the GPIO driver and chosen pin are configured correctly.
  2. Confirm GPS and PPS activity: In gpsmon, check for a valid fix and visible PPS events. A valid serial fix without PPS events is not enough for this configuration.
  3. Inspect chrony’s sources: Run chronyc sources -v. Check whether the GPS and PPS sources are reachable and whether chrony is selecting the intended reference.
  4. Check the server’s status: Run chronyc tracking. Once the system is locked to its directly connected GPS reference, the output should identify the selected reference and report Stratum : 1.
  5. Observe it over time: Watch several minutes of samples before treating the setup as stable. A single successful status check does not establish that reception and synchronization will remain reliable.

Troubleshoot a server that will not reach Stratum 1

  • No /dev/pps0: Recheck the GPIO selection, PPS overlay or driver, wiring, and common ground. The chosen GPIO must be supported by the Linux PPS GPIO driver.
  • GPS fix but no PPS events: Confirm that the receiver board actually exposes PPS, that the correct pin is connected, and that the antenna has a clear sky view. Do not assume a board’s unlabeled or differently ordered pin is PPS.
  • No GPS fix or usable serial time: Check antenna placement, the UART device path, and serial configuration, including baud rate. A baud mismatch can prevent GPSD from interpreting the receiver’s messages.
  • PPS exists but chrony does not use it: Check that the chrony PPS source points to the actual device and that the GPS source identifier used by the PPS lock matches the configured time source. Also check whether chronyd has permission to access /dev/pps0.
  • It synchronizes intermittently: Consider blocked or variable antenna visibility, Pi load, UART scheduling, GPIO interrupt latency, and network hardware. Retain upstream NTP sources for fallback and comparison when GPS reception is unavailable.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What accuracy to expect

PPS is the precision signal; NMEA alone is noisier because its time information travels over a serial path. GPSD describes a suitable 1PPS receiver as a way to condition a high-quality local NTP server, and chrony’s example demonstrates Stratum 1 operation. Neither establishes a universal accuracy figure for every Raspberry Pi and NEO-6M installation. Antenna placement, receiver firmware, UART scheduling, GPIO interrupt latency, Pi load, and network hardware all influence the result seen by clients. Treat Stratum 1 as a statement about the source hierarchy, not a guarantee of a particular microsecond or nanosecond offset.

Best Value
iRasptek Basic Kit for Raspberry Pi 4B 2GB RAM Included PI4 Case,5V 3A Power Supply,Cooling Fan and Heat-Sink
  • iRasptek Pi4 Starter Kit includes a barebones bundle, which comes with everything you need to build a minicomputer. Perfect for beginners, professionals, adults, and children. The Pi is a compact computer board with endless possibilities. The set includes a Pi 4b (2GB RAM) , a high-quality case with good heat dissipation and protection,four heat sinks and one cooling fan etc.
  • Pi4 Model B features a new SOC Broadcom BCM2711, a High-performance 1.5GHz Quad-Core 64-bit ARM Cortex A72 CPU. Capable of supporting HEVC 4K streams at 60 fps and managing 2 screens in 4K. Dual-band 2.4GHz/5GHz Wi-Fi & Bluetooth 5.0 for faster connectivity. Transfers via 2 USB 3.0 ports are up to 10 times faster, 4 Gb/s or 500MB/s. High-speed Gigabit Ethernet Connector.
  • The Pi 4 Model B adopts a versatile design suitable for all users, delivering stable performance and expanding application scenarios to enhance practical experience. Its powerful computing performance supports education, home use, and large‑ and small‑scale industrial environments, enabling programming learning, hardware project development, smart home automation, Kubernetes cluster deployment, and edge computing implementation. The product offers comprehensive computing solutions to adapt to diverse usage scenarios. With reliable and efficient operation, it outperforms traditional development boards, supporting you to start creating innovative projects with the Pi 4 kit right away.
  • The set uses a high-quality ABS material black protective case, which is easy to install and features a compact structure, transforming the user experience. The micro-gap design is beneficial for lead wire management and heat dissipation of the main unit. The fan adopts a quiet bearing design and offers options for 5V/0.2A and 3.3V/0.1A, with a maximum rotation speed of up to 12,000 RPM. The heatsink set and cooling fan help improve computational efficiency. Its performance is superior to traditional heatsinks, ensuring safe and quiet operation.
  • The new 5.1V/3A USB Type-C power supply is designed for pi 4B and has passed PSE certification and quality assurance. No need to worry about low voltage. In addition, it has a noise filter for over-current, short-circuit protection, over-voltage protection, and surge protection

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.