I am trying to diagnose why my LM386 (250mW version) audio amplifier is crackling when the volume is more than a few mV. I created the circuit according to the diagram on the datasheet with pin 7 and 8 floating and no variable resistor (signal from 3.5mm mono cable directly into pin 3). I did the following:
- Used a "star grounding pattern" with all grounds connected to a common point next to the ground pin of the chip
- Used a shielded 3.5mm mono cable
- Tried adding a 250uF and 1000uF power supply decoupling capacitor
- Tried changing the 250uF decoupling output capacitor to 1000uF
- Tried a different speaker (4 ohm and 8 ohm)
- Tried a different power supply
- Tried removing the Zobel RC Filter
- Power Supply is 12V / 120W
None of the above made a difference. Only when playing audio at very low (almost inaudible) volume does the crackling disappear. This is the output from the speaker:
This is the prototyped board: