Archive for March, 2009
AVR servo control
In the last post we built some functions to store and retrieve waypoints and settings to/from EEPROM. Now our waypoints and settings will survive power being turned off. The next and virtually last thing we need is to be able to control servos. Both steering and the throttle of our r/c car [...]
AVR EEPROM Tutorial
The last post we figured out how to calculate distance and bearing to a waypoint, the fundamentals of our navigation routine. Now that we can determine where to go, we have to create a way to store and retreive the waypoints we want to follow. That is the topic for today.
How to calculate distance and bearing to a waypoint
Note: I have published 2 more in-depth posts that contain more detailed explanations, a spreadsheet to play with and c code for calculationg bearing and distance to latitude longitude waypoints. I suggest you read them rather than this article. They are:
How to Calculate Distance and Bearing to a Latitude Longitude Waypoint in Excel
Calculating Bearing and [...]