1. Introduction
This manual provides detailed instructions for the TENSTAR ROBOT MAX98357 I2S 3W Class D Amplifier Breakout Interface DAC Decoder Module. The MAX98357 is a digital input Class D audio power amplifier designed for cost-effective, compact, and power-efficient audio solutions. It delivers 3.2W of power and is suitable for various portable applications, including integration with development boards like Raspberry Pi and ESP32.
2. Product Overview
2.1 Key Features
- Output Power: 3.2W at 4Ω with 10% Total Harmonic Distortion (THD).
- I2S Sampling Rate: Supports 8kHz to 96kHz.
- I2S Data Formats: Compatible with 16-bit, 20-bit, 24-bit, and 32-bit data.
- Gain Settings: Adjustable gain of 3dB, 6dB, 9dB (default), 12dB, and 15dB.
- Plug and Play: Features 35 different clocks and 128 digital audio formats for broad compatibility.
- Integration: Designed for easy integration with Raspberry Pi and ESP32 development boards.
- Amplifier Type: Filterless Class D amplifier.
- Digital Input: Supports Pulse Code Modulation (PCM) and Pulse Density Modulation (PDM).
2.2 Components Included
- MAX98357 Amplifier Module
- Green Terminal Block (for speaker connection)
- Yellow Pin Header (for board connections)


2.3 Pin Description

| Pin | Description | Function |
|---|---|---|
| LRC | Frame Clock | Left/Right clock for I2S and LJ (Left Justified) mode. Sync clock for RJ (Right Justified) mode. |
| BCLK | Bit Clock | Clock for data transfer. |
| DIN | Digital Input Signal | I2S digital audio data input. |
| SD | Shutdown and Channel Select | Pull SD LOW for shutdown. Pull SD HIGH for stereo output. |
| GAIN | Gain Select | Used to set the amplifier gain. |
| GND | Ground | Common ground connection. |
| VIN | Voltage Input | DC 2.5V - 5.5V power supply. |
2.4 Chip Package Variants
The MAX98357 chip is available in different packages, primarily BGA and QFN. While the function remains the same, the physical chip package differs.


3. Specifications
| Attribute | Value |
|---|---|
| Brand Name | TENSTAR ROBOT |
| Model | MAX98357 |
| Type | I2S Class D Audio Amplifier |
| Output Power | 3.2W (at 4Ω, 10% THD) |
| Supply Voltage (VIN) | DC 2.5V - 5.5V |
| I2S Sampling Rate | 8kHz - 96kHz |
| I2S Data Formats | 16-bit, 20-bit, 24-bit, 32-bit |
| Gain Settings | 3dB, 6dB, 9dB (default), 12dB, 15dB |
| Package Type (Module) | DIP (Breakout Board) |
| Origin | Mainland China |
| Condition | New |
4. Setup Instructions
4.1 General Wiring Diagram
The MAX98357 module requires connections for power (VIN, GND), I2S audio data (BCLK, LRC, DIN), and speaker output. The SD and GAIN pins can be configured for specific functionalities.

4.2 Connecting with ESP32
When using the MAX98357 with an ESP32 development board, ensure the correct I2S pins are connected. The INMP441 microphone module can also be integrated for recording capabilities.

4.3 Connecting with Raspberry Pi
For Raspberry Pi integration, connect the I2S pins from the Raspberry Pi's GPIO header to the corresponding pins on the MAX98357 module. Ensure proper power supply and ground connections.

5. Operating Instructions
Once the module is correctly wired and powered, it will function as an I2S audio amplifier. The default gain is 9dB, and the output is a sum of Left and Right channels divided by two ((L+R)/2 out). You can adjust the gain by configuring the GAIN pin as per the MAX98357 datasheet (refer to the pin description for details on gain selection).
The module operates as a filterless Class D amplifier, meaning it does not require an output filter, simplifying the circuit design.
6. Maintenance
- Keep the module clean and free from dust and moisture.
- Avoid exposing the module to extreme temperatures or direct sunlight.
- Ensure proper ventilation if used in an enclosed space to prevent overheating.
- Handle with care to prevent physical damage to components or solder joints.
7. Troubleshooting
- No Audio Output:
- Verify power supply (VIN: 2.5V-5.5V) and ground connections.
- Check I2S signal connections (BCLK, LRC, DIN) for continuity and correct pin assignment.
- Ensure the SD pin is pulled HIGH for stereo operation (not in shutdown mode).
- Confirm the speaker is correctly connected to the output terminals.
- Check the I2S audio source for proper configuration and data output.
- Distorted Audio:
- Ensure the input signal level is not too high, causing clipping.
- Verify the power supply is stable and within the specified voltage range.
- Check for loose connections or damaged components.
- Adjust the GAIN setting if the audio is too loud or too quiet.
- Module Overheating:
- Ensure the speaker impedance matches the recommended 4Ω.
- Reduce the output volume or gain if operating at high power for extended periods.
- Provide adequate ventilation around the module.
8. User Tips
- Always double-check your wiring against the pinout diagram and your development board's documentation before applying power. Incorrect wiring can damage the module or your host device.
- Start with a lower volume or gain setting when first testing to avoid unexpected loud audio or potential speaker damage.
- For optimal performance, use a stable and clean power supply within the 2.5V to 5.5V range.
- When integrating with Raspberry Pi or ESP32, consult their respective documentation for I2S audio configuration and driver setup.
9. Warranty and Support
For technical support, troubleshooting assistance, or warranty inquiries, please contact the TENSTAR ROBOT customer service or refer to the official product page for additional resources. Keep your purchase records for warranty claims.