GPS-clock using BS-2 and PAM-7Q

The attached BS-2 program allows a vanilla BS-2 to follow a PAM-7Q GPS module and display the time and date. It does not monitor or display latitude, longitude, etc, just the time and date.

The BS-2 begins by reprogramming the GPS module to 4800 baud and requesting a ZDA sentence once a second. The ZDA contains only time and date, and is small enough to fit in the BS-2 memory. Once a second, the BS-2 receives a ZDA, converts UTC time and date to any even-hour time zone, and displays it. It also finds the Day of Week. It adjusts for Daylight Saving Time in March and November.

One can force any ZDA sentence for testing purposes.
Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.

Comments

Sign In or Register to comment.