555 Pocket Synth/Keyboard

52,546

561

33

About: 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 w...

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

-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.

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!

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.

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!

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!

4 People Made This Project!

Recommendations

  • Plastics Contest

    Plastics Contest
  • Optics Contest

    Optics Contest
  • Make it Glow Contest 2018

    Make it Glow Contest 2018

33 Discussions

0
None
LaserDavecrazyscottnb

Reply 4 years ago on Introduction

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.

0
None
bergerabcrazyscottnb

Reply 4 years ago

Wow excellent idea! That really enhances the playability, thanks for your contribution!

0
None
krm_priya

4 years ago on Introduction

I made this on a breadboard but the speaker isn't responding.

Is it because I have used a preset instead of a pot?

1 reply
0
None
bergerabkrm_priya

Reply 4 years ago on Introduction

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!

0
None
mgoel

4 years ago on Introduction

So to add more switches for the notes....i extend the circuit in the same manner as shown in the diagram????

2 replies
0
None
bergerabmgoel

Reply 4 years ago

Exactly! Since the resistors are in series, each note you add will be a lower frequency from the last

0
None
mgoelbergerab

Reply 4 years ago

thanx.....going to try it this week!!

0
None
samuraijack

4 years ago on Introduction

i like it.

there is always room for improvement in all things,

but if it works why fix it ? :P

0
None
RG_on_the_move

4 years ago

I cannot wait to try to make this. I can only hope my solders turn out half this good!

1 reply
0
None
bergerabRG_on_the_move

Reply 4 years ago

Thanks so much for your interest! Let me know if there's any additional information that should be in this instructable. Goodluck!

0
None
biraj1002

4 years ago on Step 2

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

3 replies
0
None
chrisbadlarrybiraj1002

Reply 5 months ago

It’s a 100nF ceramic capacitor. The 10uF electrolytic capacitor in the diagram has the positive side toward the speaker and the negative toward the 555. Looks like you posted this question three years ago. I bet you’ve already got an answer. But I figured I’d answer anyway. Just for fun

0
None
bradyamundson

Question 7 months ago

I'm planning on making this but I thought it would be fun to be able to switch the wave type. I know there are pretty simple ways to convert square waves to sine waves. I'm not really sure where I would convert it in the circuit, or if the different wave types (sine, triangle, sawtooth) would work with the circuit.

0
None
[]HĒŁŁ []K

9 months ago

Hey how would I use a 556 chip to add one more sound effect?? Please let me know because I want to make this so bad