The Mac Observer

 
   
 
GPS Atomic Time Sync
Posted: 15 October 2009 03:17 AM   [ Ignore ]
Power User
RankRank
Total Posts:  66
Joined  2006-06-09

Hey Geeks!

I am out on a nerdy mission tonight! I have recently moved to Santa Cruz, California, USA and I have discovered that the Atomic Clock that I have that syncs via the radio waves from WWVB in Boulder, Colorado does not obtain a strong enough signal to synchronize with atomic time.

I know that GPS can provide an EXTREMELY accurate time stamp (within nanoseconds) if it has a valid time sample of about 24 hours. I have a nice Bluetooth GPS receiver, so I was wondering if anybody knew of some good mac software I could use to read the time stamp from my GPS receiver so that I can obtain accurate time.

Thanks and keep up the great work, I’ve been a listener since show #1!

-Alex Krishnan

 Signature 

Your Average 18-year-old Mac Geek,
-alex

Profile
 
 
Posted: 16 October 2009 04:36 AM   [ Ignore ]   [ # 1 ]
Power User
RankRank
Total Posts:  66
Joined  2006-06-09

I have figured it out, and the solution is very geeky! For those fellow nerds who are interested and have a bluetooth and/or USB/Serial GPS reciever:

1. Pair your bluetooth receiver using the normal setup assistant
2. Download the cool software from furrysoft called goSerial at http://www.furrysoft.de/?page=goserial. This software can send and receive serial data from any serial port in your mac (including bluetooth serial ports).
3. Launch the app and you should see a configuration dialog. Under the “Port” tab choose the name of your newly-paired BT GPS receiver.
4. Now we must set up the COM port settings as per the NMEA communication standard as detailed at http://www.gpsinformation.org/dale/nmea.htm. This means that we must set the speed (baud rate) to 4800, Data Bits to 8, Parity to none, and Stop Bits to 1.
5. Now click OK and press the button in the top left corner that looks like a plug. You should now see a bunch of text scrolling across the screen (if your GPS receiver has a valid fix).
6. Now pause the readout by pressing the same button so that you can read through the output and interpret it.
7. Read the section at http://www.gpsinformation.org/dale/nmea.htm entitled “Decode of selected position sentences”.
8. Read through your output and see which types of data your device is outputting. You will see many different line prefixes, but my bet would be that almost all devices will output a line that starts with $GPRMC, then a number (such as 123519).
9. This first number after the comma is UTC time that is accurate within about a nanosecond, depending on your GPS unit. Of course there is about a 1 second delay before the data is actually transmitted and printed to the computer screen so you will still only see accuracy of about 1 second if you are viewing the live data output of your device.


Post any questions/problems you run into if anyone is interested!

-alex

[ Edited: 16 October 2009 04:42 AM by computerbandgeek ]
 Signature 

Your Average 18-year-old Mac Geek,
-alex

Profile
 
 
Posted: 16 October 2009 11:19 AM   [ Ignore ]   [ # 2 ]
MacMac
Rank
Total Posts:  1
Joined  2009-10-16

or, you can download the oddly named but excellent gps utility “GPS Utility” (look on versiontracker) which will tell you the utc time after you pair uyour bluetooth gps

Profile
 
 
Posted: 16 October 2009 05:27 PM   [ Ignore ]   [ # 3 ]
Power User
RankRank
Total Posts:  66
Joined  2006-06-09
jsnaulty - 16 October 2009 11:19 AM

or, you can download the oddly named but excellent gps utility “GPS Utility” (look on versiontracker) which will tell you the utc time after you pair uyour bluetooth gps

Good find! Much cleaner and easier but distinctly less geeky razz. Now I know better for next time!

 Signature 

Your Average 18-year-old Mac Geek,
-alex

Profile
 
 
   
 
 
  • Buy Stuff, Support TMO!
  • Read TMO on Kindle

  • TMO on Twitter!

Apple Stock Quote

  • AAPL: $258.11. Change: 0.00.
  • (Prices delayed up to 20 minutes.)
  • Discuss in our Apple Finance Board

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features

Support The Mac Observer

We noticed you may be running AdBlock on your computer. It takes real money to run this site and to deliver the news, tips, and opinions you love to read.

If you wish to block the ads that pay for the creation of our content, we ask that you instead support TMO Directly, either with a $5 monthly recurring contribution, or a one-time donation of any amount of your choice. Thanks!

Subscribe with Paypal Donate with Paypal