home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / time / gpstime_1 / !GPS_Time / !Help next >
Text File  |  1997-08-01  |  1KB  |  32 lines

  1. !GPS_Time          Reset Acorn CMOS Clock from GPS         Date: 1997 Jun 08
  2.                    -------------------------------
  3.  
  4. This program resets the computer's clock from a GPS receiver.
  5.  
  6. The receiver should be plugged into the computer's serial port.  Only
  7. RXData is needed.
  8.  
  9. ASCII plaintext messages scanned are $GPRMC and $GPGGA, typically:
  10.  
  11.   $GPRMC,203409,A,5212.4600,N,00003.5436,E,0.174,296.8,060697,3.8,W*6B
  12.   $GPGGA,203410,5212.4585,N,00003.5379,E,1,08,1.00,7.9,M,47.0,M,,*72
  13.          |----|
  14.             ^----  time, hhmmss
  15.  
  16. Only time is reset; the computer's date is assumed correct.
  17.  
  18. You may find that your GPS set's time differs from true UTC by a second or
  19. two.  Change the variable "SECoffset" in !RunImage to add or subtract a
  20. correction (in seconds) to GPS time.
  21.  
  22. The GPS is also assumed to be displaying a valid time; that is, the $GPRMC
  23. validity flag (A or V) is not checked for either state.
  24.  
  25. These is no indication that this program is running unless you bring up the
  26. Task Manager window (click on the Acorn).  Then you will see an entry "UTC from
  27. GPS v1.01".  If the GPS set is working, this will disappear almost immediately
  28. with a beep.  Otherwise it will persist for 10 seconds, and then Quit silently.
  29.  
  30. James Miller  g3ruh@amsat.org
  31. <eof>
  32.