jump to navigation

Controlling servos with the Atmel AVR Atmega32 03/13/2009

Posted by aliasmrjones in The Build.
3 comments

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 are controlled by standard servo pulses. Getting our Atmega32 to generate these pulses is the topic for this post.

(more…)

Advertisements

All about AVR Atmega32 EEPROM 03/07/2009

Posted by aliasmrjones in The Build.
add a comment

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.

(more…)

How to calculate distance and bearing to a waypoint 03/06/2009

Posted by aliasmrjones in The Build.
add a comment

In the last post we got the LCD working and were properly receiving and parsing  data from the gps. The next step was to be able to calculate the distance and bearing to a waypoint.  This turned out to be harder than I thought, mostly because we’re dealing with an 8 bit microcontroller and not a modern 32 bit microprocessor.   By changing formulas, it did eventually work.

(more…)