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 with Volume Control & Switch User Guide

PAM8403 Mini 2 Channel 3W Stereo Audio Power Amplifier Board with Volume Control & Switch

PAM8403 Amplifier with Volume Control Overview

The PAM8403 with Volume Control is a miniature, high-efficiency Class D stereo audio power amplifier module capable of delivering 3W per channel into 4Ω speakers. 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.

This version of the PAM8403 module includes an integrated dual-gang volume control potentiometer with a built-in power switch — turn the knob fully counter-clockwise to click the power off, and rotate clockwise to power on and increase volume. This makes it a true all-in-one amplifier solution: just add speakers, a power source, and an audio signal.

With an operating voltage of just 2.5V to 5.5V and up to 90% power efficiency, the 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 portable speakers, Bluetooth speaker builds, desktop audio, IoT sound alerts, and embedded audio systems.

Note: This guide covers the PAM8403 module with the integrated volume control potentiometer and power switch. For the basic module without volume control, see our PAM8403 Basic Module User Guide.


Features

  • Dual-channel stereo output: 3W (left) + 3W (right) into 4Ω speakers
  • Integrated dual-gang volume control potentiometer — smooth, natural audio-taper volume adjustment
  • Built-in power switch — integrated into the volume knob (fully counter-clockwise = off)
  • 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
  • Compact form factor: 29mm × 20mm × 12.5mm (L × W × H); 29mm × 35mm × 12.5mm including volume control knob
  • Weight: approximately 5g

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
Volume Control
Dual-gang logarithmic potentiometer with integrated power switch
Thermal Shutdown
~140°C ± 15°C (internal)
Board Dimensions
29mm × 20mm × 12.5mm (L × W × H)
Dimensions with Knob
29mm × 35mm × 12.5mm
Weight
~5g

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 signal passes through the integrated dual-gang volume control potentiometer, which attenuates both channels equally
  3. The PAM8403 IC modulates the volume-adjusted audio into a high-frequency PWM signal
  4. The PWM signal drives the BTL (Bridge-Tied Load) outputs — each channel has two output pins that drive opposite ends of the speaker
  5. 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 to each other. Each speaker connects between its two dedicated output pins only.

Integrated Volume Control & Power Switch

The volume control potentiometer on this module serves a dual purpose:

  • Volume adjustment: Rotating the knob clockwise increases volume; counter-clockwise decreases it. The potentiometer uses a logarithmic (audio) taper, which provides a smooth, natural-sounding volume curve that matches how human hearing perceives loudness.
  • Power switch: The switch is integrated into the potentiometer shaft. Rotating the knob fully counter-clockwise past the minimum volume position produces a click — this is the power switch engaging and cutting power to the module. Rotating clockwise from the off position clicks the power on and begins increasing volume.

This dual-function design eliminates the need for a separate power switch, simplifying your project's enclosure design and reducing component count.


Module Pin / Pad Descriptions

The PAM8403 module with volume control has solder pads arranged along the edges of the board, plus the volume control potentiometer mounted on one end.

Power Input Pads

Pad Label Description
1
VCC / 5V / +
Positive power supply input (2.5V – 5.5V DC). Power is routed through the integrated switch on the volume pot.
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

 

PAM8403 Amplifier Module with Volume Control Wiring Connection Hookup Diagram
PAM8403 Wiring Connection Hookup Diagram

⚠️ Critical: Left and right channel negative connections (L− and R−) should never be connected together or to ground. Doing so may damage the module. Each speaker must be wired independently between its own +/− output pair.


Wiring / Hookup Guide

What You'll Need

  • PAM8403 Mini Stereo Amplifier Module with Volume Control & Switch
  • 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, Bluetooth receiver module, or DAC module)
  • 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

Note: Power flows through the integrated switch on the volume potentiometer. The module will not power on until the volume knob is rotated clockwise past the "click" position.

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

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


Wiring with Common Audio Sources

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

This is the simplest and most common setup — a true plug-and-play portable speaker:

  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 3× AA batteries (4.5V)
  4. Connect speakers to the L+/L− and R+/R− output pads
  5. Turn the volume knob clockwise to click the power on and adjust volume

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 — the integrated volume knob and power switch make this an ideal combination for a DIY Bluetooth speaker:

  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
  5. Use the volume knob to control amplifier volume (source volume can also be adjusted on your phone)

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.

Source 4: DFPlayer Mini MP3 Module

The DFPlayer Mini is a popular choice for standalone audio playback from a microSD card, and pairs perfectly with the PAM8403 for amplified stereo output:

  1. Connect the DFPlayer Mini's DAC_L and DAC_R outputs to the PAM8403's L and R input pads
  2. Connect the DFPlayer Mini's GND to the PAM8403's audio GND
  3. Power both modules from 5V
  4. Control playback via Arduino serial commands; control volume with the PAM8403's knob

ESP32 Internet Radio Example

