May 29
TimUncategorized
Just a quick plug for an absolutely fabulous website that has been a real wealth of knowledge for me over the past week or so: modifiedpowerwheels.com is THE PowerWheels hacking community. Their FAQ section is rife with information, and the community boards have a number of people willing to help out. Whether you want to add radio control, boost the speed, or just pimp out your kid’s ride, these are the people to watch.
May 28
TimUncategorized
I decided that this holiday weekend I would try to get a head start on the autonomous vehicle project by learning a little about how GPS works. Reading the GPS data was easy enough thanks to my GPS stick, which outputs data to the PC through a virtual serial port as nicely formated NMEA 0183 sentences. I was pleasantly surprised to find that heading data is transmitted as part of the NMEA standard, which made it easy to write up a quick script to read GPS data.
To get the ball rolling, I wrote a dirty little python script that allowed me to enter a set of destination coordinates (manually via variable) The script would then guide me to the destination by outputting strings to the console such as “Turn left 46 degrees.” When I reached the destination waypoint, the script indicates that fact and exits.
While I’m certain that I won’t be winning any awards for my coding effort, I was very happy to have some working code that is actually able to determine how far I must turn in either direction, using the shortest route possible, to reach my destination.
Of course, there are some inherent problems when using the heading information from GPS. Namely, the vehicle must be in motion to register heading – and sometimes the heading information did not seem to be reflected quickly enough during sudden changes of direction. I can’t be sure how much of an issue this will really be until I can test it in the car. I may have to consider getting a compass module, although from what I understand they have some inherent complications of their own, most notably the fact that the GPS device points to true north, whereas a compass will point to magnetic north.
I’ll keep you posted.
May 23
TimUncategorized
I came across a very interesting site the other day while researching DC motors. It seems the good folks at BattleBots IQ offer course materials to high schools that place emphasis on robot combat as a means of getting school-aged children involved with robotics. The organization seems rather impressive from what I can tell based on their preview lesson on Evaluating Fixed Magnet DC Motors. It’s a far cry from the days of my high school shop teacher, Woody Woodrow. I wish that weren’t his real name, but I can’t make this stuff up.