How-to · Beginner · 4 min read
PAM8403 and Other Audio Amplifier Modules
Wiring and Choosing
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
The PAM8403 is a tiny 5 V class-D stereo amplifier that drives two small speakers at up to 3 W each into 4 Ω. Power it from a clean 5 V supply, feed the left and right inputs from a phone, DFPlayer or DAC with a shared ground, and connect each speaker across its own L+ and L- (or R+ and R-) pins. Never connect a speaker output to ground: the outputs are bridged.
Key specs at a glance
- Supply
- 2.5 to 5.5 V (5 V typical)
- Output
- 2 x 3 W into 4 Ω at 5 V; about 1.5 W into 8 Ω
- Type
- Filterless class-D, bridge-tied load (BTL)
- Efficiency
- About 85 to 90%
- Input
- Line level, about 1 V peak to peak or less
- Speakers
- 4 to 8 Ω, 3 W or higher rating
PAM8403 wiring
| Pin | Connect to | Notes |
|---|---|---|
| 5V / VCC | Clean 5 V supply | Use a separate 5 V supply or a USB charger for less noise |
| GND (power) | Supply ground | Same ground as the audio source |
| L, R inputs | Left and right audio | From a phone jack, DFPlayer DAC pins or a DAC |
| GND (input) | Audio source ground | Must be shared |
| L+ and L- | Left speaker | Neither side goes to ground |
| R+ and R- | Right speaker | Same: one speaker per pair |
- 5V / VCC
- Connect to:
- Clean 5 V supply
- Notes:
- Use a separate 5 V supply or a USB charger for less noise
- GND (power)
- Connect to:
- Supply ground
- Notes:
- Same ground as the audio source
- L, R inputs
- Connect to:
- Left and right audio
- Notes:
- From a phone jack, DFPlayer DAC pins or a DAC
- GND (input)
- Connect to:
- Audio source ground
- Notes:
- Must be shared
- L+ and L-
- Connect to:
- Left speaker
- Notes:
- Neither side goes to ground
- R+ and R-
- Connect to:
- Right speaker
- Notes:
- Same: one speaker per pair
Why you must not ground the speaker outputs
The PAM8403 uses a bridge-tied load: both speaker pins swing, in opposite directions, around half the supply voltage. That doubles the voltage across the speaker and gives four times the power from 5 V. If you join L- to ground, or join L- and R- together to make a 'common' speaker ground, you short an output stage and the chip will cut out or fail. For a mono speaker, use only one channel, or feed both inputs with the same signal and use two speakers.
Getting rid of hiss, hum and whine
Class-D amplifiers pull current in pulses; sharing a weak 5 V rail with an Arduino or ESP32 puts digital noise into the audio. A separate supply or a 470 to 1000 µF capacitor plus a 100 nF capacitor at the module helps.
and run one ground wire from the audio source to the amplifier input ground.
Class-D outputs carry high-frequency switching; long untwisted leads radiate it.
If the sound distorts at mid volume, the input level is too high; add a 10 kΩ volume pot or a resistor divider.
if you play sound from a microcontroller PWM pin, pass it through an RC low-pass filter (for example 1 kΩ and 100 nF) and a 1 to 10 µF coupling capacitor first.
Which amplifier module do you need?
| Module | Supply | Power | Good for |
|---|---|---|---|
| PAM8403 | 5 V | 2 x 3 W | Toys, alarms, Bluetooth speakers, DFPlayer projects |
| PAM8610 | 7 to 15 V | 2 x 10 W | Bigger desktop speakers |
| TPA3116 / TPA3118 boards | 12 to 24 V | Tens of watts | Bookshelf speakers, home audio builds |
| TDA2030A | 12 V single or split supply | Up to about 14 W mono | Classic analog (class-AB) builds; needs a heatsink |
| LM386 | 5 to 12 V | Under 1 W | Tiny speakers, headphones, learning circuits |
- PAM8403
- Supply:
- 5 V
- Power:
- 2 x 3 W
- Good for:
- Toys, alarms, Bluetooth speakers, DFPlayer projects
- PAM8610
- Supply:
- 7 to 15 V
- Power:
- 2 x 10 W
- Good for:
- Bigger desktop speakers
- TPA3116 / TPA3118 boards
- Supply:
- 12 to 24 V
- Power:
- Tens of watts
- Good for:
- Bookshelf speakers, home audio builds
- TDA2030A
- Supply:
- 12 V single or split supply
- Power:
- Up to about 14 W mono
- Good for:
- Classic analog (class-AB) builds; needs a heatsink
- LM386
- Supply:
- 5 to 12 V
- Power:
- Under 1 W
- Good for:
- Tiny speakers, headphones, learning circuits
Matching speakers
Pick speakers rated at or above the amplifier's output power, with the impedance the module expects. A 4 Ω speaker gets more power from the PAM8403 than an 8 Ω one. Small 8 Ω 0.5 W speakers (like those used with buzzers) can be damaged at full PAM8403 volume, so keep the volume down or buy 3 W speakers. Mount speakers in a box or panel; an unmounted speaker sounds thin because the front and back waves cancel.
Try it: RC filter calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Joining the speaker minus outputs to ground or to each other.
- Powering the amplifier from the Arduino's 5 V pin and getting buzzing from digital noise.
- Feeding raw PWM or a 5 V logic signal into the input without filtering and attenuation.
- Using 0.5 W speakers at full volume.
- Forgetting a common ground between the audio source and the amplifier.
Frequently asked questions
Can I run the PAM8403 from a Li-ion battery?
Yes. It works from 2.5 to 5.5 V, so a single 3.7 V Li-ion cell powers it directly, with less output power than at 5 V.
Can I connect a PAM8403 to an Arduino?
Yes, but not directly from a digital pin. Use a sound module such as the DFPlayer Mini, or pass PWM audio through an RC filter and a coupling capacitor, and add volume control.
How many watts is the PAM8403?
Up to about 3 W per channel into 4 Ω at 5 V, or around 1.5 W into 8 Ω, at about 10% distortion. Clean listening power is lower.
Why does my PAM8403 make a buzzing sound?
Usually power supply noise shared with a microcontroller, or a ground loop. Use a separate supply, add capacitors near the module and keep wiring short.
Can I bridge the two channels of a PAM8403 for more power?
No. Each channel is already bridged internally. Use a higher-power module such as a PAM8610 or TPA3116 instead.
Parts for this guide
Calculators
Terms in this guide
Projects that use it
Put this into practice: 56 step-by-step builds in our project library use parts from this guide.
Keep learning
Sources
- Diodes Inc. PAM8403 datasheet
- Texas Instruments TPA3116D2/TPA3118D2 datasheet
- STMicroelectronics TDA2030A datasheet
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




