I've built an amplifier with an lm386 but when I connect a speaker (8ohm) to the output I get a very distorted signal. The problem appears only when the speaker is connected. If I connect an external amplifier to the lm386 output, the audio is right.
The issue appears also without gain capacitor between pin 1 and 8 and with the most basic configuration from the datasheet (LM386 with Gain = 20, page 8 on TI datasheet)
Electronic – LM386 speaker distorts
amplifieraudiolm386
Related Topic
- Electronic – Fully understanding LM386 datasheet minimum parts example
- Electronic – arduino – Audio from Arduino Due’s analog outputs using LM386
- Electronic – Alternative to LM386? To drive 8 ohm speaker with 9V circuit
- Electrical – LM386 no output with input signal below 2V
- Electronic – LM386 Amplifier not amplifying
- Electronic – LM386 audio amplifier with push-pull output
- Electronic – LM358n versus LM386 for audio amp
Best Answer
Compare your circuit with an example from the datasheet:
You have the + input grounded rather than the - input as in the datasheet. The LM386 only works properly when the - is grounded and signal goes in the +. You have the connections to pin 2 and pin 3 swapped.
You have some strange feedback from the output to the gain input. Don't do that. The gain pins should only be connected together (through a capacitor or a capacitor in series with a resistor.) Remove R18 and C9.
The LM386 is not an opamp. It is a power amplifier whose symbol happens to resemble that of an opamp.
It doesn't work like an opamp, and you can't treat it as one.