This makes your arduino do stuff when a bitcoin transaction happens. It is useful for building bitcoin accepting vending machines, doors or any robot that wants to earn a living.
You'll need the aJson arduino library
Upload firmware/arduinoFirmware/bitcoinMachine to the arduino, see the pins I use in the code.
Next you'll need node.js and some modules:
//install modules using npm
cd server
npm install ws
npm install serialport
npm install json-scrape
npm install moment
//run the server that listens to the blockchain and tells the arduino what to do
node BitRobot.js
If you like it please consider sending me some bitcoin this encourages me to build and share more. I'm also open to collaboration, so you can email me on rouan@8bo.org