

The PAM8302, manufactured by Adafruit (Part ID: Mono 2.5W Class D Audio Amplifier), is a highly efficient Class-D audio amplifier designed for driving small speakers. It delivers up to 2.5W of output power with minimal distortion, making it an excellent choice for portable and battery-powered applications. Its compact size and low power consumption make it ideal for projects requiring high-quality audio output in a small form factor.








The PAM8302 is designed to operate efficiently while maintaining excellent audio quality. Below are its key technical specifications:
| Parameter | Value |
|---|---|
| Operating Voltage | 2.0V to 5.5V |
| Output Power | 2.5W @ 4Ω, 10% THD+N, 5V supply |
| Efficiency | Up to 90% |
| Input Type | Analog (Single-Ended or Differential) |
| Gain | Fixed at 24dB |
| Speaker Impedance | 4Ω to 8Ω |
| Total Harmonic Distortion | < 0.1% @ 1W, 8Ω, 1kHz |
| Quiescent Current | ~4mA |
| Shutdown Current | < 0.1µA |
| Dimensions | 20mm x 20mm x 2mm |
The PAM8302 module has a simple pinout for easy integration into your projects. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| VIN | Power supply input (2.0V to 5.5V). Connect to a regulated power source. |
| GND | Ground connection. Connect to the ground of your circuit. |
| A+ | Positive audio input. Connect to the positive terminal of your audio source. |
| A- | Negative audio input. Connect to the negative terminal of your audio source. |
| SPK+ | Positive speaker output. Connect to the positive terminal of your speaker. |
| SPK- | Negative speaker output. Connect to the negative terminal of your speaker. |
| SD | Shutdown pin. Pull low to disable the amplifier and reduce power consumption. |
The PAM8302 is straightforward to use in audio amplification circuits. Follow the steps below to integrate it into your project:
The PAM8302 can be used with an Arduino UNO to amplify audio signals. Below is an example of how to connect and control the amplifier:
/*
Example code for generating a PWM audio signal to drive the PAM8302
amplifier using an Arduino UNO. This code generates a simple square
wave tone on pin 9.
Note: Use a low-pass filter or DAC for better audio quality.
*/
const int audioPin = 9; // PWM pin connected to A+ of PAM8302
void setup() {
pinMode(audioPin, OUTPUT); // Set the audio pin as an output
}
void loop() {
// Generate a 1kHz square wave tone
tone(audioPin, 1000); // Play a 1kHz tone
delay(1000); // Play for 1 second
noTone(audioPin); // Stop the tone
delay(1000); // Wait for 1 second
}
No Sound Output
Distorted Audio
Excessive Noise
Amplifier Not Powering On
Q: Can I use the PAM8302 with a 3.3V power supply?
A: Yes, the PAM8302 operates with a supply voltage as low as 2.0V, so it is compatible with 3.3V systems.
Q: What is the maximum speaker power I can use?
A: The PAM8302 can drive up to 2.5W into a 4Ω speaker with a 5V power supply. Ensure your speaker can handle this power level.
Q: Can I use the PAM8302 with stereo audio?
A: No, the PAM8302 is a mono amplifier. For stereo audio, you will need two PAM8302 modules.
Q: How do I reduce power consumption in my project?
A: Use the SD pin to disable the amplifier when not in use. This reduces the current draw to less than 0.1µA.
By following this documentation, you can effectively integrate the PAM8302 into your audio projects and achieve high-quality sound output.