Skip to content

All items ship from our office in Colorado USA - $5.95 Flat-Rate US shipping & free shipping on orders over $75!

PAM8403 Mini 2 Channel 3W Stereo Class D Audio Power Amplifier Module User Guide

PAM8403 2 Channel * 3 Watt Class D Stereo Audio Power Amplifier

PAM8403 Amplifier Overview

The PAM8403 is a miniature, high-efficiency Class D stereo audio power amplifier module capable of delivering 3W per channel into 4Ω speakers — all in a form factor about the size of a US postage stamp. Built around the Diodes Incorporated PAM8403 IC, this module uses a filterless Class D topology that eliminates the need for external LC output filters, keeping the component count and board size to an absolute minimum.

With an operating voltage of just 2.5V to 5.5V and up to 90% power efficiency, the PAM8403 module is ideally suited for battery-powered and portable audio applications. It features pop-noise suppression on power-on/off, short-circuit protection, under-voltage lockout, and thermal shutdown — making it a robust and reliable choice for DIY audio projects, portable speakers, IoT sound alerts, and embedded audio systems.

Note: This guide covers the basic PAM8403 module without a volume control potentiometer. Audio volume is controlled by the source device or by adding an external potentiometer to the input.


Features

  • Dual-channel stereo output: 3W (left) + 3W (right) into 4Ω speakers
  • Class D filterless architecture — no external LC output filter required
  • High efficiency: up to 90% at typical operating conditions
  • Wide operating voltage: 2.5V to 5.5V DC (ideal for USB, battery, or single-cell Li-Ion power)
  • Low THD+N (Total Harmonic Distortion + Noise) for high-quality sound reproduction
  • Built-in pop-noise suppression — no audible click or pop on power-on/off
  • Short-circuit current protection on outputs
  • Under-voltage lockout (UVLO) prevents operation below safe voltage
  • Over-temperature thermal shutdown (triggers at ~140°C ± 15°C internal temperature)
  • No external heat sink required at typical power levels
  • Ultra-compact form factor: approximately 21mm × 18mm × 3.4mm
  • Weight: approximately 1g

Specifications

Parameter Value
Amplifier IC
PAM8403
Amplifier Class
Class D (filterless)
Number of Channels
2 (Stereo)
Output Power
3W + 3W (4Ω load, 5V supply)
Output Power
1.5W + 1.5W (8Ω load, 5V supply)
Operating Voltage
2.5V – 5.5V DC
Quiescent Current
~6mA (typical)
Efficiency
Up to 90%
THD+N
0.03% (typical, 1kHz, 1W, 8Ω)
SNR
80dB (typical)
Speaker Impedance
4Ω – 8Ω
Frequency Response
20Hz – 20kHz
Thermal Shutdown
~140°C ± 15°C (internal)
Board Dimensions
21mm × 18mm × 3.4mm (L × W × H)
Weight
~1g

How It Works

What Is a Class D Amplifier?

Traditional audio amplifiers (Class A, Class AB) use transistors that operate in their linear region, acting as variable resistors to shape the audio signal. While this produces excellent sound quality, it wastes significant energy as heat — typically only 25–50% efficient.

A Class D amplifier takes a fundamentally different approach. It rapidly switches output transistors fully on and fully off at a frequency far above the audible range (typically hundreds of kHz). The audio signal is encoded as a Pulse Width Modulated (PWM) waveform — the width of each pulse corresponds to the amplitude of the audio signal at that instant. Because the output transistors are either fully on (near-zero resistance) or fully off (infinite resistance), very little power is wasted as heat, achieving efficiencies of up to 90%.

The speaker's inductance and the listener's ear naturally filter the ultrasonic switching frequency, leaving only the audible audio signal. The PAM8403 uses a filterless Class D design, meaning it doesn't require external inductors and capacitors on the output — the speaker itself acts as the filter. This is what allows the module to be so incredibly small.

Signal Flow on the Module

  1. Audio input (line-level stereo signal) enters through the L (left), R (right), and GND input pads
  2. The PAM8403 IC modulates the audio into a high-frequency PWM signal
  3. The PWM signal drives the BTL (Bridge-Tied Load) outputs — each channel has two output pins that drive opposite ends of the speaker
  4. The speaker reproduces the audio while naturally filtering the ultrasonic switching frequency

Bridge-Tied Load (BTL) Output

Each channel uses a BTL configuration, meaning the speaker is connected between two output pins (not between an output pin and ground). This effectively doubles the voltage swing across the speaker compared to a single-ended output, delivering four times the power from the same supply voltage. This is how the PAM8403 achieves 3W per channel from just a 5V supply.

⚠️ Important: Because of the BTL output configuration, neither speaker terminal should be connected to ground or connected to each other. Each speaker connects between its two dedicated output pins only.


