Tag Archives: Haversine

Measure Distance Between Two GPS Points with the Haversine Equations

In this video lesson we show how we can modify our GPS tracker project to calculate the distance between any two GPS points. User presses the onboard button to log the first data point. Then the user travels to the next point, and then presses the button again. The system calculates the distance between those two points, and the heading angle between the first and second point.

This is a schematic of the circuit we are using:

GPS Tracker
Schematic for Controlling GPS Tracker from the Breadvolt

For your convenience, this is the code developed in the video lesson: