Suschman brought something nice from one of his latest garbage collection actions: a toy robot, which once could be RF controlled.
The robot is crawler-mounted, can bend the upper part of its body, can grab something with its arm and has a projectile-launching device built into its chest. Alltogether it resembles a bit to Evolver from the movie of the same title.
As the remote control is missing and the strange build-in China-made microcontroller was not going to talk to us without it, we decided to install a AVR instead. Suschman has done that, so the Mega8 can already control the robot's motors. There is also some sound module integrated in the robot, but it still needs some re-engineering. We did not get it talking without the original CPU so far.
In meantime Robby accepts commands via serial interface (UART), so all of its functions can be used. There is a automatic emergency shutdown if one of the motors is overloaded.
Sourcecode can be found in the SVN at https://roulette.das-labor.org/trac/browser/microcontroller/src-atmel/killerbot/
[Bearbeiten] Control Robby
Robby can be controlled via serial console an accepts the following commands:
IMPORTANT Keep your thumb at the space bar to prevent the whole thing dropping off the table! Some command are not read correctly, so sometimes you have to hit a button twice (Bugfix on the way ;)
arrow key all possible directions space bar stop (stop any movement/emergency shutdown)
b bend backwards v bend forwards B oder V stop torso motor
a open arms s close arms A oder S stop arm motors
Less important & not recommended
l left chain backwards k left chain forwards K oder L left chain stop r right chain backwards e right chain forwards R oder E right chain stop