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”.

50 Comments

  1. teşekürler admin bey

  2. You’re no longer beholden to cable subscription and if you want a wide range of television options to get Roku device today start watching TV on upon Roku device activation by visiting roku.com/link.

  3. Situs Agen judi Idn Poker Online Terpercaya Di Indonesia dengan Bonus Jackot hingga Ratusan Juta Rupiah

  4. fxprimusidn.com ( Fxprimus Indonesia ) adalah sebuah Introducer Broker resmi di Indonesia.

  5. Cek resi pengiriman dan ongkir jne, rpx, pos, esl, tiki, pandu, pcp, pahala, wahana, cahaya, sicepat, indah, j&t, dse, sap, ncs, jet, star, first, rex, lion, ninja, idl, slis & nss.

  6. Thank you so much for this wonderful Post. This is an awesome post thank you for sharing this interesting post,

  7. Thank you so much for this wonderful Post. This is an awesome post thank you for sharing this interesting post,

  8. Tips peluang wirausaha mudah laris booming. Mau Peluang kerja bisnis online menjanjikan? Terbaru 2020 mudah menjanjikan.

  9. Tips Jitu Menang Slot games LIVE22

  10. Download New Music Amirabbas Golab
    Link Website :
    http://musicha.net/tag/amirabbas-golab

  11. Fxprimusindo.com | Fxprimusid.com adalah Master Introducing Broker (IB) dari Fxprimus atau bisa juga disebut sebagai partner fxprimus.

  12. Blog berisi teknologi, kesehatan, bisnis online, traveling, fashion, otomotif, keuangan, properti, pendidikan, entertaintment.

  13. Dapatkan informasi wisata alam indonesia dan tempat liburan menyenangkan.

  14. Mau Peluang kerja bisnis online menjanjikan? Terbaru 2020 mudah menjanjikan. tips peluang wirausaha mudah laris booming.

  15. Bersishaja.com – Jasa Cuci Sofa Bandung | Menyediakan Layanan Jasa Cuci Sofa, Springbad, Jok Mobil, Kursi Kantor, Kursi Makan Dan Karpet.

  16. Digiartpromo. Sablon Spanduk Kain, Sablon Umbul-umbul Kain, Jasa Pasang Umbul-umbul, Digital Printing Spanduk Kain, Printing Umbul-umbul Kain

  17. Private Label. Herbalokal Ltd. is a one-stop shop for all your Organic and superfood product, from formulation to label design to production and shipping.

  18. MHD Express merupakan sebuah jasa pengiriman yang sudah terpercaya serta memiliki reputasi yang baik di mata konsumen.

  19. Ratusan Paket ketering nasi box buffet, dan snackbox favorit di Jabodetabek. Nasi box mulai dari 19.000, buffet mulai dari 45.000.

  20. Jual modifikasi container Kategori Container Office murah, Harga jual terbaik, berbagai pilihan, murah langsung dari distributor.

  21. I am very glad to read your ultimate blog. this post is very useful to all readers.

  22. We are providing a service for Roku Device Activation, Add-on Channels on roku and other subscription packs related to roku. For any query, contatct our customer support team by dailing toll free number +1-844-581-4357 or visit our website.

  23. Ide usaha rumahan modal kecil di tahun 2020 berikut ini bisa anda jadikan ide bisnis untuk anda jalankan.

  24. Wargapoker adalah perusahaan yang bergerak dalam pembangunan game online.

  25. Download Anime Kyokou Suiri Subtitle Indonesia Lengkap

  26. Wireless Roku activation:
    Initially, the Roku streaming player must be linked to the Roku TV
    The Roku account is used to store all of your preferences that includes your favorite channels
    Thirdly, To manage your Roku account  use a valid e-mail address
    Use a secure passphrase for avoiding unnecessary mishaps from taking place

  27. The customer service of the airline is ready to help customers anytime, so you can call at jetblue airlines reservations flights +1-800-201-4791 for any information regarding flight bookings, cancellation, refund, baggage policy, etc.

  28. Well, in this world Alexa Dot is a hands-free smart speaker were work is based on voice recognition software process. If you want to setup Alexa through Wi-fi just have most of your work accomplished by instructing the device. The inbuilt features support speaker devices to enable mobile calls and send text messages Alexa echo app download.

  29. The inbuilt features support speaker devices to enable mobile calls and send text messages Alexa echo app download.
    Echo App Setup Download
    alexa echo app download
    Download Alexa App

  30. I am very glad to read your ultimate blog. this post is very useful to all readers.
    garmin support

  31. American Air Condition and Heating, Inc. is a family-owned Los Angeles company providing professional installation, maintenance, and repair services for all air conditioning and heating units.

  32. Hulu is a Disney-owned broadcasting service that broadcasts live channels, along with TV shows and movies on demand, on devices connected to the Internet, such as Roku. Hulu offers some different subscription plans as well as additional premium channels like HBO Shovtime, Cinemak and Starz. If you have any query regarding activation of hulu on roku, call us +1-844-581-4357 or visit hulu activate

  33. Nuger Rental Mobil Cirebon 24 Jam, Sewa Mobil Cirebon, Rental Innova Cirebon, Rental Hiace Cirebon – Sewa Elf Cirebon – Call: 085759752047.

  34. Really great article!! thanks for sharing your helpful information for us, and i would like to say that please continue sharing your information.

  35. Nice One this blog is really good.

    I’m Ella Tayler I live in New York, United States. I will be working in an award-winning Cash App service and support company. Cash App is a widely known payment application in the United States of America. there I am resolving Cash App problems and issues when user-facing any problems or error on Cash App like resolve Cash App not working issue, Recover the Cash App and many more. To know more visit our Company Website.

  36. Nice One this blog is really good.

    I’m Ella Tayler I live in New York, United States. I will be working in an award-winning Cash App service and support company. Cash App is a widely known payment application in the United States of America.

  37. tentang perawatan kucing

  38. situs agen judi slot online

  39. Configure NTP Client to be Time Synced with the NTP Server. Step 1: Install ntpdate. Step 2: Specify IP and hostname of the NTP server in the hosts file. Step 3: Check if the client machine’s time is synchronized with NTP server. Step 4: Disable the systemd timesyncd service on the client.

  40. Hello! I read your whole content it seems to be a very rare and uncommon for me. Keep it for your future updates. and i will share your content on my social pages.

  41. Roku express+ model can be directly connected to your old Tv by using composite cables or if your tv has usb cable port then it will be easy to connect it.Roku Express+ model are available at low and affordable cost. To know about roku without HDMI port. To know more visit our website

  42. I liked your article its an interesting and it attract other peoples to read this article.Thank you so much

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