Module Pin / Pad Descriptions

The basic PAM8403 module (without potentiometer) has solder pads arranged along the edges of the board. The exact layout may vary slightly by manufacturer, but the connections are functionally the same.

Power Input Pads

Pad Label Description
1
VCC / 5V / +
Positive power supply input (2.5V – 5.5V DC)
2
GND / −
Ground / negative power supply

Audio Input Pads

Pad Label Description
3
L
Left channel audio input (line-level signal)
4
R
Right channel audio input (line-level signal)
5
GND
Audio input ground (signal reference)

Speaker Output Pads

Pad Label Description
6
L+ (LOUT+)
Left speaker positive output
7
L− (LOUT−)
Left speaker negative output
8
R+ (ROUT+)
Right speaker positive output
9
R− (ROUT−)
Right speaker negative output

Wiring / Hookup Guide

What You'll Need

  • PAM8403 Mini Stereo Amplifier Module
  • 5V power source (USB power bank, 3× AA batteries, USB adapter, or microcontroller 5V output)
  • Two passive speakers (4Ω or 8Ω, rated for at least 3W)
  • Audio source with line-level output (smartphone, computer, MP3 player, DAC module, or microcontroller with audio output)
  • 3.5mm TRS audio cable or bare wire (depending on your audio source)
  • Hookup wire / jumper wires

Basic Stereo Wiring

Power Connections

Module Pad Connection
VCC (+)
+5V from power source
GND (−)
Ground from power source

Audio Input Connections (from a 3.5mm TRS jack/cable)

A standard 3.5mm TRS (Tip-Ring-Sleeve) audio cable carries stereo audio:

3.5mm TRS Contact Module Pad Signal
Tip
L
Left channel audio
Ring
R
Right channel audio
Sleeve
GND
Audio ground

Speaker Output Connections

Module Pad Connection
L+ (LOUT+)
Left speaker terminal 1
L− (LOUT−)
Left speaker terminal 2
R+ (ROUT+)
Right speaker terminal 1
R− (ROUT−)
Right speaker terminal 2
PAM8403 2 Channel * 3 Watt Stereo Amplifier Hookup Diagram
PAM8403 Wiring Diagram

⚠️ Critical: Do NOT connect either speaker terminal to ground or to each other. Each speaker connects only between its L+/L− or R+/R− output pair (BTL configuration).


Wiring with Common Audio Sources

Source 1: Smartphone or Computer (3.5mm Headphone Jack)

This is the simplest and most common setup:

  1. Cut a 3.5mm audio cable and strip the wires — you'll typically find three wires:
    • Red or White → Right channel (R)
    • Green or Red → Left channel (L)
    • Bare/Copper/Black → Ground (GND)
  2. Connect these to the module's L, R, and GND audio input pads
  3. Power the module from a USB power bank or 5V USB adapter
  4. Connect speakers to the L+/L− and R+/R− output pads

Tip: Wire colors inside 3.5mm cables vary by manufacturer. If you're unsure, use a multimeter in continuity mode to identify which wire connects to the tip (left), ring (right), and sleeve (ground) of the plug.

Source 2: Bluetooth Audio Receiver Module

Pair a Bluetooth audio receiver module with the PAM8403 for a wireless speaker setup:

  1. Connect the Bluetooth module's L, R, and GND audio outputs to the PAM8403's L, R, and GND input pads
  2. Power both modules from the same 5V source (USB or battery)
  3. Connect speakers to the PAM8403 outputs
  4. Pair your phone or computer to the Bluetooth module and play audio

Source 3: ESP32 or Arduino with DAC/I2S Output

For microcontroller-based audio projects (IoT alerts, voice playback, internet radio):

  1. Use a DAC module (such as the PCM5102) connected to your ESP32 via I2S
  2. Connect the DAC module's analog audio outputs (L, R, GND) to the PAM8403's input pads
  3. Power the PAM8403 from the microcontroller's 5V pin or a shared 5V supply
  4. Connect speakers to the PAM8403 outputs
ESP32 Pin PCM5102 DAC PAM8403
GPIO 25 (LCK)
LCK
GPIO 26 (DIN)
DIN
GPIO 27 (BCK)
BCK
LOUT
L (audio input)
ROUT
R (audio input)
GND
GND (audio input)
5V
VIN
VCC
GND
GND
GND

Note: The Arduino Uno's analogWrite() PWM output is NOT suitable as a direct audio source — it produces a square wave, not an audio signal. For Arduino-based audio, use a dedicated DAC (like the MCP4725) or an MP3 decoder module (like the DFPlayer Mini) to generate a proper line-level audio signal for the PAM8403.


Adding a Volume Control (Optional)

