[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.
I have done something like this with grapes and parts of a USB keyboard.
Using fruit in any kind of electronics hack seems stupid, what happens when the fruit starts to rot and go all smelly and crap?
You change the fruit?
God forbid someone have fun.
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.
It looks awasome, good job [Hasbi] :)
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!
this is great. my little son really likes it
This looks fun, I want to fruitify my piano too!
Russian version http://www.g0l.ru/blog/n3402 (use Google translate), see 2-th and 3-rd videos. Scheme and code included.