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

52 Comments

  1. This post resonated with me. Thanks for putting it out there.

  2. Master Togel Sdsbtoto best world industries situs slot gacor deposit via pulsa server thailand serta mastertogel. Tersedia pasaran togelmaster toto macau, data hk master, paito hk, paito sydney hingga sgp.

  3. You’ve written an extremely insightful and engaging essay.

  4. really good content AND hopefull you keep it up.

  5. Crystaltogel menyediakan beragam permainan togel yang menarik dan menghibur, dengan teknologi terbaru untuk memberikan pengalaman bermain yang nyaman dan aman bagi para pemainnya.

  6. Informative article! Very useful for me! This article was really easy to understand!
    Thank you so much.I want to learn more about it!

    media digital teknologi

  7. apollotv group your gateway to an immersive and cutting-edge IPTV experience. We are revolutionizing the way you consume television, seamlessly merging technology with entertainment to bring you an unparalleled viewing experience.

  8. فر شیرینی پزی کابین مبتکر امکان پخت شیرینی و کیک درhttps://www.kabinmobtaker.com/cat/4 تعداد بالا در خانه را فراهم کرده است

  9. تنور گرد زمینی کابین مبتکر امکان آشپزس در فضای باز را فراهم کرده است.
    https://www.kabinmobtaker.com/cat/2

  10. تنور گرد زمینی کابین مبتکر امکان آشپزس در فضای باز را فراهم کرده است.
    https://www.kabinmobtaker.com/cat/2

  11. I appreciate the time you took to collate this information for me

  12. true to say that you are just a genius to post such content here.

  13. Great Post Thanks For Sharing With Us. Devika Group has ample experience in the real estate and construction sector in India. They are one of the leading property developers for both residential and commercial spaces and have a significant presence in India, and in the heart of Delhi. The company is known for providing high-quality residential commercial options at an affordable price.

  14. Amazing Post Thanks For Sharing With Us. Devika Group has ample experience in the real estate and construction sector in India. They are one of the leading property developers for both residential and commercial spaces and have a significant presence in India, and in the heart of Delhi. The company is known for providing high-quality residential commercial options at an affordable price.

  15. Iptv trends is an IPTV service provider that offers the best of the best and High Defenition channels that any customer can ever experience, All IPTV content is available in high definition, It is simple to use and has an intuitive , user interface, making it easy for customers to navigate and find their favorite channels.

    Visit our website: https://iptvtrend.com

  16. بهترین آموزش باباکرم در آسشو
    http://www.assho.ir/Baba-Karam

  17. Bangalore Escorts

    December 29, 2023 at 3:41 am

    Thanks for Very efficiently written information. It will be beneficial to anybody who utilizes it, including me Bangalore Escorts.

  18. Bangalore Escorts

    December 29, 2023 at 3:43 am

    Thanks for efficiently written information. It will be beneficial to anybody who utilizes it, including me Bangalore Escorts.

  19. Bangalore Escorts

    December 29, 2023 at 3:43 am

    Thanks for your blog efficiently written information. It will be beneficial to anybody who utilizes it, including me Bangalore Escorts.

  20. Pain O Soma 500 is a relaxing and pain relief medicine that reduces the pain sensation in the body. This medicine is the most effective and highly trusted by many doctors and health specialists. Pain O Soma tends to be a drug that starts immediately and has the most prolonged effect on the body.

  21. Cenforce 120 is a medication containing 120 milligrams of sildenafil citrate, used to treat erectile dysfunction in men. It works by enhancing blood flow to the penile area, aiding in achieving and maintaining erections during sexual stimulation. It’s important to use this medication under medical guidance to ensure safety and efficacy.

  22. thank you it was a useful article informative

  23. KEMONBET SITUS PALING GACOR & IDNSLOT GAMPANG MENANG YANG BANYAK JENIS PERMAINAN DENGAN WINRATE TINGGI
    Kemonbet Winrate Tinggi

    Salah satu keunggulan utama KEMONBET adalah winratenya yang tinggi. Dengan winrate yang tinggi, para pemain memiliki peluang lebih besar untuk memenangkan hadiah besar dalam permainan slot. Ini adalah salah satu alasan mengapa banyak pemain memilih KEMONBET sebagai tempat favorit mereka untuk bermain slot online.

    KEMONBET 📝 Antarmuka Ramah Pengguna

    Kemonbet memiliki antarmuka yang ramah pengguna yang mudah dinavigasi. Para pemain dapat dengan mudah menemukan permainan yang mereka sukai dan mulai bermain dengan cepat. Situs ini juga dilengkapi dengan berbagai fitur yang memudahkan pemain untuk bermain, seperti fitur pencarian dan filter.

    KEMONBET Layanan Pelanggan yang Sangat Baik

    KEMONBET menawarkan layanan pelanggan yang sangat baik. Tim dukungan pelanggan yang ramah dan profesional siap membantu para pemain dengan segala pertanyaan atau masalah yang mereka miliki. KEMONBET juga memiliki berbagai saluran layanan pelanggan, seperti live chat, email, dan telepon.

    KEMONBET Promosi dan Bonus Menarik

    Kemonbet menawarkan berbagai promosi dan bonus menarik bagi para pemainnya. Pemain baru dapat menikmati bonus selamat datang yang besar saat mereka mendaftar dan melakukan deposit pertama mereka. Selain itu, ada juga bonus mingguan dan bulanan yang tersedia untuk para pemain yang setia. Bonus ini dapat meningkatkan peluang Anda untuk memenangkan hadiah besar dalam permainan slot.

  24. jasa desain logo perusahaan Profesional TINGKATKAN BISNIS ANDA DENGAN LOGO PROFESIONAL dan branding perusahaan.”

  25. This was truly a useful publish. Thanks a lot

  26. Thanks for efficiently written information.

  27. 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 https://biknik.ir

  28. 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 https://biknik.ir

  29. Login Koitoto selalu menempatkan keamanan para member sebagai prioritas utama. Dengan sistem yang terjamin, Anda dapat bermain dengan tenang dan fokus pada kegiatan game online.

  30. Wow, this website is very good. I recommend you to follow this website because it will be very useful and can broaden your knowledge.

  31. Play Genuine Online Gaming For to Win Cash Everyday. For more advice and information, visit our website: Stasiunplay Slot

  32. Broker exness adalah Trading online di berbagai pasar dengan harga paling stabil dan andal di industri.

  33. Cenforce 150 mg also referred to as “the Red Pill”, is one of the most remarkable discoveries when you want to improve your sexual sensations. It is usually recommended to those who are concerned about impotence, and those who have been diagnosed with the same. The sexual health issue is more frequent than you think. Men in the millions suffer from soft problems with erections (erectile impermanence or erectile dysfunction) due to a variety of causes. However, there is not something to worry about because authentic oral treatments such as Cenforce are readily available.

  34. Crystaltogel Situs Bandar Togel BBFS 10 Digit Bet 10 Perak Terbaik Terpercaya, togel online terbesar dan juga resmi yang berdiri di Indonesia.

  35. Wow, this website is very useful because it is full of articles that can increase our insight and knowledge, I highly recommend following this website.

  36. thank you it was a useful article informative

  37. thanks for sharing please visit my web situs slot gacor 2024 !!!

  38. Daftar sekarang! Mainkan permainan games online dengan hadiah menarik. Klik disini: https://109.123.235.175/. Atau cari di google ilucky88

  39. thanks for your blog and journal, you can support my page: Borneo338.

  40. Dewascore merupakan situs sportsbook yang akan memberikan pengalaman bermain sportsbook yang mengasyikkan dan menguntungkan untuk anda sebagai para pemain.

  41. Menangkan keberuntungan besar Anda di kasino kami – Jackpot harian menanti Anda! Rasakan sensasi kemenangan instan dengan permainan kasino terbaru dan terpanas. Temukan strategi di situs Mildcasino terbaik untuk mengalahkan bandar dan menang lebih banyak di meja judi. Gabunglah dalam turnamen eksklusif dan raih pengalaman unik di dunia kasino online. Raup untung besar dengan promosi eksklusif hanya untuk pemain kasino pilihan.

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