Since this is the basic module without a built-in potentiometer, you can add an external volume control:

  1. Use a 10kΩ dual-gang (stereo) logarithmic potentiometer (also labeled "audio taper" or "A10K")
  2. Wire it between your audio source and the PAM8403 input:
Potentiometer Pin Connection
Pin 1 (Left wiper input)
Left audio signal from source
Pin 2 (Left wiper output)
PAM8403 L input pad
Pin 3 (Left ground)
Audio GND
Pin 4 (Right wiper input)
Right audio signal from source
Pin 5 (Right wiper output)
PAM8403 R input pad
Pin 6 (Right ground)
Audio GND

Why logarithmic? Human hearing perceives loudness logarithmically. A linear potentiometer would make most of the volume change happen in a tiny portion of the knob's rotation. A logarithmic (audio taper) pot provides a smooth, natural-feeling volume curve.


ESP32 Internet Radio Example

This example uses an ESP32 with a PCM5102 DAC module feeding the PAM8403 to create a simple internet radio. It uses the popular ESP32-audioI2S library.

Arduino IDE Setup

  1. Install the ESP32 board package in Arduino IDE (via Board Manager)
  2. Install the ESP32-audioI2S library by schreibfaul1 (via Library Manager or GitHub)

Example Code


// PAM8403 + PCM5102 + ESP32 Internet Radio
// Envistia Mall - envistiamall.com
//
// Hardware: ESP32 → PCM5102 DAC → PAM8403 Amplifier → Speakers
// Library:  ESP32-audioI2S by schreibfaul1

#include "Audio.h"

// I2S pin definitions (ESP32 to PCM5102 DAC)
#define I2S_BCLK  27   // Bit clock
#define I2S_LRC   26   // Left/Right clock (Word Select)
#define I2S_DOUT  25   // Data out

// WiFi credentials
const char* ssid     = "YOUR_WIFI_SSID";
const char* password = "YOUR_WIFI_PASSWORD";

// Internet radio stream URL (change to your preferred station)
const char* radioURL = "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one";

Audio audio;

void setup() {
  Serial.begin(115200);

  // Connect to WiFi
  WiFi.begin(ssid, password);
  Serial.print("Connecting to WiFi");
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.println("\nWiFi connected!");

  // Initialize I2S audio output
  audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT);

  // Set volume (0-21)
  audio.setVolume(15);

  // Connect to internet radio stream
  audio.connecttohost(radioURL);
  Serial.println("Playing internet radio...");
}

void loop() {
  audio.loop();  // Must be called continuously
}

// Optional: Audio status callbacks
void audio_info(const char *info) {
  Serial.print("Info: ");
  Serial.println(info);
}

void audio_showstation(const char *info) {
  Serial.print("Station: ");
  Serial.println(info);
}

void audio_showstreamtitle(const char *info) {
  Serial.print("Now Playing: ");
  Serial.println(info);
}


Application Tips and Best Practices

Power Supply

  • Use a clean, stable 5V supply. Power supply noise directly affects audio quality. A USB power bank typically provides cleaner power than a cheap wall adapter.
  • Add a decoupling capacitor (100µF – 470µF electrolytic + 0.1µF ceramic) across the VCC and GND pads if you experience buzzing or humming. Place them as close to the module as possible.
  • Battery power works excellently. Three AA/AAA alkaline batteries (4.5V) or a single 3.7V Li-Ion/Li-Po cell provide clean, noise-free power. The module operates down to 2.5V, so you'll get good battery life.
  • Avoid powering from the same supply as motors or servos. Switching noise from motors will be audible through the speakers.

Speaker Selection

  • 4Ω speakers will produce the maximum output power (3W per channel) but draw more current from the power supply.
  • 8Ω speakers will produce approximately 1.5W per channel but are easier on the power supply and may produce slightly cleaner audio at lower volumes.
  • Speaker power rating should be at least 3W to safely handle the module's full output. Using a speaker rated below 3W risks damage at high volume.
  • Larger speakers sound better. Even though the module is tiny, pairing it with 2" or 3" full-range speakers will produce noticeably better bass and overall sound quality compared to small 1" speakers.

Audio Quality

  • Keep input wires short to minimize noise pickup. Shielded audio cable is ideal for runs longer than a few inches.
  • Separate audio ground from power ground at the source if possible, connecting them at a single point near the module to avoid ground loops.
  • Don't overdrive the input. If the audio sounds distorted even at low volume, the input signal level is too high. Reduce the volume on the source device or add a voltage divider / potentiometer on the input.
  • The module has no standby mode. It draws approximately 6mA quiescent current even with no audio playing. For battery-powered projects, consider adding a power switch.

