Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Delisted Xbox 360 games appear on Microsoft Store, hinting at console and PC backward compatibility

    Realme C85 Pro launches with a 7,000 mAh battery and is well protected against water, even for weeks of diving

    This mod for Red Dead Redemption 2 completely changes your gameplay

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Amazon to lay off 14,000 corporate employees

      October 29, 2025

      Elon Musk launches Grokipedia as an alternative to ‘woke’ Wikipedia

      October 29, 2025

      Fears of an AI bubble are growing, but some on Wall Street aren’t worried just yet

      October 18, 2025

      The sleeper issue that could play a huge role in Virginia and New Jersey — and the midterms

      October 16, 2025

      California bill regulating top AI companies signed into law

      September 30, 2025
    • Business

      Government faces questions about why US AWS outage disrupted UK tax office and banking firms

      October 23, 2025

      Amazon’s AWS outage knocked services like Alexa, Snapchat, Fortnite, Venmo and more offline

      October 21, 2025

      SAP ECC customers bet on composable ERP to avoid upgrading

      October 18, 2025

      Revenue generated by neoclouds expected to exceed $23bn in 2025, predicts Synergy

      October 15, 2025

      You can now try Fortnite directly in Discord

      October 8, 2025
    • Crypto

      America.Fun Wants To Fix the Pump.Fun Problem — But Will It Succeed?

      November 2, 2025

      XRP Inches Closer to Its Glory Zone — Only 2% Stands in the Way

      November 2, 2025

      SOL Outflows Drop 83%, But One Factor Keeps Solana Price in Check

      November 2, 2025

      Bitwise Solana ETF Draws Record Inflows in First Trading Week

      November 2, 2025

      Bitcoin Price Chart Still Screams Bullish — So Why Is the Breakout Stalling?

      November 2, 2025
    • Technology

      Delisted Xbox 360 games appear on Microsoft Store, hinting at console and PC backward compatibility

      November 3, 2025

      Realme C85 Pro launches with a 7,000 mAh battery and is well protected against water, even for weeks of diving

      November 3, 2025

      This mod for Red Dead Redemption 2 completely changes your gameplay

      November 3, 2025

      Ugreen launches new 160W fast charger with built-in smart display and five ports

      November 3, 2025

      Huawei Mate 70 Air expected to launch in a few days with more than double the battery capacity of the Apple iPhone Air

      November 3, 2025
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»DIY PTP Grandmaster Clock with a Raspberry Pi
    Technology

    DIY PTP Grandmaster Clock with a Raspberry Pi

    TechAiVerseBy TechAiVerseMarch 29, 2025No Comments5 Mins Read14 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    DIY PTP Grandmaster Clock with a Raspberry Pi
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    DIY PTP Grandmaster Clock with a Raspberry Pi

    tl;dr: I set up an open source Time Pi project to build a stratum 1 PTP and NTP timeserver using a Raspberry Pi.

    Time is important to modern society, and most of us have a clock on our wrist that’s more accurate than at any time in human history. But highly precise time is important in many industries, especially robotics, finance, and media production. And with tech like VR working its way into homes, precise time may become more important there, too.

    The timing industry has many solutions for ‘grandmaster’ clocks, which take in highly accurate time from GPS, GNSS, or other atomic-clock-backed time sources, and distribute it to local networks with extreme precision—down to the nanosecond range—using PTP.

    Historically, setting up a DIY PTP grandmaster clock server was a painful and expensive endeavor, pricing out most hobbyists. So I’m introducing a project that’s been in the works for some time: Time Pi, a stratum 1 PTP and NTP timeserver based on a Raspberry Pi 5.

    In the picture above, it is installed inside a LabStack module inside a 3U RackMate TT (an as-yet-unreleased version of DeskPi’s mini racks—I’m working with them on ironing out the design). I have powered it using a PoE to USB-C power splitter, from my GigaPlus 2.5 Gbps PoE+ switch.

    Video

    I’m lucky to live in the same city as Masterclock, a timing solutions company that’s been manufacturing time servers and clocks for most of my life.

    I’ve been discussing my project with them for over a year, and they provided me two PoE-powered NTP clocks for the studio, and for my testing with the Time Pi (the analog/digital hybrid clock is pictured above, and a 1U rackmount clock is pictured below):

    Dr. Demetrios Matsakis, formerly the Chief Scientist for the US Naval Observatory (which helps coordinate the time in UTC!), is now Masterclock’s Chief Scientist. He and John Clark (the CTO) were gracious enough to visit my studio and chat with me about their new time server, the GMR6000, and about time and DIY solutions.

    (Special thanks to Dave Bour for providing the photo above.)

    A video I published on my YouTube channel includes my conversations with them (and a lot more detail about the Time Pi). You can watch it below:

    Time Pi

    Assuming you don’t want to watch the full video, I’ll also describe the hardware itself here—as it is built around the TimeHAT from TimeAppliances.

    The TimeHAT is a $200 HAT for the Pi 5 which includes an Intel i226 2.5 Gbps NIC with PTP hardware timestamping support. There are two SMA connectors for PPS in/out (configurable), an extra U.fl connector to another PPS port on the NIC, and an M.2 slot routed for a custom GPS module.

    The slot is a little interesting, it’s described as an “OCP M.2 GNSS 2242 Slot”, and it follows the M2 Sync Module Form Factor from the Open Compute Project. Right now I can only find one commercially-available option: OCP M.2 Neo-M9N GNSS, a $195 add-on with a timing-focused u-blox GPS module.

    The HAT interfaces with the Pi 5 through both PCIe (for the Intel i226 NIC), and GPIO (for GPS communications and configuration).

    I have had some hardware issues with the i226 NIC, but it doesn’t seem like those issues are related to either the TimeHAT or the Pi, but rather, Intel’s Linux drivers. It seems like both the i225 and i226 have various strange issues, and the main one I ran into is it won’t work at 2.5 Gbps, but does at 1 Gbps.

    On the software side, I configure everything (Chrony, NTP, and PTP) with Ansible. Raspberry Pi OS / Debian is the base OS, which makes configuring all the appropriate software easy. Linux has a pretty robust set of timing-related libraries and packages, especially for PTP.

    I won’t go through the whole setup process in this post—for that, visit the time-pi repository.

    Conclusion

    My first post and video is about the Time Pi hardware and comparing it to some commercial offerings. It’s been running stably as an NTP time server in my studio for months now, and I’ve even gotten GPS to work for timing when used with a battery near one of the exterior walls.

    But I will be following up with more timing-related adventures (to be documented here and on YouTube):

    • Permanently installing an outdoor GPS antenna with my Dad, and exploring ways to combat GPS jamming
    • Configuring PTP and testing sync across a variety of target devices (including a consumer Intel motherboard!)
    • Testing various clock options, including diving deeper into Masterclock’s own (pictured above)
    • Making another attempt at getting the Pi to interface with the open source Time Card, with it’s chip-scale atomic clock (CSAC) for seriously overkill holdover performance
    • (Hopefully) building an ensemble clock with Masterclock to see if we can improve overall timing accuracy combining both our clocks together.
    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticlexAI has acquired X, xAI now valued at $80B
    Next Article Show HN: An Almost Free, Open Source TURN Server
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Delisted Xbox 360 games appear on Microsoft Store, hinting at console and PC backward compatibility

    November 3, 2025

    Realme C85 Pro launches with a 7,000 mAh battery and is well protected against water, even for weeks of diving

    November 3, 2025

    This mod for Red Dead Redemption 2 completely changes your gameplay

    November 3, 2025
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025324 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 202586 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 202565 Views

    Is Libby Compatible With Kobo E-Readers?

    March 31, 202554 Views
    Don't Miss
    Technology November 3, 2025

    Delisted Xbox 360 games appear on Microsoft Store, hinting at console and PC backward compatibility

    Delisted Xbox 360 games appear on Microsoft Store, hinting at console and PC backward compatibility…

    Realme C85 Pro launches with a 7,000 mAh battery and is well protected against water, even for weeks of diving

    This mod for Red Dead Redemption 2 completely changes your gameplay

    Ugreen launches new 160W fast charger with built-in smart display and five ports

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Delisted Xbox 360 games appear on Microsoft Store, hinting at console and PC backward compatibility

    November 3, 20251 Views

    Realme C85 Pro launches with a 7,000 mAh battery and is well protected against water, even for weeks of diving

    November 3, 20251 Views

    This mod for Red Dead Redemption 2 completely changes your gameplay

    November 3, 20251 Views
    Most Popular

    Xiaomi 15 Ultra Officially Launched in China, Malaysia launch to follow after global event

    March 12, 20250 Views

    Apple thinks people won’t use MagSafe on iPhone 16e

    March 12, 20250 Views

    French Apex Legends voice cast refuses contracts over “unacceptable” AI clause

    March 12, 20250 Views
    © 2025 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.