[null, null, null, {"document_url": "https://timesnewgeek.blogspot.com/2012/03/diy-angry-birds-usb-slingshot.html", "unformatted_src": "//4.bp.blogspot.com/-kDI_1EC4qg0/T1FAbiqXHxI/AAAAAAAALo0/zSE5bFaou7o/s640/slingshot_diagram.jpg", "src": "http://4.bp.blogspot.com/-kDI_1EC4qg0/T1FAbiqXHxI/AAAAAAAALo0/zSE5bFaou7o/s640/slingshot_diagram.jpg", "formatted_filename": "slingshot diagram", "rendered_width": 478, "rendered_height": 640}, null, null, {"document_url": "https://timesnewgeek.blogspot.com/2012/03/diy-angry-birds-usb-slingshot.html", "unformatted_src": "//2.bp.blogspot.com/-Ssi41HibBGI/T1FBpP5E9cI/AAAAAAAALpE/Pg_Yn8zBRAc/s640/mbed_usb_slingshot.jpg", "src": "http://2.bp.blogspot.com/-Ssi41HibBGI/T1FBpP5E9cI/AAAAAAAALpE/Pg_Yn8zBRAc/s640/mbed_usb_slingshot.jpg", "formatted_filename": "mbed usb slingshot", "rendered_width": 478, "rendered_height": 640}, null, null, null, null, null, null, null, null]
facebook google twitter vk DIY: Angry Birds USB Slingshot From mbed:

To make Angry Birds a real sport, we need real equipment. So the idea for this hack was to build a real slingshot as a USB peripheral to play Angry Birds. It was inspired as a demo to show off how easy it is becoming to build your own USB devices, thanks to the emergence of ultra-low-cost 32-bit microcontrollers that include USB. The slingshot emulates a USB mouse, so it really is a plug 'n' play. It translates the physical use of the slingshot in to appropriate mouse controls. With a real slingshot, you tilt the slingshot and stretch sling. The idea to measure these was using:
That is the input, but to play Angry Birds, you actually click on the bird, then drag to the launch angle and strength you want, then release. This means we have to translate the real slingshot movements in to a series of different mouse movements. For example, this means translating starting to stretch the slingshot to a mouse to click and hold, whilst the vector of the stretch determined by the angle of sling and how far it is stretched translates to mouse movements relative to where we started...

Want to see a demo?

(read the instructions @ mbed)
 Times New Geek