Desktop stereo speakers with PAM8403
Build it step by step
0 of 6 donePower the module
Connect the USB breakout and check the module's power LED.
Wire the volume
Wire the dual pot between the jack and the module's inputs, with both wipers going to the amplifier.
Connect one speaker
Wire the left speaker to the L outputs only and test with a phone.
Add the second
Wire the right speaker and check stereo with a left-right test track.
Build the boxes
Mount each speaker in a closed box, sealed with glue or foam gasket.
Feel the chip
After ten minutes at a loud volume, touch the module: it should be barely warm.
How do you build a desktop stereo speakers with PAM8403?
A PAM8403 class-D board drives two 4 Ω speakers from 5 V USB, in a pair of small boxes with a shared volume knob. You need PAM8403 stereo amplifier module, Speaker 4 Ω 3 W × 2, Potentiometer 50 kΩ dual (stereo), Audio jack 3.5 mm (PCB, stereo), USB-A female breakout, USB A to micro-USB cable (data) and ABS project box (100 × 60 × 25 mm) × 2. It takes 6 steps and about 120 minutes.
- Level
- Beginner
- Time
- About 120 min
- Parts
- 7
Wiring
| From | To | Why |
|---|---|---|
| USB breakout 5V and GND | PAM8403 module +5V and GND | Power |
| 3.5 mm jack tip (left) | Dual pot section 1 outer pin | Left signal in |
| 3.5 mm jack ring (right) | Dual pot section 2 outer pin | Right signal in |
| 3.5 mm jack sleeve | Dual pot other outer pins and module GND | Signal ground |
| Dual pot section 1 wiper | PAM8403 L input | Left volume |
| Dual pot section 2 wiper | PAM8403 R input | Right volume |
| PAM8403 L+ and L- outputs | Left speaker | Never connect either speaker lead to ground |
| PAM8403 R+ and R- outputs | Right speaker | Same, bridge-tied outputs |
No code needed
No code. The PAM8403 outputs are bridge-tied, so each speaker connects between its two output pins and neither lead may touch ground or the other channel. A class-D amplifier switches its output transistors fully on or off at hundreds of kilohertz, so little power is wasted as heat: the chip stays cool even at loud volume, where a linear amplifier of the same output would run hot. Use a 5 V 1 A or larger USB supply; the amplifier can draw over 1 A on loud peaks. Use closed boxes for the speakers; open baffles lose bass.
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Phone playing quietly | Clear sound from both speakers |
| Knob turned down | Fades to silence |
| Left-right test | Each side plays only its own channel |
| Loud volume for ten minutes | Chip stays cool |
If it does not work
Hum or buzz
Share the signal ground and keep the signal wires short.
One channel silent
Check that speaker's connections and the pot section.
Sound distorts when loud
The USB supply is too small. Use a 5 V 2 A source.
Loud pop at switch-on
Turn the volume down before powering.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the desktop stereo speakers with PAM8403?
PAM8403 stereo amplifier module, Speaker 4 Ω 3 W × 2, Potentiometer 50 kΩ dual (stereo), Audio jack 3.5 mm (PCB, stereo), USB-A female breakout, USB A to micro-USB cable (data) and ABS project box (100 × 60 × 25 mm) × 2.
How long does the desktop stereo speakers with PAM8403 take to build?
About 120 minutes for a beginner maker, in 6 steps.
How do I know the desktop stereo speakers with PAM8403 works?
Phone playing quietly: Clear sound from both speakers. Knob turned down: Fades to silence. Left-right test: Each side plays only its own channel.
Hum or buzz: what should I check?
Share the signal ground and keep the signal wires short.
One channel silent: what should I check?
Check that speaker's connections and the pot section.
Sound distorts when loud: what should I check?
The USB supply is too small. Use a 5 V 2 A source.
Loud pop at switch-on: what should I check?
Turn the volume down before powering.
