Archives by Tag 'Navigation'
Calculating Bearing and Distance to a Latitude Longitude Waypoint with AVR Atmega C
This post will show how to calculate bearing and distance to a latitude longitude waypoint using C on an Amtel AVR microcontroller. Deathpod3000 uses the formulas I gave in the last post, but with minor changes to adapt to C on the AVR. The code should be easy to adapt to other microcontrollers like PIC, [...]
How to Calculate Distance and Bearing to a Latitude Longitude Waypoint in Excel
In testing code for Deathpod3000, I found it very valuable to have a quick and easy way to calculate correct distance and bearing to a latitude longitude waypoint to compare to results I was getting from my Atmega32 C code. In this article, I will explain a little about the formulas, show them working in [...]
Adding an I2C Compass to the AVR Atmega32
The new 5hz gps module I added in the last post is working. Now, to tackle the biggest problem discovered during Deathpod3000’s maiden voyage, we need a way to get very fast heading updates during turns. While the faster refresh rate of the new gps will help, it is never going to give us accurate [...]