The LM386 amplifier is a low-voltage, single-supply audio power integrated circuit designed to drive small speakers with a default voltage gain of 20 and a maximum output of roughly 1 watt. Originally designed by National Semiconductor and now manufactured by Texas Instruments, this 8-pin DIP IC bridges the gap between fragile, low-current audio signals and the demanding current requirements of physical speaker coils. Whether you are building a retro AM radio, a DIY guitar practice amp, or an intercom, understanding the internal architecture and external biasing requirements of this chip is essential for clean, oscillation-free audio.
How the LM386 Changes Your Audio Circuit
When you introduce an LM386 into a circuit, you are transitioning from voltage amplification (signal conditioning) to power amplification (current delivery). A typical electret microphone or microcontroller DAC outputs a line-level or mic-level signal—perhaps 10mV to 500mV with virtually zero current sourcing capability. An 8-ohm speaker, however, requires hundreds of milliamps to produce audible sound pressure levels.
Makers frequently confuse the LM386 with general-purpose operational amplifiers like the LM358, LM324, or LM741. While an op-amp can easily amplify a 10mV signal to 2V, it cannot push that 2V across an 8-ohm load. A standard LM358 can source a maximum of about 40mA. If you connect an 8-ohm speaker directly to an LM358, the op-amp will hit its current limit, severely clipping the waveform and potentially overheating. The LM386 solves this by utilizing an internal Class AB output stage specifically designed to source and sink the 250mA+ peak currents required by low-impedance speaker loads, while maintaining internal frequency compensation to prevent high-frequency instability.
Worked Numeric Example: Setting Gain and Output Power
To properly design an LM386 circuit, you must calculate both the voltage gain and the maximum theoretical power output based on your supply rail and load impedance. Let us walk through a real-world scenario using a standard 9V battery and an 8-ohm speaker.
Step 1: Determine the Voltage Gain
The LM386 has an internal feedback network that sets the default voltage gain to 20 (26 dB) when Pins 1 and 8 are left open. If you need more gain, you can place a bypass capacitor across these pins.
- Default Gain: Pins 1 and 8 open = Gain of 20.
- Maximum Gain: 10µF capacitor between Pin 1 and Pin 8 = Gain of 200 (46 dB).
- Custom Gain: To set a gain of 50, place a 10µF capacitor in series with a 680Ω resistor between Pins 1 and 8.
Step 2: Calculate Maximum Output Power
Assume we are using an LM386N-1 powered by a fresh 9V alkaline battery, driving an 8-ohm speaker. The amplifier cannot swing its output all the way to the supply rails; it has a typical dropout voltage of about 1.5V.
- Maximum Peak-to-Peak Voltage ($V_{pp}$): $9V - 1.5V = 7.5V_{pp}$.
- Convert to RMS Voltage ($V_{rms}$): For a sine wave, $V_{rms} = V_{pp} / (2 \times \sqrt{2})$. Therefore, $7.5 / 2.828 = 2.65V_{rms}$.
- Calculate Power ($P$): Using the formula $P = V_{rms}^2 / R$, we get $2.65^2 / 8 = 7.02 / 8 = 0.88 Watts$.
In practice, due to battery voltage sag under load and internal resistance, you will reliably see about 0.65W to 0.75W of clean audio power into an 8-ohm load on a 9V supply before visible clipping occurs on an oscilloscope.
Where You Meet the LM386 in Practice
You will rarely find the LM386 in modern consumer electronics, as Class D amplifiers have largely replaced it in battery-powered devices to maximize runtime. However, it remains a staple in specific hobbyist, educational, and industrial niches where its simplicity and low part count shine.
| Application | Why the LM386 Wins Here | Typical Configuration |
|---|---|---|
| DIY Guitar Practice Amps | Simple single-supply operation; naturally soft clipping when overdriven, mimicking tube amp distortion. | Gain set to 200, input coupled via 10kΩ volume pot, Ruby Amp topology. |
| AM/FM Radio Audio Stages | Low noise floor; does not generate high-frequency switching noise that would interfere with the RF tuner. | Gain set to 20, driven directly from the IF amplifier or detector diode. |
| Intercoms and Paging Systems | Can drive long speaker wires without high-frequency instability; robust against minor impedance mismatches. | Gain set to 50, 12V supply (using LM386N-4 variant). |
| Bench Test Oscillators | Easily configured as a Wien-bridge or phase-shift oscillator audio output driver without needing dual-rail power. | Gain set to 20, output AC-coupled via 220µF capacitor. |
Common Pitfalls: Motorboating and RF Oscillation
The most frequent point of failure for beginners building an LM386 circuit is encountering severe, low-frequency "motorboating" (a rhythmic thump-thump-thump sound) or inaudible high-frequency RF oscillation that causes the chip to overheat and melt.
Fixing Motorboating: The LM386 has a relatively poor Power Supply Rejection Ratio (PSRR) at low frequencies. If the speaker draws heavy current pulses, the voltage on the supply rail dips, which feeds back into the input stage, creating a low-frequency oscillation loop. To prevent this, you must decouple the power supply aggressively. Place a 100µF to 470µF electrolytic capacitor directly across the VCC (Pin 6) and GND (Pin 4), alongside a 0.1µF ceramic capacitor to shunt high-frequency noise. Additionally, tie Pin 7 (Bypass) to ground via a 10µF capacitor to stabilize the internal bias network.
Fixing RF Oscillation (The Zobel Network): Speaker cables act as inductors. At high frequencies, this inductance can cause phase shifts that turn the amplifier's negative feedback into positive feedback, resulting in multi-megahertz oscillation. Think of the Zobel network as a shock absorber for high-frequency reflections. You must place a series combination of a 10Ω resistor and a 0.047µF (47nF) capacitor between the output (Pin 5) and ground. This presents a low impedance to RF signals, stabilizing the output stage without affecting audible frequencies.
Frequently Asked Questions
Can I use an LM386 amplifier to drive a 4-ohm speaker?
Yes, but with strict thermal and supply voltage limitations. The LM386N-1 can drive a 4-ohm load, but the maximum supply voltage must be kept below 9V to prevent exceeding the IC's internal power dissipation limits (typically 1.25W). If you push 12V into an LM386N-1 with a 4-ohm speaker, the chip will trigger thermal shutdown or fail catastrophically. If your design requires a 4-ohm speaker at 12V, you must use the LM386N-3 variant, which is internally bonded to handle higher power dissipation, or add a heatsink to the ground pins (Pins 3, 4, 5, and 7 are tied to the internal ground plane and act as the primary heat path).
Why is my LM386 amplifier circuit buzzing or humming?
A 50Hz/60Hz hum is almost always caused by inadequate power supply filtering or improper grounding, not the amplifier IC itself. If you are using a wall-wart power supply, ensure it is a regulated, filtered DC supply; cheap unregulated transformers will inject massive amounts of AC ripple directly into the audio path. Furthermore, ensure your audio input ground and the speaker ground meet at a single "star ground" point at Pin 4 of the IC. Daisy-chaining grounds through a breadboard's power rails creates ground loops that the LM386 will happily amplify as a loud hum.
What is the difference between the LM386N-1, LM386N-3, and LM386N-4?
While the pinouts and internal schematics are identical, the silicon die size and internal bonding differ to support varying power and voltage limits. The LM386N-1 is the standard version, rated for 4V to 12V operation and roughly 0.65W output into 8 ohms. The LM386N-3 is a higher-power variant rated for up to 1W output, designed to handle the thermal load of driving 8-ohm speakers at 12V. The LM386N-4 is optimized for higher voltage applications, allowing supply rails up to 18V, making it ideal for 12V lead-acid battery systems or 16V wall adapters where voltage spikes are common.






