Fruit piano uses a different circuit than the Makey Makey

screen

[Hasbi Sevinç] is using perishable goods in his electronics project. The orange, tomato, and two apples seen above act as keys for the virtual piano. The concept is the same as the Makey Makey which is often demonstrated as a banana piano. This implementation uses an Arduino to read the sensors and to connect to the computer running the piano program.

You can see there’s a fair amount of circuitry built on the breadboard. Each piece of fruit has its own channel to make it into a touch sensor. The signal produced when your finger contacts the food is amplified by transistors connected in a Darlington pair. That circuit drives the low side of a optoisolator transmitter. The receiving side of it is connected the I/O pin of the Arduino. You can see the schematic as well as a demo clip after the break.

This use of hardware frees up a lot of your microcontroller cycles. That’s because projects like this banana piano use the timers to measure RC decay. [Hasbi's] setup provides a digital signal that at most only needs to be debounced.

circuit

Comments

  1. Ben says:

    I have done something like this with grapes and parts of a USB keyboard.

  2. Jonathan Wilson says:

    Using fruit in any kind of electronics hack seems stupid, what happens when the fruit starts to rot and go all smelly and crap?

  3. salec says:

    I see what he did there: induced noise from contact surface is amplified, then used to trigger the triac (photodiac) part of optoisolator, which then latches and provides smooth DC voltage level on the Arduino input. Arduino resets the diac by changing the input into the output with high level voltage on it, thus cutting off the current which holds diac conducting. Thus the debouncing is achieved.

    However, I wonder if it is cheaper to specify an optoisolator instead of a PNP transistor and a little TO92 housed SCR (e.g. BRX44)? I mean, not that it is much of a hit on the budget, probably a few cents per channel, but MOC3021 perhaps could have been used in some other project for something more fitting, like regulating a heater through phase control.

  4. Özgür Bozkurt says:

    It looks awasome, good job [Hasbi] :)

  5. dharma says:

    This looks very inspiring. I wonder if we could use different fruits or objects. It would be an amazing tool to use in my kindergarten class. My little ones would be amazed!

  6. j_hon says:

    this is great. my little son really likes it

  7. This looks fun, I want to fruitify my piano too!

  8. Sergey says:

    Russian version http://www.g0l.ru/blog/n3402 (use Google translate), see 2-th and 3-rd videos. Scheme and code included.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93,839 other followers