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. This post really improve my knowledge. Thanks for the wonderful post.

    https://www.nevastech.com/

  2. The next time I read a blog, I hope that it does not fail me just as much as this particular one. I mean, I know it was my choice to read, nonetheless I actually believed you would probably have something useful to talk about. All I hear is a bunch of whining about something you could fix if you were not too busy looking for attention.

  3. Jasawebdev adalah Pilihan dan Solusi anda. segala jenis Website sudah pernah kita buat, dari Website yang Simple sampai yang Complex.

  4. Etsa Bandung: Laser Plat Bandung, Pembuatan Plakat Bandung, Huruf timbul Bandung, Laser Cutting Bandung. CALL 087823020206.

  5. Search Engine Optimization takes the rank of your site on the next level. SEO is indeed essential since, without it, your website cannot survive. SEO works wonderfully to any location.

  6. Chord gitar indonesia, chord lagu, kunci gitar, chord gitar, kunci gitar peterpan, kunci dasar gitar, belajar kunci gitar, belajar gitar, kunci gitar dasar, chord gitar iwan fals, chord gitar bukti, chord gitar armada, chord gitar noah, chord gitar lagu, chord gitar mudah, chord gitar dasar.

  7. daftar sekarang juga dan dapatkan bonus gratis!

  8. Usaha online kini semakin mudah dilakukan orang. Modal yang minim, pilihan bisnis yang banyak menjadi alasannya.

  9. Welcome to yahoo account recovery wizard in which we will show you, how you can recover your yahoo account in different ways using yahoo account recovery wizard just follow the given steps. But first of all, you should know a few things about yahoo before learning the yahoo account recovery wizard.

  10. Apa mungkin membuka usaha tanpa modal? Mungkin saja! Kamu bisa mencoba hal-hal berikut untuk bisa memiliki usaha walau tidak punya modal.

  11. Thanks for your good website and information !

  12. We haven’t run across anything else on that scale, but when we do, we’ll be sure to share it!

  13. The GPS 18x is an OEM, high-sensitivity GPS sensor for use in automotive, fleet vehicle, and electronics applications that require a small, highly accurate GPS

  14. Are you looking for latest Garmin GPS Updates? then your search is over now! We are one of the leading name in the industry of map updates and services. Feel free to call our experts to get more information about map updates or visit our website to know more.

  15. Nobuddy gives in details of installing for gramin gps of 18.,. Thank you for added here all details regarding gramin gps..

  16. Prediksi Parlay Skor Bola Jitu Menang Akurat Malam Ini

  17. very great post thank for this article.

  18. very great post thank for tanx

  19. Sohbet etmenin keyfine varın, en kaliteli sohbet odaları burada ve mobil sohbet etme özelliği sunan bu sistemlere ücretsiz olarak giriş yapabilirsiniz. Chat siteleri her zaman bedava olacaktır.

  20. Jual Beli Motor Bekas, Jual Motor Honda, Jual Motor Yamaha, Jual Motor Kawasaki di Jakarta

  21. Very interesting and good story I hope you are successful.

  22. panduan bagi yang ingin punya sampingan dengan hasil jutaan. belajar bisnis mudah simple tapi hasil jutaan. jarvisqq

  23. Amazing post. Thanks for sharing this informative information. Is your Kindle won’t connect to wifi? Unable to download books? Need expert assistance? Then get in touch with kindle help guides.

  24. Would you like to know how to activate Roku Private Channels? Recommend an article that explains the channel activation steps. Spend your free time reading and channel activation will never be a tough task.Select your favorite Roku private channel, understand the activation steps. Stay updated to know the date and schedule of your favorite shows to enjoy streaming.Just give a call to our technical executives for further assistance on +1-866-218-6310

  25. Do not worry if you do not know how to activate Roku Private Channels? Check the recent blog posts on our webpage. I could find the channel activation steps in detail.Visit our website, if you would like to read the article.It’s always good to read and understand channel activation steps before activation.Just give a call to our technical executives for further assistance on +1-866-218-6310

  26. I did not know what are all the roku Private channels. Hence I was searching for the list of channels to activate on my Roku streaming player. I got a chance to read an article regarding the list of Roku private channels and the procedure to activate the channel on Roku devices. The instructions were explained in simple words and were clear. Therefore, I successfully activated a Roku private channel on my Roku.

  27. Situs Daftar Agen Judi Live22 Game Slot Online Terpercaya Di Indonesia, nikmati bonus dan promo menarik slot game online bersama xtrabola penyedia game slot online terpercaya di indonesia. Agen Judi Slot Live22

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

  29. Very Useful for me.Thank You so much! If you want home appliances service centre You just Opt Our technicians are having years of experience and have the ability to solve all the appliances issues.

  30. Bandar Lampung – Polda Lampung bersama dengan jajaran Polres di Lampung terus berupaya maksimal mencegah dan menindak adanya Pelaku Kriminal. terkini

  31. know about shein refund and return policy. we also mention the process. if you have any other query regarding shein and shein exiting offers call us on our toll free number.
    SheIN support

  32. The content on this site is always one of the best thanks to taking time out for your audience.
    I also invite loved ones to visit our company to order a great site and at a very reasonable price. We are your supporters until you reach a reasonable income
    http://rayanfarasoo.ir

  33. One of the best post of !
    Thank you
    webroot keycode activation
    re-download webroot
    www webroot com/safe activate
    www webroot com/safe
    www webroot geeksquad
    Toll Free
    USA +1-855-725-3249
    UK   08081893304
    Visit Us:
    https://webrootsafe.me/
    https://webrootsafe.me/redownload-webroot
    https://callphonesnumber.com/webroot-customer-service-number/
    https://webrootsafe.me/webroot-keycode-activation

  34. An intriguing discussion is worth comment. I think that you ought to publish more on this subject matter, it might not be a taboo matter but generally, people don’t discuss these issues. Thanks for sharing and we also provide the cash app customer service where you will know about how to add money to cash app card

  35. Orbi Helpline who is a team of technical guides who provide you a solution for all Orbi related issues

  36. thanks for good share and amazing post..

  37. You can solve all of the aforementioned Roku.com/link problems at the same place. Our Roku technical assistance service offers support for all Roku issues. Moreover, users can also take call us now @1-844-305-6556 our Roku technical experts to get the best information to repair their all Roku problems within 2 minutes. We have experienced in addition to certified technicians to take care of your Roku device. In addition, we are available 24*7 to offer the best Roku technical support.

  38. As a technical content writer with ten years experience, I have been writing many contents on streaming players especially Roku. Iam aware about the steps on how to setup Roku and its various other aspects. You can find the content I have written in this site. You will know how to activate the channels if you read through the contents displayed on this site. Hope this will prove useful to you when you are trying to add the channels on Roku. There are other contents as well check them out too. Adding channels on Roku is a simple process if you follow the steps given here.

  39. Herkese merhaba, blogamca.com’a hepiniz öncelikle hoşgeldiniz. Bu yazımızda sizlere bedava netflix premium hesap 2020 şubat vereceğiz. Sizlerle netflix premium hesapları 2020 ocak öncelikle onlarca hesap listesi paylaşacağız. Ancak bu hesaplardan yakalayamadıysanız aşağıya inip yorum atabilirsiniz, sırayla yorumlardan hesap vereceğiz.

  40. سلام ممنون بخاطر مطالب مفیدتون برای مشاوره انواع پایان نامه ارشد و دکتری با قیمت مناسب به سایت ما هم سر بزنید. http://www.irandocument.com

  41. Thanks for sharing the information, your writing skills are really impressive.Garmin Express Displays Server Error

  42. Thank you so much for your feedback! We are happy that this information was useful!

  43. Remarkable! Its in fact remarkable piece of writing, I have got much clear idea regarding from this article.

  44. قیمت دوربین مدار بسته ارزان

  45. visit dubai safari

Leave a Reply

Your email address will not be published.

© 2024 Jeremy W. Langston

Theme by Anders NorenUp ↑