Thanks for Stuart for writing in to share this project! Find out more here.
…Every toy successfully grabbed equates to a donation to the good people at St Mungo’s Broadway to help them tackle homelessness this Christmas.
A Little Background Information
In our now annual Christmas hack-a-thon we decided it was time to use our skills to help a good cause, and as a games room retailer we’ve always got something fun in or around our warehouse and there was an arcade crane that looked perfect for a tech upgrade!
Now for the technical bit…
- We used a Raspberry Pi and a PiFace digital relay board connected to the motors that control the grabber to connect the crane to the internet, giving us an API to make calls to the crane over the internet!
- We then wrote some code on our web server to queue up people waiting to play and giving them enough time to play – when it’s time to play our web server talks to the crane API and moves the claw.
- All this is streamed live over the internet via a webcam attached to the machine itself.
Which all gives us the internet crane!
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!