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…)

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…)

A wasted week – Hapsim to the rescue! 02/16/2009

Posted by aliasmrjones in The Build.
add a comment

In our previous post, we talked about some of the hardware and software we are going to use to construct our gps driven autonomous r/c car.  In this post, we’ll talk about actually getting some things wired up.  Somehow we wasted an entire week getting the LCD and serial input working.  A couple of dumb problems cause all the trouble and in once case a very useful program helped solve the problem.  In the other case, it was part of the problem.

(more…)

What are our liabilities…and our assets? 02/09/2009

Posted by aliasmrjones in The Build.
1 comment so far

We’re building an autonomous vehicle to compete in a competition sponsored by Sparkfun Electronics. The goal of the competition is to have a vehicle make 1 lap around Sparkfun’s building in Boulder, CO in the fastest time. The trick is, it must make that lap on its own with no interaction from any human.  You can read all the details about the competition here. One of the rules for the competition is that you document your build. That is what this blog is for. We’ll be posting about what hardware we’re using, how the build is going, our programming strategy, pics and videos, the thrill of victory and the agony of defeat all through the process.

(more…)