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

56 Comments

  1. This agency’s staff is very attentive and professional. We have been able to reach a larger audience and increase guest engagement thanks to their Hotel Marketing Agency in india. I heartily endorse using their services!

    • Vous êtes à la recherche d’une alternative innovante et de haute qualité pour votre télévision ? L’IPTV Maroc 4K est la solution idéale pour vous !

  2. Good job.. Awesome blog post,

    • يلا شوت تيفي Yalla Shoot tv مشاهدة أهم مباريات اليوم بث مباشر موقع يلاشووت الاصلي بدون توقف ولا تقطيع في البث المباشر علي الرابط الوحيد يلاشوت yalla-shoot.com الذى يوفر مشاهدة اهم مباريات اليوم بث مباشر بدون تقطيع على العديد من سيرفرات البث المباشر العربية والعالمية ومشاهدة المباريات في اي مكان بدون تقطيع في البث ولا توقف ويعمل على جميع سرعات النت ،

      • هل تبحث عن طريقة مبتكرة لتزيين أغراضك وإضفاء طابعك الشخصي عليها؟ هل تريد تنظيم أدوات مكتبيك أو هدايا أطفالك بطريقة ممتعة؟ الحل يكمن في ملصقات الأسماء!

  3. The detailed guide on installing and using NTP with a Garmin 18 GPS is a fantastic resource for tech enthusiasts! The step-by-step instructions make complex setups seem effortless. It’s impressive how such precise tools can enhance time synchronization and overall system performance. Great job in making this technical process so accessible!

    • يشهد عالم التجميل تطورات مستمرة، ومن أبرز هذه التطورات ظهور أجهزة الليزر المنزلية التي توفر حلولاً فعالة لمختلف مشاكل البشرة. ومن أبرز هذه الأجهزة، نجد ليزر ملاي الذي اكتسب شهرة واسعة في الآونة الأخيرة.

  4. This blog post is a goldmine for anyone looking to integrate NTP with a Garmin 18 GPS! The clear, detailed instructions and practical tips are incredibly valuable. It’s amazing how these technical setups can significantly improve accuracy and system efficiency. Thanks for providing such a comprehensive guide!

    • تعتبر دراسة النفس البشرية من أقدم وأشمل المجالات التي شغلت العقل البشري عبر العصور. ومع تطور العلوم والمعرفة، برزت العديد من التيارات والمفاهيم التي تسعى لفهم أعمق للسلوك الإنساني ودوافعه. ومن بين هذه التيارات، برز ما يعرف بـ “علم النفس المظلم” أو “علم النفس الأسود“.

  5. 뉴토끼‘s community is so welcoming. Love interacting with fellow fans.

  6. Dapatkan Link Gacor Kanjengslot hanya melalui blog ini. See you soon.

  7. Really good blog and nice articles. Thanks

  8. It’s staggering to see how particular synchronization with GPS time on Windows XP changed into performed with sub-millisecond accuracy using David Hart’s driver for NTP.

  9. Event FREESPIN, garansi kekalahan uang kembali, dan berbagai event besar seperti Event Bola Parlay dan Event Togel dengan total hadiah mencapai 15 Milyar Rupiah selalu menanti Anda! Kami adalah situs resmi bersertifikasi PAGCOR yang menjamin keamanan dan kenyamanan bermain Anda.

  10. marmaraereğlisi taksi durağı, ereğli taksi hizmetleri, acil taksi

  11. Bermain di colatogel terasa adil dan transparan.

  12. Thanks for sharing. I am glad that I found this informational post.

  13. برترین سایت گوگرد معدنی

  14. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future…

  15. برای خرید بهترین های آرایشی لطفا به مای سفورا مراجعه کنید

  16. Heyy!!! I am Chris Evans. I am the writer in this company, For specific details such as the exact Eurowings Düsseldorf Office Contact Numbers, or any other inquiries related to the Eurowings Düsseldorf Office Address, it’s advisable to check our website The Eurowings Düsseldorf Office ensures a professional and customer-centric approach, aiming to provide seamless travel experiences for passengers flying with Eurowings.

  17. I am the writer in this company, For specific details such as the exact Eurowings Düsseldorf Office Contact Numbers, or any other inquiries related to the Eurowings Düsseldorf Office Address, it’s advisable to check our website The Eurowings Düsseldorf Office ensures a professional and customer-centric approach, aiming to provide seamless travel experiences for passengers flying with Eurowings.

  18. The best house cleaning service available in Gurgaon! The crew was thorough and productive, and my house was left immaculate. Excellent value for the money and essential for thorough cleaning.

  19. A California license plate search is a tool used to gather information about a vehicle registered in California using its license plate number. This search can provide details such as the vehicle’s make, model, year, and registration status, as well as information about the registered owner. It is commonly used for purposes like confirming vehicle ownership, investigating potential fraud, conducting background checks after accidents, or checking for outstanding fines or liens.

  20. An Arizona license plate search allows individuals to obtain detailed information about a vehicle registered in Arizona by using its license plate number. This search can uncover details such as the vehicle’s make, model, year, and the registered owner’s information. It is often used for purposes such as verifying vehicle ownership, checking for any outstanding liens or fines, and investigating potential fraud or accidents.

  21. A New York license plate search enables you to obtain information about a vehicle registered in the state using its license plate number. This search can reveal details such as the vehicle’s make, model, year, VIN, and registration status, though personal owner information is restricted by privacy laws. You can perform searches through the New York Department of Motor Vehicles (DMV) or authorized third-party websites. It’s important to comply with the Driver’s Privacy Protection Act (DPPA) when accessing vehicle records. This service is particularly useful for verifying vehicle details before purchase, checking a car’s history, or investigating accidents and legal matters.

  22. this is Excellent and useful content

  23. What a fabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much.

  24. Great guide on installing and using NTP with the Garmin 18 GPS! Your detailed steps are incredibly helpful. Just as precise tech setups are crucial, getting the best men’s health medical advice from a telehealth doctor can ensure optimal well-being. Thanks for such valuable content.

  25. Thank you, Very good article, Also visit our site at this link: PINTOTO

  26. Great article, very useful indeed

  27. Windows XP machine with GPS time is the best option, i will try to use same things let see what happens

  28. شركة الرفاعي للعلاج الطبيعي في التشيك: دليل شامل للعلاج المتميز
    العلاج في التشيك
    تعد التشيك واحدة من أبرز الوجهات العالمية للعلاج الطبيعي وإعادة التأهيل. تتميز البلاد بتقديم خدمات علاجية متقدمة تجمع بين التقنيات الحديثة والعلاجات التقليدية، مما يجعلها خيارًا مثاليًا للأشخاص الذين يعانون من أمراض مزمنة أو إصابات تحتاج إلى رعاية متخصصة. تقدم المصحات التشيكية برامج علاجية متكاملة تشمل جلسات العلاج الطبيعي، التدليك العلاجي، والعلاج بالماء، إلى جانب برامج التغذية واللياقة البدنية التي تهدف إلى تعزيز الصحة العامة وتحسين جودة الحياة.
    يتلقى المرضى في التشيك رعاية شخصية متميزة من قبل فريق من الأطباء المتخصصين في مجالات متعددة، بما في ذلك العلاج الطبيعي، العلاج الوظيفي، العلاج بالماء، والعلاج بالليزر. يتم تصميم برامج العلاج لتناسب احتياجات كل مريض بشكل فردي، مما يضمن تحقيق أفضل النتائج الممكنة في أقصر وقت ممكن. بالإضافة إلى ذلك، توفر المصحات التشيكية بيئة مريحة ومهيأة تمامًا للاستشفاء، حيث يمكن للمرضى الاسترخاء والتركيز على شفائهم دون أي مشكلات

  29. Looking at this article, I think this website needs much more attention. Paito Warna China

  30. Entre les nombreuses piscines municipales et privées, les instituts de massage proposant des techniques variées, et le Massage Lyon californien en particulier, les Lyonnais ont l’embarras du choix pour un moment de pure relaxation.

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