lego tank
An awe-inspiring demonstration of an Arduino microcontroller controlling (go figure) two Lego DC motors via a transistor circuit.
How does it work, you ask? Well ...
... and now you know.
And here's the second version, "head towards the light" , with two photocells and pushbutton on/off, which I demonstrated during the Parent's Day demo class on Sat Oct 20 2012.
The difference between the photocells chooses between turning left or right.
Resources :