555 Pocket SynthKeyboard

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

http://www.instructables.

com/id/555-Pocket-SynthKeyboard/
Food Living Outside Play Technology Workshop
555 Pocket Synth/Keyboard
by bergerab on May 24, 2014
Table of Contents
555 Pocket Synth/Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Intro: 555 Pocket Synth/Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 1: Parts and Pieces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 2: Breadboard it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Step 3: Plan the Perf! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Step 4: Time to Solder! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Step 5: Add a Case! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Step 6: Play it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
Author:bergerab
I'm a student at UW-Milwaukee studying computer science with a passion for electronics. I'm always working on a project or thinking of new ideas. If you
have any questions about any of my instructables, or would like to collaborate on a project, don't hesitate to send me a private message!
Intro: 555 Pocket Synth/Keyboard
Hello! Welcome to my instructable. Before we begin talking about how to build this synth, Ill present the basic skills and knowledge that is required... You should know
these things:
- Ohm's Law
- What a resistor is
- How to solder (semi-decently)
That's really all you must know to put this noise-maker together, but it really does help to know about capacitors, potentiometers, and a little music theory. Although this
synth only uses simple components, it is a great toy that can provide many hours of enjoyment (to the right person).
I have to give credit to one site, for this was not entirely my idea. The schematic that inspired me to make this is here. After implementing that schematic on a
breadboard, I wanted to make a bit more advanced version of it, that was portable... and shaped strangely like the Instructables' Robot.
Thanks for your interest. Lets begin!
Step 1:Parts and Pieces
List of parts:
-555 Timer
-100k Potentiometer (higher values are OK too)
-10k Potentiometer (Lower values are actually more optimal)
-13 2.2k resistors (you can really use any value between 1k and 5k as long as they are all the same value)
-1 4.7k resistor
-1 330 ohm resistor (450 ohm or higher is more optimal but 330 ohm works)
-8 Ohm Speaker (or buzzer/piezo)
-two-way slide switch
-an LED
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
-13 tactile buttons
-100nF capacitor
-10uF capacitor
-9v Battery (with connector)
-perfboard (I used a 5cm by 7cm piece)
List of tools:
-Soldering Iron (and solder rosin)
-Hot Glue Gun
-Optional: Desoldering Iron
While gathering the parts, keep in mind that many of these parts don't need to be exact. Most resistor values can be a few ohms off. Same with the potentiometers. You
can make this circuit with only 50k or 10k potentiometers if you'd like and it would function almost the same as the one I'm describing in these instructions.
Image Notes
1. Resistors (See details in description)
2. Tactile Button Switches
3. 2 Way Switch
4. Perfboard (5cmx7cm)
5. 9v Battery (with connector)
6. 555 Timer (with socket)
7. 100nf Capacitor
8. 10uF Capacitor
9. 8 Ohm Speaker (or Buzzer/Piezo)
10. LED
11. Potentiometers
Image Notes
1. Tactile Switch Buttons
2. 2 Way Slide Switch
3. 100k Potentiometer
4. 10k Potentiometer
Image Notes
1. Resistors (see values in description)
2. 100nF Capacitor
3. 10uF Capacitor
Image Notes
1. Perfboard (5cmx7cm)
2. 555 Timer (with socket)
3. LED
4. 8 Ohm Speaker (or Buzzer/Piezo)
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
Image Notes
1. 9v Battery
2. 9v Battery Connector
Step 2:Breadboard it!
Once all of the parts are at hand, its time to put them into a breadboard. Here is a link to the schematic. I have also uploaded it from the original website, 555-timer-
circuits.com. If you are new to schematics, don't be afraid it is rather easy after you learn what each component is represented by. Wikipedia is a great source for that. I
have attached pictures of my breadboard implementation, as well as a video of the working circuit.
We are not going to create the exact circuit in the schematic please take note of these changes I made:
-I changed the 1k resistors to 2.2k resistors for a bit more accurate half note production (we will learn more about this below).
-Replaced the 10k potentiometer with a 100k potentiometer (for a more extreme pitch bend).
-Added a 10k potentiometer between pin 3 and the 8 ohm speaker (functions as a volume control).
-Added 9 more buttons in series with the ones on the schematic. (Just continue the pattern of one tactile switch connected to a resistor). However, don't worry about this
until you solder the perfboard. For the breadboard, just try to add 4 or 5 buttons.
-Added a indicator LED from the 9v rail, connected to the 330 ohm resistor which finally goes to ground. (the resistor value really should be 450 ohm, but 330 ohm is
close enough for our purposes).
-Also as a optional step, I added a two way slide switch between the first tactile button and the potentiometer (which acts as a sustained note).
Keep in mind:
It may be useful to keep this circuit on the breadboard for when you solder the final version. It will be nice to have a working circuit to use as a reference. So
don't take it apart until you finished the soldering! (Unless you're short on components).
The circuit basically sets the 555 timer into a mode where it outputs a square wave at a frequency based on the voltage on one of its pins. When a tactile button is
pressed, it adds the previous resistor values (since they are in series) to make a change of resistance which we want to be equal to one half-step (in music theory terms)
between each button. In this circuit, the lower the resistance the higher the frequency produced.
Disclaimer: If you look at this chart . You'll see that the difference between frequency and musical note produced gets larger as the note gets higher.
Therefore, this synth will NOT have accurate half-steps between each button. But as you adjust the pitch bend potentiometer you can achieve something sort
of close.
This voltage based system is pretty effective for this synth; however, here are the drawbacks:
-the frequency of each note changes based on the battery.
-using the "pitch-bend" knob (100k pot) changes the frequency it takes for each half-step. So using it changes notes strangely. However, you will find that there is a
sweet-spot where most of the buttons will produce roughly a half-step up/down from the previous.
-using the volume knob (10k pot) bends the frequency each note, since it varies the voltage drop across the speaker.
-It forces the synth to be monophonic (produce only one note). While this isn't entirely the voltage system's fault, it is a reality of this circuit. However, this can be a
desired sound for some and can produce cool effects.
Challenge for more advanced hobbyists:
For those of you more experienced I challenge you to fix these problems and post your solutions in the comments. (Maybe use a voltage regulator? or
variable resistors?)
Once you have this circuit running on the breadboard, and have at least a rough understanding of whats happening behind this circuit, we can put this on some
perfboard!
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
Image Notes
1. These are all connected to ground through the 100nF capacitor
2. 100k Potentiometer
3. 10k Potentiometer
4. 10uF Capacitor
5. 5 Tactile Switch Buttons connected in series each with a 2.2k resistor
6. 8 Ohm Speaker
7. 555 Timer
8. 4.7k Resistor (see schematic)
Image Notes
1. See first picture for notes
Image Notes
1. See first picture for notes
Image Notes
1. We are going to continue these buttons in the final verison, but for
breadboarding just add 4 or 5 buttons
2. This is where we will add a volume knob. For this we will use the 10k
potentiometer
3. Replace this with a 100k Potientiometer
4. Optional: You may add a two-way slide switch to act as a sustained note
5. I replaced each 1k resistor with 2.2k resistors for more accurate note
production.
6. Optional: This is a good place to add that LED as an indicator light. Just connect
the positive lead to the 9v rail and using the 330 Ohm resistor connect it to ground.
(a larger resistor value would actually be more efficient something around 450
ohm or >).
Step 3:Plan the Perf!
As I mentioned before, I made this so that it could be a fun and portable synth. Lets address the layout of the synth to make it as easy to play as possible. The layout I
liked the best strangely resembled the mascot of instructables.com... well at least to me it did. (the potientiometers are the eyes and the buttons the mouth). Anyway! I
encourage you to deviate from my design choice; however, as you'll see on the video in the final step, my layout is quite playable.
The pictures attached show my thought process (which isn't really complicated). Keep in mind that I only put the components through the perfboard, I haven't soldered
them just yet. Also, I have left out the resistors and capacitors while planning this step since I'd rather imagine them there than have to put them all in.
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
Step 4:Time to Solder!
After finding the perfect perfboard layout, you can begin by soldering everything that you are absolutely positive about onto the board. Desoldering isn't all that fun so
make sure you try to get things right the first or second time. I have attached a picture of my soldering job, but it doesn't look too pretty since I never took the time to touch
it up. I won't go over what to do with each component when soldering since your layout may be different than mine, and that would take forever. However, I will tell you
some tips I've learned from soldering:
-Keep your breadboard implementation nearby while soldering so you have a reference other than the schematic to use.
-When soldering a component with more than one lead (or pin), to ensure that it is soldered tightly to the perfboard, solder one lead (or pin) onto the board first. Then
check if the component is straight, if its not then heat the lead and adjust until it is. This technique is a lot more effective than soldering in an entire 8 pin integrated circuit
(such as the 555), then learning that it isn't in the perfboard straight.
-Get a desoldering iron. These are optional, but highly recommended. They are good for salvaging parts off of electronics and fixing major mishaps in your projects.
-Use resistor's long leads to make connections. It is a lot more efficient than using tons of wires.
-Use lots of hot glue to ensure that your circuit is permanent and to keep resistor leads from touching other components/conductive surfaces.
-Use an exacto knife (or any knife) to troubleshoot for shorts. I always run a knife between suspicious connections that may be touching, to scrape away any excess
metal that may be joining them.
-Remember electrolytic capacitors have a negative lead and a positive lead, while ceramics do not.
-Try not to touch the tip.
Be sure to mind the additions I have made to the schematic! Refer back to Step 2 for reminders.
Step 5:Add a Case!
Congratulations, your synth should now be functioning! However, if you press your fingers against the solder joints you will probably hear a very low frequency sound
(due to the resistance of your finger, I believe). To prevent this you will need to build a case. You could do anything from an entire case, to just a back panel. I was so
excited to get this thing functioning that I simply screwed in a sheet of acrylic to the back of the synth to protect it. Get creative with it and share your case designs with
me, and in the comments!
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
Step 6:Play it!
Finally, you should have a working pocket sized synthesizer/keyboard! While the intonation on it is not perfect, (and rather crazy at times), it is a fun toy and a truly
playable instrument. I have already played hours on it and learned a few songs. Learning to play on it was different than any other instrument since it is unpredictable and
can add a twist onto what notes you play, which can be very interesting. I hope you've learned a bit about how electronics interact with sound production, and enjoy your
pocket-sized synth!
Related Instructables
Quad SN76489
Synth by
brianpeters
Atari Punk
Organ, a simple
555 synthesizer
by sholtob
Dual POKEY
Synth by
brianpeters
Cicadaboom - 8
step sequencer
and a simple
synth by nivini
TIA Synth by
brianpeters
Laser Synth
(video) by
supercapacitor
Advertisements
Comments
26 comments Add Comment
georgemorgan says: May 29, 2014. 4:05 AM REPLY
This is Very cool :)
Thanks
krm_priya says: May 28, 2014. 11:37 PM REPLY
I made this on a breadboard but the speaker isn't responding.
Is it because I have used a preset instead of a pot?
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
bergerab says: May 28, 2014. 11:42 PM REPLY
As long as the trimmer is 10k, it should function as a potentiometer in this configuration. Make sure you have connected pins 6 and 2 together, and 8 and
4. That was the solution for me when the speaker wouldn't respond. Also try the circuit without any trimmers/potentiometers to eliminate any problems
they could cause. Let me know how it goes!
crazyscottnb says: May 26, 2014. 2:16 AM REPLY
SOOOO cute I love it, gona try this one for sure, although would suggest using different switches, maby use these kind of switches
http://www.jaycar.com.au/productView.asp?ID=SM1038
LaserDave says: May 27, 2014. 4:06 PM REPLY
Although switches like that would be nice, a budget-concious design like this would be difficult to justify at around $5 per switch.
A better alternative would be to use these tactile switches (at around $0.50 each) with an arm mounted over them to mimic piano keys, or the switches
you suggest.
Simply place the tactile switches under an arm (like a popsicle stick) hinged at one end so that pressing down on it will push the switch. Mounting them
all in a straight line will create an inexpensive, yet effective, keyboard.
bergerab says: May 26, 2014. 6:05 AM REPLY
Wow excellent idea! That really enhances the playability, thanks for your contribution!
Jan_Henrik says: May 27, 2014. 10:21 AM REPLY
AWESOME! :D very cool!!
mgoel says: May 26, 2014. 10:10 AM REPLY
So to add more switches for the notes....i extend the circuit in the same manner as shown in the diagram????
bergerab says: May 26, 2014. 10:13 AM REPLY
Exactly! Since the resistors are in series, each note you add will be a lower frequency from the last
mgoel says: May 27, 2014. 1:02 AM REPLY
thanx.....going to try it this week!!
samuraijack says: May 25, 2014. 11:53 PM REPLY
i like it.
there is always room for improvement in all things,
but if it works why fix it ? :P
RG_on_the_move says: May 25, 2014. 6:19 PM REPLY
I cannot wait to try to make this. I can only hope my solders turn out half this good!
bergerab says: May 25, 2014. 6:46 PM REPLY
Thanks so much for your interest! Let me know if there's any additional information that should be in this instructable. Goodluck!
Victor8o5 says: Jul 29, 2014. 10:57 AM REPLY
Sounds great, I'll make one for a friend of mine who is into music.
shaldar2 says: Jul 27, 2014. 9:49 AM REPLY
My version
very good instructable made it in my first go thanks.........!
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
brmarcum says: Jun 29, 2014. 8:52 PM REPLY
I thought about making something like this for my kids a couple of years ago. Good design and very simple and easy to make.
biraj1002 says: May 28, 2014. 7:00 AM REPLY
i made it but it wont work please tell me what mistake i made. U DONT MAINTION THE 100uF & 10uF capasitor which side goes to the positive and
negative in the diagram tell me urgentely
titch16 says: Jun 9, 2014. 5:05 AM REPLY
There is a white line on the negative side.
rverdugo says: Jun 3, 2014. 1:11 AM REPLY
amigo yo hice el sintetizador, y es maravilloso saludos!!
PD: hice el del primer esquema :D
nqtronix says: May 25, 2014. 3:26 PM REPLY
I've no idea to say this nicely but...
Your soldering skills are not even "semi-decently" but really crusty. The placement of the components is just as poor, it increases the mess to an
unacceptable level. There's a lot of room for improvement:
Spend some good time before soldering the first component into place about the whole layout. Most important is the placement all user-accessible parts
such as knobs, buttons, plugs or headers as it directly affects the usability. Next you try to place all remaining componets on the board. Try to keep all
connections as short as possible and preferable without crossing.
Short all leads of the components to be just as long as needed. If the components don't "snap in" position bend the leads just untill they barely hold in place.
Solder then all parts in, but only two leads per component.Doing this you can reheat on pin to push the component flat against the board before solder the
remaining pins. At last solder all connections in place. With this method desoldering is an ease, you don't even need anything else then the soldering iron
you've just worked with. Reheat a pin and use a screwdriver to pry out the part. This works also on ICs , but you have to reheat one half (I did that with quite
large packages like a DIP-28).
---------------------------------------------
Concerning the problems you wrote about:
1. A simple voltage regulator like the 7805 (google it) + a litte capacitor (10u) will do the job. Do note that the maximum volume will also be limited.
2. The "pinch-bend" knob does exactly what I thing it should do. A little more explaination what you have thought of would be nice.
http://www.instructables.com/id/555-Pocket-SynthKeyboard/
3. The potentiometer should be used as a "voltage devider" (if you have never heard of that, google it. It's the simples and most used circuit block) followed
by an amplifier circuit. This can be as simple as an additional transistor plus a (few) resistor(s).
4. Creating multiple tones at once is a rather complex task or at least way to complex for you right now. This circuit can't be modified to fullfill this task.
However I assume you'll find a suitable solution relativly quick just by asking your friend google ;)
In addition: The power idicator LED isn't connected as it should be. The LED should be in parallel to the whole circuit (with a protection resitor of course) and
not(!) in series.
---------------------------------------------
For now, that's it. Depending on my mood tomorrow I'll add schematics to all the improvements I suggested. I'm sorry I can't do it now but I'm about to fall
asleep ;)
PS: Don't get me wrong, I started just like you and I did just as much mistakes as you did. Nobody masters anything right from the beginning ;)
bergerab says: May 25, 2014. 3:49 PM REPLY
Hello! Thanks for the comment. Many of the problems you are addressing are simple realities of soldering onto a 5cmx7cm piece of perfboard (such as
the "poor layout"). If you saw the youtube video the finished prototype is very playable and well designed... (see the short excerpt from "Flight of the
Bubblebee"). Many of your criticisms are opinionated but I'll take your opinions to heart for my next builds. Keep in mind this is not a final product by any
means, the pictured soldering job was the result of desoldering and resoldering components (because of redesigns). Concerning the pitchbend, it does
not act as a traditional pitchbend does, If you build this synth you will experience this. Yes, I know about voltage dividers/7805s thanks for your
contribution though. Your remarks addressing my ability to make a polyphonic synth are irrelevant, and not constructive. I would be happy to receive
more constructive feedback in the future from you since you seem like a knowledgeable engineer.
nqtronix says: May 25, 2014. 11:23 PM REPLY
I don't know you personally so I judge by the work I see. And that honestly is everything but good. The fact that put the LED in series to the whole
remaining circuit proves that you lack on basic knowledge. But I don't blame you, 80% of all beginner circuits you can find on the internet aren't better
at all. That's quite a shame because learning how to do things right gets harder. My attempt is to correct at least all mistakes on popular instructables
to help not only the author, but also the people reading the instructables.
In search of a simple transistor amplifier I stumbled across this instructable ("A Stylophone") which has a really practical circuit. Even though it does
not contain what I was looking for, the NE555 is used in a very clever way (I've never used one so I can't tell you about any personal experiences, but
I know the theoretical operation). The LM386 is a specially designed audio amplifirer to work with just a very few external components. The circuit is
directly taken from the datasheet so I assume it works realy well. I've unfortunatly no LM386 at home, so I can't try it out myself. Since you know
about voltage regulators I don't think schematics are nesessary. The LED should be direktly connected to the voltage regulators output in series with
a resistor (@5V with a standard LED 150R are fine, 180R best and anything larger should work with a dimmer light) to ground. If you have still any
questions don't hesitate to ask.
And no, I'm not (yet) an engineer, I'm some random guy, who just finished high school. But I'll take the compliment :D
- nqtronix
biraj1002 says: Jun 2, 2014. 8:31 AM REPLY
I love it. I have make one. It's works good. Thanks
biraj1002 says: May 28, 2014. 7:00 AM
(removed by author or community request)
bergerab says: May 28, 2014. 7:39 AM REPLY
Actually if you look in the schematic it does show the polarity for the 10uF cap. On pin three have current flow through the negative side, then positive
and finally attach that to the speaker. And the 100nF cap is not polarized so it doesn't matter which side goes where. Also if your synth isn't working,
make sure you connected pin 6 and 2 together as well as 8 and 4. Those are necessary connections but they are easy to miss. Good luck!
pvalyk says: May 25, 2014. 11:51 PM REPLY
I love chaos! :D

You might also like