Behavioural mixed-signal modelPAM8403 modulepam8403
PAM8403 amplifier board (2 × 3 W)
Small stereo class-D amplifier board for 4–8 Ω speakers from 5 V: up to 3 W per channel, 24 dB gain (a line or DAC signal of about 0.3 V peak drives it fully at 5 V), inputs L / R with 0.47 µF coupling, outputs bridge-tied (L+ / L−, R+ / R−: never connect an output to GND). 16 mA idle, 85 % efficiency. Feed it from an ESP32 DAC through a volume potentiometer.
Key data
- Category
- Audio
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- PAM8403 module
- Reference prefix
- A
- Pins
- 8
- Land pattern
- PAM8403_Module_21x18mm
Used in these examples 2
- Synthesizer you can play (ESP32, FabGL sound, PAM8403)Play it with your computer keyboard: six voices, four waveforms, envelope and a resonant filter, through a real amplifier to the speaker.
- Retro game console (ESP32, VGA, sound): three gamesA menu and three games on a VGA monitor, played with the arrow keys, Space and Enter, with sound through a real amplifier.
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- pam8403
- Supply pins
- 5V / GND
Pins 8
| Pin | Name | Use |
|---|---|---|
| L | L inAnalog pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| R | R inAnalog pin | General-purpose I/O: LEDs (with series resistor), buttons (with pull-up) |
| 5V | +5VSupply pin | Supply input: decouple with 100 nF close to the pin |
| GND | GNDGround pin | Ground |
| L+ | L+Output pin | Logic output: drives the next input; do not tie outputs together |
| L- | L−Output pin | Logic output: drives the next input; do not tie outputs together |
| R+ | R+Output pin | Logic output: drives the next input; do not tie outputs together |
| R- | R−Output pin | Logic output: drives the next input; do not tie outputs together |
PCB
Connector / off-board
PAM8403_Module_21x18mmPAM8403 board (L, GND, R, +5V, GND / L+, L−, R−, R+) – positions estimated, measure your board