Blog

PAM8403 Mini Digital Amplifier Module – Complete Guide

Digital Audio Amplifier

PAM8403 Mini Digital Amplifier Module

5V Class-D Stereo Amplifier with Onboard Potentiometer

The PAM8403 is a Class-D audio amplifier, a fundamentally different and far more efficient approach than the classic Class-AB amplifier design used in older audio gear - rather than continuously varying the output transistors' conduction to reproduce the waveform, which wastes a lot of power as heat, a Class-D amplifier rapidly switches its output fully on and off at a high frequency, with the width of those pulses encoding the audio signal, then relies on the speaker's own natural inertia and a simple output filter to reconstruct a smooth analog waveform from those pulses. This switching approach is why such a tiny chip, running from just 5V, can deliver a genuinely audible few watts per channel into a small speaker while barely getting warm, unlike an equivalent-power linear amplifier which would need a real heatsink. This particular breakout pairs the bare chip with a stereo 3.5mm input jack, screw terminals for a pair of speakers, an onboard volume potentiometer, and a power switch, making it a drop-in mini amplifier board rather than a bare chip needing external support circuitry.

2x 3W (typical)
Output Power
Class-D
Amplifier Type
5V DC
Supply

Key features

Class-D Efficiency

Delivers real audio power while running cool, with no heatsink needed.

Stereo Output

Drives two independent speaker channels from one small board.

Onboard Volume Control

A built-in potentiometer sets output level without extra wiring.

3.5mm Audio Input

Plugs directly into any standard headphone-style audio source.

Low Voltage Operation

Runs from a simple 5V USB-style power source.

Compact, Low-Cost Board

Easy to embed into small speaker or media player projects.

Technical specifications

Supply Voltage 5V DC (2.5V – 5.5V chip range)
Amplifier Class Class-D
Output Power ~3W per channel into 4Ω (typical at 5V)
Channels Stereo (2x independent outputs)
Input 3.5mm stereo audio jack
Output Screw terminals for 2x speakers
Volume Control Onboard potentiometer
Efficiency >90% typical (Class-D switching)
Package Small breakout board with jack, terminals, and switch

Pinout

PinFunction
5V / GND Power input
L+ / L- Left speaker output
R+ / R- Right speaker output
3.5mm Jack Stereo line-level audio input

Applications

Small portable speaker builds DIY desktop computer speakers Raspberry Pi / media-player audio output boards Intercom and announcement system projects Model/prop sound-effect players Workshop or shed radio builds

What's in the box

1x PAM8403 mini amplifier module

Downloads

Datasheet (PDF) PAM8403 Wiring Guide
🔌
Pin Connections
1 Table
Pin Connections Table 1
BoardSensor PinConnection
PAM8403IN/OUT/Poweraudio source / speaker / 5V USB
📟
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered
7 Examples • C/C++ | Boards: Arduino Uno, Arduino Nano, Arduino Mega, ESP32, ESP8266, STM32, Raspberry Pi Pico
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered - Arduino Uno
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered - Arduino Nano
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered - Arduino Mega
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered - ESP32
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered - ESP8266
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered - STM32
PAM8403 Mini 5V Digital Amplifier Board with Switch Potentiometer can be USB Powered - Raspberry Pi Pico
📄 File: pam8403_mini_5v_digital_amplifier_board_with_switch_potentiometer_can_be_usb_powered_-_arduino_uno.inoArduino Uno
322 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// This is a passive analog audio amplifier - it has no digital control interface. Wire its audio IN to a source and OUT to speakers; a microcontroller isn't part of the circuit unless you feed it a DAC/PWM audio signal to amplify.
6void setup() {}
7void loop() {}
📄 File: pam8403_mini_5v_digital_amplifier_board_with_switch_potentiometer_can_be_usb_powered_-_arduino_nano.inoArduino Nano
322 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// This is a passive analog audio amplifier - it has no digital control interface. Wire its audio IN to a source and OUT to speakers; a microcontroller isn't part of the circuit unless you feed it a DAC/PWM audio signal to amplify.
6void setup() {}
7void loop() {}
📄 File: pam8403_mini_5v_digital_amplifier_board_with_switch_potentiometer_can_be_usb_powered_-_arduino_mega.inoArduino Mega
322 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// This is a passive analog audio amplifier - it has no digital control interface. Wire its audio IN to a source and OUT to speakers; a microcontroller isn't part of the circuit unless you feed it a DAC/PWM audio signal to amplify.
6void setup() {}
7void loop() {}
📄 File: pam8403_mini_5v_digital_amplifier_board_with_switch_potentiometer_can_be_usb_powered_-_esp32.inoESP32
322 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// This is a passive analog audio amplifier - it has no digital control interface. Wire its audio IN to a source and OUT to speakers; a microcontroller isn't part of the circuit unless you feed it a DAC/PWM audio signal to amplify.
6void setup() {}
7void loop() {}
📄 File: pam8403_mini_5v_digital_amplifier_board_with_switch_potentiometer_can_be_usb_powered_-_esp8266.inoESP8266
322 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// This is a passive analog audio amplifier - it has no digital control interface. Wire its audio IN to a source and OUT to speakers; a microcontroller isn't part of the circuit unless you feed it a DAC/PWM audio signal to amplify.
6void setup() {}
7void loop() {}
📄 File: pam8403_mini_5v_digital_amplifier_board_with_switch_potentiometer_can_be_usb_powered_-_stm32.inoSTM32
322 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// This is a passive analog audio amplifier - it has no digital control interface. Wire its audio IN to a source and OUT to speakers; a microcontroller isn't part of the circuit unless you feed it a DAC/PWM audio signal to amplify.
6void setup() {}
7void loop() {}
📄 File: pam8403_mini_5v_digital_amplifier_board_with_switch_potentiometer_can_be_usb_powered_-_raspberry_pi_pico.inoRaspberry Pi Pico
322 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// This is a passive analog audio amplifier - it has no digital control interface. Wire its audio IN to a source and OUT to speakers; a microcontroller isn't part of the circuit unless you feed it a DAC/PWM audio signal to amplify.
6void setup() {}
7void loop() {}
Class-D power amplifier board - analog audio in/out, no digital control interface.
The commonly quoted ”3W per channel” figure assumes a supply that can actually deliver enough current at full volume - many small 5V USB power sources sag under that load, so real usable output from a phone charger or USB port is often noticeably less before distortion sets in; a proper 5V/2A+ supply gets closer to the rated figure. Use speakers rated at or above the impedance the specific board's datasheet specifies, commonly 4Ω or higher - driving a lower-impedance speaker than intended draws more current than the chip is rated for and risks overheating or shutdown. And audio ground loops between the input source and speaker wiring are a common source of background hum - keeping audio input cabling short and away from the power wiring usually resolves it.