The 1/2 watt LM386 Audio Amplifier

I love the LM386. It’s a complete amplifier in an 8 pin DIP chip! All that is needed to build an audio amp are a few external components most of which are decoupling capacitors. It is well suited to low power applications and runs just fine on a 9 volt battery or any voltage supply from 4-12 volts. It has a low quiescent current drain of only 4mA so it won’t kill a battery right away if you leave it on and idle. The gain is internally set to 20 but the addition of an external resistor and capacitor between pins 1 and 8 will increase the gain to any value from 20 to 200. An increase in bass frequency can be facilitated by adding a 10K resistor and .033 uf capacitor in series between pins 1 and 5.

The parts list for this build is pretty minimal:
1 – Enclosure of your choice
1 – LM386 Audio Amplifier 8 pin DIP
1 – 10 ohm resistor
1 – 10K potentiometer
1- 220 uf polarized capacitor
1 – 100 uf polarized capacitor
1- 10 uf polarized capacitor
1 – .01 uf ceramic capacitor
1 – .047uf ceramic capacitor
2 – 1/8″ mini audio jacks
2 – 1/4″ audio jacks
1- 9 volt battery clip
1 – 9 volt battery
1- small perforated circuit board
Some hookup wire
A speaker of your choice for output.

I suggest building the circuit on a bread board first. It’s much easier to troubleshoot and find errors and you can easily experiment with different components. You’ll also learn more as you can see what each component does by removing it or changing its value. You can leave the audio jacks off the output and install some small binding posts or just two wires with alligator clips on them for connection to an external speaker. You could also put the whole circuit in a larger enclosure and install the speaker for an all in one portable amp.

This amp can be used to amplify any low level audio signal like an mp3 player or even a guitar or bass as you’ll see in the video.

All of the parts required can be found at Radio Shack and shouldn’t cost more than $20. Have fun building your amp and keep on hackin!

About Dino

Self taught electronics and hardware hacker.
This entry was posted in Weekly Hacks. Bookmark the permalink.

