This tutorial is a how to construct a 6 note “Photocell Piano”. When the user runs their hand over the top of the keys (photoresistors) they turn on audio notes, which can be tuned with potentiometers. This project utilizes Arduino to turn the notes on and off. The tutorial includes a parts list, schematics and the code required to operate this musical device.

This device requires two separate circuits and an Ardunio code.

1) A circuit that contains all the notes.
2) A circuit that mixes all the notes.
3) The code

Step 1: Note Maker

Part One

Note Maker


100n Capacitor- (x6)
10u Capacitor- (x6)
100nf Capacitor- (x6)
1k Resistor- (x6)
220k ohm Resistor- (x6)
Photoresistor- (x6)
10k Variable Resistor- (x6)
Arduino Uno- (x1)
10” by 4”Prototype Board- (X1)
555 Chip- (X6)
Mono Audio Jack- (x6)
Switch- (x1)
9V Battery- (x1)
Prototype Shield for Arduino- (x1)
Arduino Prototype Shield- (x1)
1/8” Audio jumper cables-(x6)
Small Speaker with 1/8” cable- (x1)

Note: The 100nf capacitor is added so that the variable resistors only control their individual note. If they were not present all the variable resistors would control all the notes making the circuit only have one tone. 

Solider all parts to the 10” by 4” prototype board. Please note that the photo resistors control the notes so place them in a location that is convenient to play. Use stranded wire and an Arduino prototype shield to interface Arduino to the 555 circuits.
<p>What does it sound like? No video?</p>

About This Instructable




More by asahillis:Photocell Piano 
Add instructable to: