How to Make a Banana Piano
Codes for Scratch for Arduino. It's always more fun to figure out your own programs but here are the ones I used. Just click to view.
Don't expect to be able to perform a Beethoven piano sonata on this but it's a fun project and if you're out of bananas it should work with any fruit or veg. I wonder if there are any that work better than bananas?
How does it work?
You are a resistor; electricity can flow you to make a circuit and when it does it can trigger an event (in this case a note to be played). When the A0 pin on the Arduino is pulled towards ground (0V) because the circuit is completed, the Scratch for Arduino program interprets this and plays a note. Connect each banana, with a 2Mohm resistor to a different analogue input and Bob's your aunty you've got a sort-of-piano!
To make the piano you'll need:
Click the link below for more clues about how to make the banana piano: