Play Angry Birds For Real with Mbed NXP Cortex-M0 Slingshot

If you’re just bored to play Angry Birds with the touchscreen of your smartphone or with your mouse in Angry Birds for Chrome, you can now bring the fun back to the game by playing with a real slingshot !

mbed designed a USB slingshot with an mbed NXP LPC11U24 (Cortex-M0 MCU) board that emulates a USB mouse.

Rela Slingshot to play Angry Birds
Cortex-M0 MCU Enabled Slingshot

mbed measures the angle and strength applied with:

  • An accelerometer that measure the tilt by tracking the gravity vector
  • A rubber stretch sensor used as the sling, and measure how much it is stretched.

They built the slingshot with the following hardware components:

NXP Cortex-M0 devkit
mbed NXP LPC11U24 board

Here’s how mbed describes their NXP board:

The mbed NXP LPC11U24 MCU module is a tool for rapid prototyping with micro-controllers. This particular board is aimed at prototyping USB device applications such as mouse, keyboard, mass storage, and serial interfaces for designs that are aimed at portable applications running on batteries and any applications that could use the simplicity and performance made available by the 32-bit ARM Cortex-M0 core. The mbed.org online developer platform with online compiler and developer tools are designed to help engineers in early stages of development, enabling rapid prototyping, iteration, and design space exploration to get proof-of-concepts built fast.

You can watch the MCU-based slingshot in action in the video below:

The MCU source code is written in C and is only about 150 lines long.

You can find further technical details on Mbed Slingshot Page and you can try it yourself if you are at Embedded World 2012, in Nuremberg, Germany.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

2
Leave a Reply

avatar
2 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
RAHEEL SHAREEF (pak army)Thomas G Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Thomas G
Guest

Great post, I enjoyed reading it! Keep posting good stuff like this.

RAHEEL SHAREEF (pak army)
Guest

information is not true