Robot Project Update
Wednesday, January 28th, 2009I haven’t forgotten my robot project I mentioned a while back. It’s still on, and I thought I’d take this opportunity to talk about it in more detail.
First, a review. For my senior project, I have to work in a team to design and create something involving hardware and software. There is a fairly tight budget, and very very limited time. After much discussion, my partner and I decided to create swarming robots. We decided to do so with RC cars and wireless routers. More on why latter. I talked a while ago about some of that, but some final plans are being set now.
So, basically, we are going to have 4 RC cars that have wireless routers inside, along with some sensors and they are going to talk to each other and work together. It took us a while, but we determined that we are going to have them act as a convoy, following a lead car around in some course. That could be a pre-programmed thing, or random, or even something manual. The lead car will send out it’s change in location frequenly, and the other cars will recieve it, and determine how to follow it. If one gets kicked out of line, it can let the others know, and they can stop and let it get back in place.
We are doing all of this though several different subsystems. First, our car is a simple, 5 function car that can go foward, back, and turn left and right, rather much like a real car, but without variable speed or turning radii. The control system runs though a simple decoding chip that we found has output for these 4 functions, and, if we override the chip, then the car won’t know the difference and drive how we tell it to.
Secondly, we have a whole sensor system. There’s an accelerometer to use to calculate distance traveled, as well as a digital compass that will tell us in what direction we are facing. With those two bits of info, finding a relitive location should be easy. All that information will get fed into a small microcontroller that will do some pre-processing and feed it to the router via a serial interface.
Finally, there’s the router. Linksys WRT54g routers serve as the brains of the car. They where cheep, and had wireless, and could run our own code. That’s all we needed. Everything else was expensive and didn’t have wireless. They have two serial ports (not rs232 like what most people think of, but they can be converted to that), as well as plenty of GPIO pins, usually used for the LEDs on front, but here used for the car control. The router will calcualte it’s current location and where it needs to go, then how to get there and will do it. A constant stream of updates adjust how to drive.
We figure that the robots could then drive around by themselves, or we could take the controls of the lead car and drive it and have the others follow, or we could put the lead car in a backpack and walk around campus with 3 other cars following our heels like bizarre dogs
All this has to be done rather quickly, in a few months, so I am going to be very busy.
On a side note, I saw an article about AI’s earlier. Apparently they managed to create a fairly good one for a robot reciently, even recognizing natural language (IT”S POSSIBLE!) but they said that they needed some gernal way to store memories. All I have to say is LOOK HERE! It also said that the human brain associates “airplane” closer to “train” than to something like “boat”, suggesting some kind of associatve mapping like my AI project. Hurray for comming up with something like this completly independly!
