Skip to content

Support PPS for accurate UTC timestamps

Compare
Choose a tag to compare
@SlashDevin SlashDevin released this 23 Mar 02:44
· 113 commits to master since this release

Major changes:

  • A PPS digital input can be used to "timestamp" the start of each UTC second. This timestamp can be used to calculate the current UTC microseconds or milliseconds from the current Arduino micros().

  • If the PPS digital input is not available, the character stream can be used to "guess" the interval start, within a few milliseconds. This is affected by the GPS device's computation time.

  • SyncTime.ino example shows how to run off the UTC millisecond clock instead of the Arduino millis() function.

Minor changes:

  • The NMEA degrees/minutes format for lat/lon can now be printed by a DMS variable. A fix.location can be used to set the DMS values, and then DMS.printDDDMMmmmm will print those values to the selected output stream.