Arduino Brain Machine.

Dangerous Prototypes has this short article about the Attiny 2313 code ported over to an Arduino

 

Arduino Brain Machine