Great Raspberry Pi project for students using Jelly Bellys. via raspberrypi.org
You will learn how to turn a jelly baby into an input device for your Raspberry Pi. You will then create a program to make it scream when it is squeezed.
By following this tutorial to make a jelly baby sweet scream, you will learn:
• What GPIO pins are and how to connect them to real work objects
• How to create a program to play a sound when the jelly baby is squeezed.
WHAT YOU WILL NEED
As well as a Raspberry Pi with an SD card and the usual peripherals, you’ll also need:
• Speakers or headphones
• 2 x female-to-female jumper wires
There are no additional software requirements for this resource beyond what is pre-installed in the current Raspbian image. To make sure your SD card is up-to-date, see the updating Raspbian guide.
You’ll also need:
• A jelly baby
• 2 x metal paperclips or dress pins
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!