42 Responses to The 1/2 watt LM386 Audio Amplifier

  1. Adam Ward says:

    I’ve never seen Altoids on sale in the UK, ironic really since they are manufactured in Wales and exported. Those tins look great for small projects. Perhaps they offer good for RF shielding for certain applications?

    I dig the Spinal Tap and Black Sabbath references too 🙂 Rock on Dino.

  2. Personn says:

    I really like this application of the LM386! I was originally going to attempt a discrete component class A amp, but I think I’m going to follow this design instead. My goal is to implement a two-channel version with a switch to activate bass-boost. The 5mW/channel output of my walkman just doesn’t cut it!

    Any ideas on how to implement volume control on two of these while using only one control knob – maybe I could do some trickery with a series resistance in the gain circuit? Also, have you had any trouble with distortion resulting from hitting the power supply rails? I’m a bit concerned about the distortion I saw resulting from the output capacitance – I’m guessing that if I increased the capacitance I would see less distortion? I suppose that most of these questions could be resolved with experimentation, but I thought I’d at least try and see what I could find out beforehand!

  3. Jeremiah says:

    Thank you for this simple but effective schematic! This was my first time building something outside of the classroom, and we only used 74-series IC’s in that class. no resistors, capacitors, potentiometers, LEDs, diodes. honestly nothing but 7400 series chips. This was something that was complex enough that I had to think it through, do a fair amount of research(everything from ‘what does this mean on the schematic?’ to ‘crap, which cap is which?’), and had a blast building it. My little sister wants to build one for her bass guitar next weekend, and I am really looking forward to that.

    Again, thank you very much for taking the time to make a video, draw the schematic, and share it with the world at large.

    I do have a couple of questions, as a complete newb: Is it ok to solder right to the chip? (also, this has been my introduction to soldering 😀 ) I was reading online
    that many folks burn some of their chips out by doing so. Is this a chip that I would need to worry about that?

    Have a great one!!

  4. Dino says:

    Yes you can solder directly to the pins. Just don’t hold the heat there very long. It helps if you tin your wire first, tin the lead on the chip, then solder the two together. That way it only takes a brief time of applying teh soldering iron to the chip lead.
    Glad you liked and built the project and it’s always great to hear feedback. Have fun building the next one and be sure to visit Hack A Week each week for another project.
    Dino

  5. icebox says:

    Hi there,

    I built your amp in a nice wooden cigar box, you can see it on my own blog: http://www.sgvulcan.com/cigar-box-portable-amplifier/

    I have just one question: the cap. connecting pins 1 and 8 is drawn as not polarized cap yet in the materials list you have it as a polarized 10 uF cap.

    I checked other LM386 schematics and it seems that the correct choice is a polarized cap. Is that true?

    • Dino says:

      Yes it is a polarized cap. I guess I forgot to draw it as such. Good catch. 🙂 Nice build on yours by the way!
      Dino

  6. miggaiowski says:

    Hi, I built this amp on my bredboard today.
    The signal is fine until the last cap before the speaker. After that it just turns into a weird high pitch noise, even with the pot way low. Besides that it did amplify my guitar, but with distortion not only on high gain. Any suggestions on the problem with the 220uF cap? I tested two caps just in case the first one was bad, so that is not the problem =)
    Great video by the way, I will try and fit it all inside an altoids tin as well.

  7. Dino says:

    Check that the 100 uF decoupling capacitor is an electrolytic cap with the negative pointing to ground. The 10 uF cap is also a polarized cap with the negative on pin one (1) eight (8). I missed putting that on the schematic. Sorry. 🙂

  8. jaycollett says:

    I think you meant to say the 10uF cap is polarized with the negative on PIN 8 not PIN 1. Well, that’s what I read on the datasheet unless my lack of coffee today is affecting my judgement.

  9. Miguel Gaiowski says:

    Ok, just finished fitting everything inside the Altoids tin.

    Here’s a pic: http://imgur.com/xAeCg

    It’s a very tight fit. Next time I will double measure the space between the switch and pot. Great project, lots of fun, thanks!

  10. electromanj says:

    Found an easter egg. I wired the 10k pot backwards and when I removed one of the wires, (not the wiper) I picked up a local am radio station!

  11. walmart_1989 says:

    what kind of volts are the capacitors? im new at this so please help thanks in advance

  12. Lutiana says:

    Hi there,

    I am trying to build this circuit so i can turn my passive Subwoofer into an active one, but I am having trouble. I have checked and rechecked my parts and circuit layout on my bread board, but I cannot for the life of me get it to work. All I get is loud high pitched squeals tons of distortion and no useable signal at all. But it is loud.

    I am 100% sure that my layout matches the schematic, but my electronics knowledge is not that good so I am at a wall and have no idea what to check or change to get this to work. Any ideas?

  13. jams1221 says:

    how do you connect a potentiometer on the breadboard? will i just connect 3 parallel wires on the 3 slots of holes of potentiometer to the breadboard?, and one thing, is there any specific size of wires to be use?. I need an ASAP reply, im doing this for my school project..

  14. jams1221 says:

    and another thing, i use a 9 volt battery source, will a 10 volts capacitor be enough for this? reply pls… need help!!!

    • Dino says:

      General rule of thumb with capacitors is that the voltage rating should be HIGHER than the voltage powering the circuit. 10 volt rating will work but a little higher is always better.

      • jams says:

        ahh, will a 30 or 35 volts will be Ok sir? and will a 6 ohm speaker work too? tnx for the quick reply sir, i need to finish this by saturday, great video by the way.

        • Dino says:

          Yes and yes! 🙂

          • jams says:

            thank u so much sir, I really appreciate your reply, I’m a newbie in Electronic projects, I will post when I’m done and probably ask further questions when there is a problem (sorry for bad English)

  15. jams says:

    and one thing sir, where do i put the switch and the indicator?

  16. ear0wax says:

    Can we double stack the LM386 chips and double the output?

  17. jams says:

    sir, is it ok to use a 35 volts electrolytic capacitors and 50 volts ceramic capacitor or should they be equal value in volts? my problem right now is the distortion of sound, I have to fix that or is there any other problem regarding with the distortion of sound?

    • Dino says:

      Yes that is OK but the distortion is from turning it up too loud. It is only 1/2 watt output.

      • mitsof says:

        That 10uf cap between pins 1 and 8 seems to be the culprit.It gives too much gain hence the high distortion.A solution would to remove it completely. A separate preamp circuit could be used for gain but I do not know how to do that.

  18. Nitu says:

    I’m using 220uf 25v, 100uf 25v, 10uf 100v caps…but its not working..it only produce a sound…i’m new in this work so please help me

  19. mitsof says:

    Here in my lm386 amp on a breadboard http://www.youtube.com/watch?v=TAnJxbFr2k4 .Actually it sounds better in reality.The mic I recored it with missed a lot.Watch what happens when I turnup the volume .The distortion is very bad.When I add the 10uf cap betwwen 1 and 8 pins the distortion gets awful.

  20. mitsof says:

    How many watts should the resistors be?

  21. mitsof says:

    Finally I made my lm386 amplifier pcb .Take a look.http://www.youtube.com/watch?v=1yNO_jtfb5g

    What do you think?Is there anyone to deal with the distortion?I did not use the 10uf cap between 1 and 8 pins.It distorts a lot.I would really like to see a preamp schematic for this amplifier.

  22. mitsof says:

    The solution to the crackling problem was to put a stable source of dc current.I replaced the battery with a 12v ad/dc adapter and the job was done.

  23. PerryShops says:

    Dean – I emailed you directly about this … but you must be a busy man. I just wanted to point out that a note in your schematic image is incorrect. It says, “NO CAP = MAX GAIN” … It’s actually the opposite – NO CAP = MIN GAIN. Without a cap, the 386 has a gain of 20. With a cap, 200. You use the cap + a resistor to achieve values in between.

    Cheers ~ perry.

    • Dino says:

      Thanks Perry. I’ve been quite busy and hadn’t found time to reply to your email. I altered he schematic several months ago and added that note… with the error. OOPS! I’m always grateful when someone points out my errors. 🙂 I’ve corrected that note. Thanks again and … keep on hackin!

  24. spria says:

    hello sir,
    this is good project.i used your circuit in my project. when i connect the input with mic instead of audio jack, there is much constant noise heard in speaker,and my output got distorted and noise dominating the output .i added 10k and 0.1 miiicro farad components with mic.why is the constant loud sound heard ?please explain sir.thanks in advance

Comments are closed.