For my summer project, I am going to create a traffic simulator using about 10 arduino-controlled vehicles. They'll all be on a continuous circuit traveling at equal distances from each other.
So basically, what I am trying to do is to get them to slow down when the car in front brakes, causing a sort-of traffic wave, where there is an area of higher vehicle density, if you know what I mean.
Later, I'll want to use Bluetooth to try and dissipate these waves, but I was wondering if you guys could point me in the right direction. I assume I'll need distance sensors (maybe a light sensor with LEDs on the back of every vehicle), motors/axles/wheels, the ArduinoBT, batteries...
Probably the best sort of distance sensor for this would be an ultrasonic one, although there might be issues with so many sensors operating so close together, they might interfere.
That is a lot of robot cars to make, are you going to steer them or are they going to be fixed on a track with say a line follower or some sort of steering rail.
Either way it is probably best to look at some ready built robots, do a google search for them and fit an Arduino on later.
Thanks for your reply!
Hmm, yeah, I did consider ultrasound but I thought they might be too long-range.
I'm not planning to build in any steering — I'll put them on tracks.
Will it be difficult to vary the speeds of the motors, do you think? And do you know of any motors that might be suitable, if I didn't get some ready-made robots?
I'd suggest a cheap toy remote control car as a chasis/motor assembly. You'll have to be careful about the motors though, those cheap toy motors are usually low voltage/high current devices so it's hard to find a suitable driver in that range.
I might also suggest the 3PI robot from pololu about about $100 for the chassis with integrated "arduino", but it doesn't have bluetooth or a serial converter so you're own your own for that.
Thanks for the advice guys. My supervisor and I have decided to go with the Lego Mindstorms NXT bricks now as the plan is to take this around primary schools to get kids interested in science. It's a shame, but I think the Arduino might scare them off a bit.
I'm still going to get an Arduino for myself because I still think they are pretty cool.