School Project part 3
Monday, November 10th, 2008Previously, I discussed my school project to create swarming robots, and potential tasks for them. This time I’ll talk about some of the hardware, beginning with the control system.
When first concieving of this project, we figured it would be easy to build a robot that could do what we needed it to do. We though a simple microcontroler would do the trick. Sure, that could make a robot, but the trick here is communication. Each robot needs to communicate with every other robot simultaniously. Anything from their current status to actually attempting to querey for data or providing instructions. The details of what would be sent where not important.
We did a bunch of research on what we could use. We looked at GumStix, which are really small embedded linux machines, but they where about $100 a piece, which would go over our budget quickly. We looked at external devices, but nothing seemed well suited for wireless communication like this, atleast nothing that was cheap enough. Wifi adapters all used USB and where expensive, bluetooth was the same deal.
But then I discovered the Wifi car. The Wifi car is a modded RC truck that someone had hacked a Linksys WRT54G into to control via a computer that had ssh’d to the router to run his custom software in the firmware. The router controled the moters and the software had all the controls that where needed to drive the car.
If you sit and think, you will realize the implications of this. For $30 or so, you can find an old WRT54G router, change up the firmware to run linux and do whatever you want, and have Wifi communication, which allows greater distance and greater flexibility. We can make use of pre-existing network stacks which prevent data collisions, and still have an inexpensive vehicle.
Currently, we have 2 routers to hack, one more on the way, and possibly 2 more available to us. We need to play with battery power, and how to interface with a car at this point.
