🛠 First wiring of the Adafruit I2S Amplifier
Objectives
This tutorial guides beginners through the physical wiring and first power-up of the Adafruit Stereo I2S 3W Amplifier. The goal is to understand the Bridge Tied Load (BTL) architecture and verify basic functionality without complex programming, respecting power and gain constraints.
Required Materials
- Adafruit Stereo I2S 3W Amplifier Breakout (Dual MAX98357A).
- A 4Ω or 8Ω speaker (rated power >= 3W).
- A 5V power source (USB or LiPo battery).
- I2S-compatible microcontroller (e.g., Raspberry Pi, ESP32) or I2S signal generator.
- Connecting wires and soldering iron (if pins are not pre-soldered).
Steps
- Board Preparation: If pins are not pre-soldered, solder male connectors to the holes. Ensure power polarity (VIN/GND) is clear. The board accepts 3.3V or 5V logic.
- Gain Configuration: By default, gain is often set. For this test, leave gain jumpers or resistors at default (or set to 6dB or 9dB). Gain is selectable between 3, 6, 9, 12, or 15dB. Avoid maximum gain on the first try to protect hearing.
- Power Connection: Connect VIN to 5V and GND to the source ground. Supply voltage must remain between 2.7V and 5.5V. Quiescent current is low (2.4mA).
- Speaker Connection (BTL): This is the crucial step. The amplifier uses Bridge Tied Load topology. Connect one speaker between L+ and L-. Connect the other between R+ and R-. Never connect a output to common ground (GND). Outputs are floating relative to ground.
- I2S Signal Connection: Connect I2S pins (BCLK, LRCLK, DIN) to your audio source. Note that the MCLK (Master Clock) signal is not required by this module, simplifying wiring. Ensure logic levels are compatible (3.3V/5V tolerant).
- Power Up: Power the amplifier first, then send the audio signal. Integrated click and pop suppression should prevent harsh startup noises.
Verification
By ear, you should hear clear sound. Check for excessive background noise (typical output noise: 25µV RMS). If sound is distorted, reduce gain or check speaker impedance (4Ω gives 3.2W, 8Ω gives 1.8W at 5V). Ensure speaker wires do not touch ground.
To Go Further
Once hardware is validated, explore I2S software configuration on your microcontroller. Test sampling rates from 8kHz to 96kHz. Study the 92% efficiency of Class D by measuring board temperature after several minutes of high-volume use.