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 serialpps-20091228.zip 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 “ntp-4.2.4p6-DLH-QPC-20090315-bin.zip
Copy to “C:\Program Files\NTP\bin”, replacing previous ntpd.exe.

5.  Install SerialPPS.
Extract all from “serialpps-20090606.zip“.
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
Name:  PPSAPI_DLLS
Value: C:\serialpps-ppsapi-provider.dll

6.  Configure GPS (for Garmin)
Run “SNSRCFG.exe
Connect to GPS
Configure
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 127.127.22.1 minpoll 4 #PPS
server 127.127.20.1 iburst prefer minpoll 4 maxpoll 7 #GPS
#fudge 127.127.20.1 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”.

53 Comments

  1. Really great post………its very helpful content……Keep posting

  2. if any queries take place while exploring features of Garmin, get in contact with the team of expert for 24/7 support. A team will sort your queries at garmin.com/express

  3. Situs Daftar Agen Judi Sabung Ayam Online Terpercaya S128, SV388 dan CFT2288, Nikmati promo dan bonus 100% dengan syarat menang 7x secara beruntun.

  4. Thank you very much for this excellent information. !!! i really appreciate this good work, keep it up!

  5. Situs agen judi sabung ayam online s128, sv388 dan cft2288 terpercaya, dapatkan promo menarik dan bonus 100% dengan syarat meaning 7x secara beruntun

  6. layarlebar21.id merupakan situs penyedia hiburan yang menyajikan film – film keren streaming dan download film gratis terlengkap.

  7. Teknoin adalah sebuah media teknologi online yang membahas tentang materi, tutorial, serta tips dan trik.

  8. HP Support professional team provides proper information on HP Printer Error Code 0x83c0000a.
    Ring at: +1-888-500-9609

  9. Di sini kalian bisa nonton anime sub indo gratis dan mudah untuk download streaming anime sub indo terbaru dengan kualitas lengkap.

  10. I fully impress this post to read…………Thanks for sharing us

  11. Tempat Bimbingan Tes CPNS 2019 Terpercaya, Materi lengkap dengan Materi dan Prediksi.

  12. Avg is associate antivirus code that protects your system against viruses, ransomware, and completely different on-line threats. This antivirus code provides an email defend technology. Hence, Avg will automatically scan emails and deduct contents that contain malware.
    http://avg-login.me/

  13. مچ بند هوشمند یکی از جذاب ترین وسایل الکترونیکی و دیجیتال است که این روزها افراد زیادی برای سنجش میزان فعالیت و کالری مصرفی روزانه خود از آن استفاده می کنند. این مچ بندها بسیار ساده و سبک بوده و شما می توانید به راحتی در تمام طول روز و در…

  14. Daftar Situs Agen Judi Sabung Ayam Online S128 | SV388 | CFT2288 Terpercaya di Indonesia Bonus Jackpot 100% Win 7x Beruntun dan Nikmati Berbagai Promo Menarik Lainnya

  15. Daftar di Situs Judi Agen Slot Ace333 Online Terpercaya di Indonesia dan Raih Casback Mingguan Upto 8%.

  16. Daftar di Situs Judi Agen Resmi Slot Live22 Online Terpercaya di Indonesia dan Raih Casback Mingguan up to 8%.

  17. SukabumiToday adalah website opini terpercaya dan terbuka untuk warga Sukabumi.

  18. Daftar situs Judi Agen Slot Game Online Indonesia Ace333, Joker dan Demacao serta Dapatkan Bonus Cashback 5% Setiap Minggu.

  19. Post is great! If you still have questions, feel free to ask by sending a mail and call us our Dating customer service number ; we will be happy to help!

  20. Indobola77 adalah situs judi sabung ayam online terpercaya yang menyediakan jasa untuk pembuatan ID Game sabung ayam S128 dan SV388 secara online.

  21. Buku tafsir mimpi terlengkap untuk 2d bergambar dan 2d abjad terbaru serta erek-erek yang memiliki angka pelarian, taysen dan kode alam togel.

  22. Actually! This is great post ….Thanks for posting us

  23. Sewa Videotron / Led Wall Screen di INDOLED. Silahkan lihat rincian produk yang kami tawarkan pada anda melalui halaman ini.

  24. Thanks for sharing this piece of information. I really enjoyed it. keep up the best work and all the very best of luck!

  25. However, it is natural for you to face one or the other problem at times when you are an AT&T subscriber as it is a technology based service. There is no need to worry if and when this happens as we provide quick and authentic AT&T mail support on phone.

    We are Assistance for All, the most highly rated AT&T support agency working in the country. Call at 1-877-916-7666 at any time you need help to reach our AT&T mail support helpline.

  26. Kami melayani Jasa Optimasi Website Murah dengan Garansi Halaman 1 Google, terpercaya dan berpengalaman dalam bidang marketing online. seojogja.com menggunakan teknik white hat SEO.

  27. Nice post thanks for sharing, i really liked this. Keep this good work doing, I’ve Bookmarked your website for future visit

  28. Just dial 1-877-916-7666, the toll free AT&T mail support service of Assistance for All. It is the most loved and reliable AT&T support service operating in the country.

    We have helped hundreds of AT&T customers in the last few months. You can dial this number to get authentic support regarding your AT&T account without any delay.

    https://www.assistanceforall.com/services/email-support/att-email-support/

  29. We have helped hundreds of AT&T customers in the last few months. You can dial this number to get authentic support regarding your AT&T account without any delay.
    https://www.assistanceforall.com/services/email-support/att-email-support/

  30. Brandtalk Advertising Layanan one stop solution untuk kebutuhan marketing, branding dan merchandising. Dengan jaminan berkualitas.

  31. We Fix All maps device issues, Magellan GPS update, Garmin map update, Tomtom map update or any other maps device.

  32. Bypass limit google drive dengan mudah

  33. This is a very nice article website and Your content entry merits the greater part of the positive input it”s been getting.

  34. Really amazing information, thanks for your efforts for this blog. Many thanks for sharing this excellent post, very useful & informative.

  35. jual jasa online indonesia, membantu membuat toko online dan promosikan bisnis/website via iklan google ads dan seo.

  36. I am very happy with your content, it is very meaningful and meticulous, I hope you will have well article like this to bring to the reader.

  37. PRESSA CARGO: Jasa Freight Forwarder Jakarta, Jasa import door to door, Jasa import undername, Jasa import borongan, Jasa custom clearance, Jasa Ppjk.

  38. I liked this blog ! If you want you can check these amazing ones i’ve found on the internet.

  39. Pressa Cargo: Jasa import door to door, Jasa Import borongan, Jasa Custom clearance, Jasa import undername, Jasa ekpedisi cargo.

Leave a Reply

Your email address will not be published.

© 2025 Jeremy W. Langston

Theme by Anders NorenUp ↑