An Uno-powered Photocell Piano

A Maker by the name of Asahillis has designed a Photocell Piano powered by an Atmel-based (ATmega328Arduino Uno. Originally posted to Instructables, the DIY 6-note musical command center was recently featured on the HackADay website.

“When the user runs their hand over the top of the keys (photoresistors) they turn on audio notes, which can be tuned with potentiometers,” Asahillis explained. “This project utilizes [an Atmel-based] Arduino to turn the notes on and off. The tutorial includes a parts list, schematics and the code required to operate this musical device.”

According to HackADay’s Kristina Panos, the hack uses two circuits: one to generate the tones  and a second to mix them. Essentially, Asahillis adapted Forest Mims III’s schematics for the 555 Tone Maker and the 741 Audio Mixer to create the Photocell Piano.

“When the instrument is powered on, the code takes a 5-second reading of the ambient light, and sets a threshold based on its findings,” Panos explained. “Afterward, the first note will sound, indicating the piano is ready to be played. Each note has its own if-else statement that tells it to sound when its corresponding photoresistor reaches a value below the set threshold (when the player casts a shadow).”

Interested in learning more the Arduino-powered Photocell Piano? You can check out the original Instructables post here.

2 thoughts on “An Uno-powered Photocell Piano


    The Girlfriend Activation System: How To Get A Girlfriend Step-By-Step Using The Little-Known Techniques Of “Literotica”
    This site is a leading resource for information about the Christian Hudson Girlfriend Activation System PDF book and complete girlfriend attraction system that teaches you how to turn a girl you like into your loyal and committed girlfriend.
    Includes a collection of Christian Hudson Girlfriend Activation System reviews, PDF ebook download information, and tips for attracting women and getting a girlfriend from around the web.


  2. Bank Mellat vs HM Treasury

    The British Government’s passion for secretive court proceedings were dealt a significant blow earlier this year when the highest judges in the UK lifted an anti-terrorist sanction that had been slapped on an Iranian bank, throwing out the intelligence used against Bank Mellat as inconsequential.The Treasury was ordered by the supreme court to remove the imposed sanctions and stated that from this point on, closed sessions at appeal courts must only occur “only where it has been convincingly demonstrated to be genuinely necessary in the interests of justice”.



Leave a Reply

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

You are commenting using your 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 )

Connecting to %s