Jeremy W. Langston

Personal Website

Installing and Using NTP with a Garmin 18 GPS (with PPS)

I recently needed to synchronize a Windows XP machine with GPS time.  One of the requirements was sub-millisecond accuracy, which is no small thing for non-RTOS computers.  David Hart to the rescue!  He has written an driver for the NTP (network time protocol) service to incorporate a PPS (pulse per second) signal.  The PPS signal, coming from a GPS, is highly accurate after sufficient time has elapsed for the GPS to sync with the satellites.  I’ve received a lot of help from David Taylor; thanks again, David!  So, without further ado, here’s an example of how to proceed with the installation:

[UPDATE:  from David Hart – “I’ve posted a new which should correct that [install.bat bug]. The (huge) debug build of serialpps-ppsapi-provider.dll is also added, along with a tiny bit of instructions in install.bat regarding PPSAPI_DLLS.”]

1.  Configure hardware.
Connect the PPS signal to the DCD pin on the RS232 connector.

2.  Install Meinberg NTP software.
Keep all defaults.
Create and use a special NTP account. (I always had problems using anything else)
Account name:  ntp (use whatever you want)
Account pass:  ntpntp

3.  Stop NTP.
Run “C:\Program Files\NTP\bin\stopntp.bat”.   There are alot of useful utils in the \bin directory.

4.  Replace ntpd.exe with altered version.
Extract “ntpd.exe” from “
Copy to “C:\Program Files\NTP\bin”, replacing previous ntpd.exe.

5.  Install SerialPPS.
Extract all from ““.
Edit “install.bat”
On line 6, remove ‘if “x86″==”%PROCESSOR_ARCHITECTURE” ‘
Remove line 7 and 8 (you can just put “REM ” in front and they will be ignored, almost like a comment)
Run “install.bat”
Ensure that “serialpps.sys” was copied to “C:\Windows\system32\drivers”
Copy “serialpps-ppsapi-provider\x86\serialpps-ppsapi-provider.dll” to “C:\”
Right-click “My Computer”, go to properties.
Click “Advanced” tab
Click “Environment Variables” button
Under “System variables”, Click “New” button
Value: C:\serialpps-ppsapi-provider.dll

6.  Configure GPS (for Garmin)
Run “SNSRCFG.exe
Connect to GPS
Set baud rate to 4800
Enable “Pulse Per Second”
Press F7
Enable GPRMC, disable others
Send config to GPS

7.  Configure NTP
Edit “C:\Program Files\NTP\etc\ntp.conf”
Remove all entries, add the following
driftfile “C:\Program Files\NTP\etc\ntp.drift”
enable stats
statsdir “C:\Program Files\NTP\etc\”
statistics loopstats
server minpoll 4 #PPS
server iburst prefer minpoll 4 maxpoll 7 #GPS
#fudge time1 0.4 refid GPS #uncomment and change time1 as needed

8.  Ensure GPS is connected to serial port 1

9.  Restart computer

10. Unplug GPS and disable Microsoft Ball-mouse (if listed)
Go to device manager: My Computer->Properties->Hardware->Device Manager
Under “Mice and other pointing devices”, right-click and disable “Microsoft Serial BallPoint”

11. Reconnect GPS Restart computer

12. Start NTP server
Run “C:\Program Files\NTP\bin\startntp.bat”

13. Monitor NTP server
Run “C:\Program Files\NTP\bin\ntpstatus.bat”
Both GPS and PPS should show up.  After the GPS gets a lock, NTP should sync to the servers.
Refer to online documentation for help.
Alternatively, use “NTP Time Server Monitor” from Meinberg

To Uninstall PPS driver, run “uninstall.bat”.


  1. BIZZ77GAME menawarkan Pola Maxwin Slot terbaik dengan tanggung jawab penuh dan game fairplay. Keamanan selalu menjadi prioritas kami.

  2. Nikmati serunya bermain judi online kesukaan kita semua di bandar togel online KAOSTOGEL. Akses dengan menggunakan link

  3. profit303slot

    May 19, 2023 at 9:53 am

    profit 303 menawarkan game online terbaik dengan tanggung jawab penuh dan game fairplay. Keamanan selalu menjadi prioritas kami.

  4. I would like to be a backlink with you and I hope you will join us


  5. We provide Mount Batur Sunrise Trekking the best trip to catch the most beautiful sunrise in Bali on Mount Batur sunrise hiking or Bali sunrise jeep tour for sunrise lover who don’t want to hike.

  6. Bizz Slot Gacor merupakan daftar situs judi slot gacor online terbaik dan terpercaya di Indonesia yang menyediakan pilihan game slot gacor terbaru dan terlengkap

  7. Makin meningkatnya permintaan situs Rupiah 369 membuat banyak situs slot palsu dari luar negeri muncul termasuk di Indonesia. Situs-situs tersebut menawarkan seperti situs RUPIAH369 Pragmatic atau situs lainnya.

  8. adalah sebuah website yang membahas seputar teknologi, jika kalian butuh informasi berkaitan dengan windows, android, software, hardware

  9. Very nice blog post. I certainly appreciate this site.

  10. We would like to thank you for this beautiful sharing, which has been a confident sharing, we wish you continued sharing. supplier mug coating jakarta

  11. pola slot gacor yang dapat kamu andalkan. Promo terdahsyat kami di Bonus Cashback mix Parlay lose 1 Team Modal Kembali 100% dan Cashback 5% Mingguan.

  12. Kami PT. Ashanua Global Dinamika, perusahaan dalam penjualan dan jasa manufaktur industri. Meliputi TERAL Engineering Services, Penjualan.

  13. When it comes to buying used car engines, transmissions, and other parts, Car Wreckers Melbourne is the best choice. With Engines and Transmissions you can get a wide range of quality parts at affordable prices.

  14. Kontraktor renovasi renovasi rumah murah & bangun rumah. Dapatkan konsultasi gratis disini! Transaksi Aman & Terjamin. Review Terpercaya. Bandingkan Penawaran. Harga Terjangkau. Jadwalkan Survey. Ahli & Berpengalaman. Proses Mudah & Cepat.

  15. [b] merupakan personal blog yang berisi dokumentasi tentang proses pembuatan website wordpress dll dengan logic yang mudah dipahami[/b]

    [b][color=#ff0000][url=]Install Website WordPress[/url][/color][/b]

  16. merupakan personal blog yang berisi dokumentasi tentang proses pembuatan website wordpress dll dengan logic yang mudah dipahami

  17. Salah satu kelebihan memainkan data hk adalah bisa dimainkan dimana saja selama anda memiliki peralatan canggih seperti smartphone atau komputer dengan akses internet.

  18. Fatima Furnitures presents products to help your eye focus on shape, form, color, and function. We’re in one of the top furniture companies in Dubai, Abu Dhabi We Ensure on Time Delivery and Great quality with the latest designs. We are manufaturing all types of home furnishing products like l shape sofa, sofa set, couchs and other. Please visit our website for more info about our products and company.

  19. Zonar is a service marketplace that connects you to nearby service providers in Selangor, Malaysia. Browse, chat and book services for your home within minutes. Enjoy a quick, convenient and secure way to hire Expert services through the Zonar app. Get home services in one app now!

  20. i love your blog for education!

Leave a Reply

Your email address will not be published.

© 2023 Jeremy W. Langston

Theme by Anders NorenUp ↑