

The Adafruit MAX98306 is a compact and efficient stereo audio amplifier that utilizes Class D amplification technology. It is designed to deliver high-quality sound with minimal distortion and can provide up to 3.7 watts of power per channel. This makes it an ideal choice for portable and battery-powered projects where size and power efficiency are critical. Common applications include DIY speakers, portable audio players, and any project requiring amplified sound.








| Pin Number | Name | Description |
|---|---|---|
| 1 | L+ | Left channel positive output |
| 2 | L- | Left channel negative output |
| 3 | R+ | Right channel positive output |
| 4 | R- | Right channel negative output |
| 5 | VDD | Power supply voltage (3.7V to 5.5V) |
| 6 | GND | Ground |
| 7 | INL | Left channel audio input |
| 8 | INR | Right channel audio input |
| 9 | GAIN | Gain selection input |
| 10 | SD | Shutdown control input (active low) |
// Example code to control the Adafruit MAX98306 with an Arduino UNO
const int shutdownPin = 2; // Connect to the SD pin of the amplifier
void setup() {
pinMode(shutdownPin, OUTPUT);
// Start the amplifier
digitalWrite(shutdownPin, LOW);
}
void loop() {
// Your audio processing code goes here
// To shutdown the amplifier, set the shutdownPin HIGH
// To restart the amplifier, set the shutdownPin LOW
}
Q: Can I use this amplifier with 4Ω speakers? A: Yes, but the output power will be lower than with 3Ω speakers.
Q: What should I do if the amplifier gets too hot? A: Ensure adequate ventilation and consider adding a heatsink to dissipate heat.
Q: Can I chain two of these amplifiers for more power? A: No, chaining amplifiers is not recommended as it can lead to damage and distortion.