Soldering Tips

  • The module's pads are small. Use a fine-tipped soldering iron (conical or chisel tip) and thin solder wire (0.5mm–0.8mm).
  • Pre-tin both the pads and wire ends before joining them.
  • Avoid excessive heat — the PAM8403 IC is sensitive to prolonged high temperatures. Keep soldering time under 3 seconds per pad.

Troubleshooting

Symptom Possible Cause Solution
No sound at all
No power to module
Verify VCC is 2.5V–5.5V; check for correct polarity
No sound at all
Audio source not connected or muted
Check audio cable connections; increase source volume
No sound at all
Speaker wired to ground instead of BTL outputs
Connect speaker between L+/L− or R+/R− only — never to GND
Sound from only one channel
One audio input not connected
Verify both L and R input pads are wired; check for broken solder joints
Sound from only one channel
Damaged speaker or broken wire
Test each speaker independently; check wire continuity
Buzzing or humming noise
Ground loop or noisy power supply
Add decoupling capacitors (100µF + 0.1µF) across VCC/GND; use a cleaner power source
Buzzing or humming noise
Long unshielded input wires
Shorten input wires or use shielded audio cable
Distorted audio at all volumes
Input signal level too high (overdriven)
Reduce volume on the source device; add a 10kΩ potentiometer or voltage divider on input
Distorted audio only at high volume
Speaker impedance too low or speaker underpowered
Use 4Ω or 8Ω speakers rated for at least 3W
Module gets hot
Sustained high-power output or short circuit
Normal warmth is expected at full power; check for shorted speaker wires. Module will auto-shutdown at ~140°C
Popping noise when powering on/off
Power supply voltage ramp too slow
Use a supply with a fast, clean voltage ramp; the module has built-in pop suppression but very slow ramps can still cause a small pop
Audio cuts out intermittently
Loose solder joints or intermittent connection
Reflow all solder joints; secure wires with strain relief

Frequently Asked Questions

Q: Can I use this module with a single speaker (mono)? 
A: Yes. Simply wire one speaker to either the L+/L− or R+/R− output pair. The other channel can be left unconnected. Note that you'll only hear the left or right channel of a stereo source. To combine both channels into mono, connect both L and R input pads together at the audio source. We also affer the PAM8302A 2.5W Class D Mono Audio Power Amplifier Module for mono applications. 

Q: Can I power this from a 3.7V Li-Ion battery? 
A: Absolutely. The module operates from 2.5V to 5.5V, so a single 3.7V Li-Ion or Li-Po cell works perfectly. Output power will be reduced compared to 5V operation (approximately 1.5W into 4Ω at 3.7V), but audio quality remains excellent. This makes it ideal for portable Bluetooth speaker projects.

Q: Can I connect headphones instead of speakers? 
A: This is not recommended. The PAM8403's BTL output is designed for low-impedance speakers (4Ω–8Ω). Headphones typically have much higher impedance (16Ω–300Ω), and the BTL configuration means neither output terminal is ground-referenced, which is incompatible with standard headphone wiring. Use a dedicated headphone amplifier instead.

Q: Why is there no volume control on this module? 
A: This is the basic version of the PAM8403 module, designed for maximum flexibility and minimum size. You control volume through your audio source (phone, computer, microcontroller software) or by adding an external 10kΩ dual-gang logarithmic potentiometer as described in the wiring guide above. Envistia Mall also carries a version with a built-in potentiometer if you prefer an integrated solution.

Q: Can I bridge both channels together for more power into one speaker? 
A: No. The PAM8403's BTL outputs cannot be bridged. Each channel is already internally bridged. Attempting to combine channels can damage the IC.

Q: What's the difference between Class D and Class AB amplifiers? 
A: Class AB amplifiers use transistors in their linear region and are typically 25–50% efficient — the rest is wasted as heat. Class D amplifiers switch transistors fully on/off at ultrasonic frequencies, achieving up to 90% efficiency with minimal heat. The trade-off is that Class D can introduce very slight high-frequency artifacts, but modern designs like the PAM8403 produce audio quality that is indistinguishable from Class AB for most applications.

Q: Is this module loud enough for a room? 
A: With efficient 4Ω speakers, 3W per channel is sufficient for comfortable listening in a small to medium room. It won't fill a large space or compete with background noise at a party, but it's more than adequate for desktop speakers, bedside radios, workshop audio, and IoT voice/alert applications.


Ready to get started?

Buy the PAM8403 2 Channel * 3 Watt Class D Stereo Amplifier Module →


Resources


This guide is provided by Envistia Mall for educational and technical reference purposes. The manufacturer and Envistia LLC (dba Envistia Mall) are not responsible for any damages or losses resulting from the use of this product. Always follow proper electrical safety practices when working with electronic components. Specifications are based on manufacturer data and are subject to change without notice.

Share this guide:
in

🛒 Related Products

Find the components mentioned in this guide in our store.

Browse Products →