Picture of How to make an electronic piano with a 555 IC
In this instructable i hope to be able to show you how to make a simple toy piano using a 555 timer ic and a few basic components. This my first electronics project on perfboard and there are probably much more sensible ways of laying out the parts, it would have been easier to set them apart more but i didnt do that.
Remove these adsRemove these ads by Signing Up

Step 1: What you'll need

6 x 1K resistors
6 x small buttons
1 x 10k resistor
10u and a 100n capacitor
555 timer chip
8r speaker
small piece of perfboard
battery clip and switch
wire leads
solder + iron
470 ohm resistor and a led

Step 2: Breadboard

Picture of breadboard
I started of by making the circuit on a breadboardso i could see how it worked and how to fit it onto the perfboard

Step 3: Adding the chip

Picture of Adding the chip
i soldered the ic straight onto the board, it would have been more sensible to use a socket to plug it into but i didnt have this step i also soldered the 10u capacitor onto pin 3, they are connected by a solder bridge on the bottom of the board. be careful with the polarity of the capacitor, the longer lead is the positive end and this is attached to pin 3, the negative end also has a grey stripe on to show its negative, putting it in the wrong way round can damage the capacitor.
the pins on an ic dont go from left to right they go anticlockwise around the chip starting at the pin with the circle above it

Step 4: Adding the buttons

Picture of adding the buttons
i first layed out the buttons in a line across the top. i had to leave room for the resistors to go along the top so i left two spare rows above the buttons.i used the leads i had cut of the capacitor to connect the negatives of the buttons.

Step 5: Resistors

Picture of Resistors
to make the piano work you need to add the 1k resistors between the points of the button. Then use a solder bridge to conect the parts up underneath the board
an_264 months ago

can we use piezzoelectric buzzer here? instead of a speaker?

I don't think that would work. The buzzer only produces one sound. The speaker would produce the different tones of the "piano". Good luck!

aman56thakur made it!2 months ago
nice instructable....... I added a LED to..
raveenak3 months ago

Hey....This has been very helpful for my project,but den may i know how i could do d same using an arduino board ?

Thanks in advance :)

raveenak3 months ago

Hey...This has been very helpful for my project, but may i know how i could do d same using arduino?

Thanks in advance!

susmitha957 months ago

could you decribe the working of the circuit

Hey, would this still work with a 100u capacitor in the place of a 10u?

Hey this project is superb... Could u plz upload the video...i wanna listen the sound when different keys r pressed...I Need this idea to implement on Piano Staircase but need some help from u.....Could u plz guide me for what changes i need to do....I wil be using it for 10 to 12 steps...and wanna connect a high power speaker and supply...Wil the sound be differentiable n clear....? plz do help...
samaddon2 years ago
Hello, can you tell me what's the value in numeric code is printed on a 100n ceramic capacitor (like :104 or and other number for 100n). And tell me which type of resistor the 10k resistor is it's variable or simple the circuit shows the resistor is variable but you have used a simple resistor ? give a clear answer please!
acerpeng2292 years ago
Hi, nice one. hey, did you know that pianos have the black keys? if so, how do i add buttons on it to make it like a real piano.
sholtob (author)  acerpeng2292 years ago
i made a better version which includes the black keys and is in theory tune-able
maniacccc2 years ago
Extremely useful..tnx it works perfectly n ya u can add extra switches if u want!
Adding a pot btwn speaker n capacitor can help in tuning the piano as per ur requirements!
jello232 years ago
Made mine with a smal through-hole piezo buzzer instead of a speaker, but i wish there where a simple and cheap way to give it some nice enclosure, any tips or ideas?
amp6252 years ago
hello, i built this and everything works great, but i was wondering if there is any way to hook up LEDs to individual buttons. I have been trying and it's either one works or the other. Any suggestions?
Rush_21122 years ago
I like the Kalimba Idea! Very funny!
lonenome2 years ago
Nice one took me a few try's to get it right but this was a nice project i had fun and my kids did after i was done. Good work thanks for the project
cc673 years ago
if more buttons are inserted, do we need more voltage than 9V? and can we use any speakers beside 8Ω??? thanks
sholtob (author)  cc673 years ago
you could still use the same battery, i have made another one thats more complex and that has more buttons and runs on only 6v. i have uploaded it to instructables
cc67 sholtob3 years ago
cc673 years ago
is the 10K resistor a potentiometer? And if it is one, how do you connect pin 1 to the gnd?
sholtob (author)  cc673 years ago
yes it is, i didnt have one so left it out, the pins are conected line in the schematic and the arow represents the middle pin
anyway to sustain the notes for a period of time?
sholtob (author)  DavezDesignz3 years ago
only by holding down the button, unless you used a microcontroller or much more complex circuit
how much does this cost in the end?
sholtob (author)  thehowdyin3d3 years ago
i allready had the speaker and buttons, 555s cost around 20p and the rest of the components are cheap so probably 2 or 3 pounds if you bought it all separatly
CSE2513 years ago
thank you very much .. I got it now ^^
CSE2513 years ago
thank you guys I've just finishing the circuit and it works ^-^

but I really wanna understand the concept of how the buttons works and how each button makes a different sound ?
sholtob (author)  CSE2513 years ago
when you press a button it makes electricity flw throughthe resistor into the chip, the further allong the buttons the highe the resistance as the electricity has to go through more, the resistance is what defines the musical note, you could substitute the buttons for a potentiometer and have smooth gaps between the notes
Maco213 years ago
hi,can i have PCB of this beautiful project,please please :)
CSE2513 years ago
sholtob (author)  CSE2513 years ago
8r means 8 ohm, i think it stands for resistance, you can buy them online or dig one out of a cd player, i have used other values but i don't know if that is bad for them although it seams to work
Robot Lover3 years ago
I suppose that more buttons could be added no?