This example uses an ESP32 with a PCM5102 DAC module feeding the PAM8403 to create a simple internet radio with hardware volume control. 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 (with Volume Control) + PCM5102 + ESP32 Internet Radio
// Envistia Mall - envistiamall.com
//
// Hardware: ESP32 → PCM5102 DAC → PAM8403 Amplifier (w/ volume knob) → Speakers
// Library:  ESP32-audioI2S by schreibfaul1
//
// The PAM8403's integrated volume knob provides hardware volume control,
// while software volume can also be adjusted via audio.setVolume().

#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 software volume (0-21)
  // With the PAM8403 volume knob, you can set this to max
  // and use the hardware knob for all volume control
  audio.setVolume(21);

  // Connect to internet radio stream
  audio.connecttohost(radioURL);
  Serial.println("Playing internet radio...");
  Serial.println("Use the PAM8403 volume knob to adjust volume.");
}

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.
  • Connect speakers before applying power. The old support page notes that speakers (load) should be connected before power is applied to the module for best results.

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.

Volume Control Usage

  • The integrated potentiometer provides a logarithmic (audio) taper volume curve, which means the perceived loudness changes smoothly and naturally across the knob's rotation.
  • Fully counter-clockwise (with click) = Power OFF. Rotating clockwise past the click turns the module on at minimum volume.
  • For the best signal-to-noise ratio, set your audio source to approximately 75–80% volume and use the PAM8403's hardware knob for final volume adjustment. Setting the source too low and the amplifier too high will amplify noise along with the signal.
  • The potentiometer is a mechanical component. If you experience scratchy or intermittent audio when turning the knob, a small amount of contact cleaner (such as DeoxIT) applied to the potentiometer can resolve this.

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 on the knob, the input signal level is too high. Reduce the volume on the source device.

Enclosure Design Tips

  • The volume knob protrudes from the board, making it easy to mount through a panel or enclosure wall. A simple round hole allows the knob shaft to pass through for external access.
  • The knob's click-on/click-off power switch eliminates the need for a separate power switch in your enclosure.
  • Consider using a panel-mount 3.5mm audio jack wired to the module's input pads for a clean, professional audio input connection.

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.
  • Be careful not to apply excessive force to the volume potentiometer during soldering or mounting, as the solder joints connecting it to the PCB can crack.

Troubleshooting

Symptom Possible Cause Solution
No sound at all
Power switch not engaged
Rotate volume knob clockwise past the "click" to turn on
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
Sound from only one channel
Volume pot has a broken internal wiper
Try rotating the knob slowly — if one channel cuts in and out, the pot may need replacement
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
Distorted audio only at high volume
Speaker impedance too low or speaker underpowered
Use 4Ω or 8Ω speakers rated for at least 3W
Scratchy sound when turning volume knob
Dirty or worn potentiometer contacts
Apply contact cleaner (DeoxIT) to the potentiometer; rotate knob back and forth several times
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; check potentiometer mounting; secure wires with strain relief
L− and R− connected together
Incorrect wiring
Disconnect immediately. L− and R− must never be connected together — this can damage the module

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.

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: What's the difference between this module and the basic PAM8403 module without volume control? 
A: Both modules use the same PAM8403 IC and deliver identical audio performance (3W + 3W into 4Ω). The key differences are:

Feature Basic Module Volume Control Module (This One)
Volume Control
None (controlled by source)
Integrated dual-gang potentiometer
Power Switch
None (always on when powered)
Integrated into volume knob
Board Size
21mm × 18mm × 3.4mm
29mm × 20mm × 12.5mm (29mm × 35mm with knob)
Best For
Space-constrained designs, software-controlled volume
Portable speakers, standalone audio, enclosure builds

Choose the basic module when space is critical or volume is controlled digitally. Choose this module when you want a self-contained amplifier with physical controls.

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: Why does the volume knob feel "scratchy" after extended use? 
A: Mechanical potentiometers can accumulate dust or oxidation on their internal contacts over time. Apply a small amount of electronic contact cleaner (such as DeoxIT D5) into the potentiometer opening and rotate the knob back and forth several times. This typically restores smooth operation.

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.


Project Ideas

The integrated volume control and power switch make this module especially well-suited for self-contained audio projects:

  • 🔊 DIY Bluetooth Speaker — Pair with a Bluetooth audio receiver module and a Li-Ion battery for a fully portable wireless speaker
  • 📻 Internet Radio — Combine with an ESP32 and PCM5102 DAC for a WiFi streaming radio with hardware volume control
  • 🎵 MP3 Jukebox — Use with a DFPlayer Mini and Arduino for a standalone music player with SD card storage
  • 🔔 Doorbell / Alert System — Integrate into a smart home system for audible notifications and alerts
  • 🎮 Retro Gaming Console — Add amplified stereo audio output to a Raspberry Pi or ESP32-based retro gaming build
  • 📖 Talking Book / Audio Guide — Build an interactive audio playback device for museums, exhibits, or educational tools
  • 🛠️ Workshop Radio — Simple, rugged audio setup powered by USB with easy volume control

Where to Buy the PAM8403

Buy the PAM8403 2 Channel * 3 Watt Class D Stereo Amplifier with Volume Control →


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 →