Archive for April, 2009
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 [...]
Video of First Deathpod3000 Run
Someone shot video of 2 of the first round trials at the Sparkfun Autonomous Vehicle Competition including the first run of Deathpod3000. The video is from a cell phone so it is a little grainy, but it’s fun to watch. I especially like his comments while he’s shooting. :-) The first bot is RAD and [...]
Deathpod3000 Specs
There were some requests on the Sparkfun site for the specs of the vehicles so I thought I’d list them. All the info is in the build posts, but the design changed along the way so here is what we ended up with: (Click More…)
Race Day
Race day finally arrived. To be honest, I had been spending so much time on the car, I was happy that spending every spare minute on the build was finally over. The ir sensors that we added in the last post were working well for avoiding obstacles and curbs so it looked like we had [...]
Adding Infrared Distance Sensors to an AVR Atmega32
After the test run on the actual race course, it was clear that GPS was not going to be accurate enough to keep the car out of the pond. I tried sonar, which is great for general obstacle avoidance because it will detect basically anything in a 45 degree cone, but it didn’t work well [...]
How to read rc servo pulses with an AVR Atmega32 and final board construction
In the last post we took a run around the race course and found out we will need obstacle avoidance. I forgot one step – putting the final board together. In this installment I will show how I read rc server pulses from the receiver allowing me to use the rc transmitter as a failsafe [...]
Test run at the track
After installing a new gps and compass in previous posts, we took the Deathpod to a parking lot for a test run around a simulated track. The results were not bad. The car went around the track at 30% throttle and 50% throttle. At 50%, it tended to spin out and fishtail in the corners [...]
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 [...]
Adding a 3.3v GPS to a 5v AVR Atmega32
So the maiden voyage of Deathpod3000 was a disaster. The problems seemed to be twofold. One, gps updates were too slow and two and probably most importantly, heading info coming from the gps was way too slow to be useful in turns. The net result was that it mostly drove around in circles. I decided [...]
Maiden Voyage = Epic Fail
In the last post, we finished all the initial programming and It’s time for the maiden voyage of Deathpod3000! The first test drive of the car was less than perfect…Ok, it sucked big time. There are two videos showing all the fun.