1. Introduction
The TENSTAR MAX98357 is a high-efficiency, filterless 3W Class D audio amplifier module designed for digital audio applications. It features an I2S digital audio input, making it ideal for use with microcontrollers like Raspberry Pi and ESP32. This module simplifies the integration of audio output into your projects by eliminating the need for a digital-to-analog converter (DAC) and output filter.

Figure 1: MAX98357 I2S Audio Amplifier Module Overview
2. Product Features
- Output Power: Delivers 3.2W at 4Ω with 10% Total Harmonic Distortion (THD).
- Amplifier Type: Filterless Class D amplifier for efficient audio amplification.
- I2S Sampling Rates: Supports sampling rates from 8kHz to 96kHz.
- Plug and Play: Offers 35 different clock configurations and 128 distinct I2S settings for versatile integration.
- Compatibility: Designed for seamless integration with Raspberry Pi and ESP32 development boards.
3. Technical Specifications
| Parameter | Value |
|---|---|
| Brand Name | TENSTAR ROBOT |
| Model Number | MAX98357 |
| Type | Module |
| Application | Speaker |
| Supply Voltage (Vin) | DC 2.5V - 5.5V |
| Dissipation Power | 3W |
| Speaker Impedance | 4-8Ω |
| Gain | Default 9dB |
| Output Configuration | (L+R)/2 (Mono) |
| Package Type | SMD (Available in QFN and BGA) |
| Origin | Mainland China |
Note: The chip package (QFN or BGA) does not affect the module's function.

Figure 2: MAX98357 QFN vs BGA Package Comparison
4. Package Contents
Each package typically includes:
- 3 x MAX98357 I2S Amplifier Modules
- 3 x Pin Headers (for connecting to breadboards or development boards)
- 3 x Terminal Blocks (for speaker connections)
Note: Components are shipped unassembled and require soldering.

Figure 3: Typical Package Contents
5. Setup and Wiring
5.1 Pin Description
| Pin | Function | Description |
|---|---|---|
| LRC | Frame Clock | Left/Right clock for I2S and LJ mode. Sync clock for RJ mode. |
| BCLK | Bit Clock | I2S Bit Clock input. |
| DIN | Digital Input Signal | I2S Digital Audio Data input. |
| SD | Shutdown & Channel Select | Pull SD LOW for shutdown. Pull SD HIGH for stereo output. |
| GAIN | Gain Select | Used to select amplifier gain. Refer to MAX98357 datasheet for specific gain settings. |
| GND | Ground | Common ground connection. |
| Vin | Supply Voltage | Power input, DC 2.5V-5.5V. |

Figure 4: MAX98357 Module Pinout (Front and Back)
5.2 Basic Wiring Diagram (Conceptual)
Connect the I2S pins (LRC, BCLK, DIN) from your microcontroller (e.g., Raspberry Pi, ESP32) to the corresponding pins on the MAX98357 module. Connect GND to ground and Vin to a power supply within the 2.5V-5.5V range. Connect your 4-8Ω speaker to the output terminals.
5.3 Example Wiring with ESP32 and INMP441 (for recording and broadcasting)
The following diagram illustrates a more complex setup for ESP32, integrating an INMP441 microphone for recording capabilities alongside the MAX98357 for audio output. This setup enables advanced audio projects.

Figure 5: ESP32 Development Environment Wiring Diagram (MAX98357 and INMP441)
This diagram shows connections for both the MAX98357 I2S amplifier and an INMP441 I2S microphone to an ESP32 development board. The MAX98357 enables audio output, while the INMP441 facilitates audio input, allowing for projects requiring both recording and playback.
6. Operation
Once wired correctly, the MAX98357 module operates by receiving digital audio data via the I2S interface from your microcontroller. The module then amplifies this digital signal and outputs it to a connected speaker. Ensure your microcontroller is configured to output I2S audio in a compatible format (e.g., standard I2S, left-justified, or right-justified).
- Power On: Apply power (2.5V-5.5V) to the Vin and GND pins.
- I2S Data Stream: Start the I2S audio stream from your microcontroller.
- Shutdown/Stereo Mode: The SD pin controls shutdown and channel selection. Pulling SD LOW will shut down the amplifier. Pulling SD HIGH enables stereo output (L+R)/2.
- Gain Adjustment: The GAIN pin can be used to adjust the amplifier's gain. Refer to the MAX98357 datasheet for detailed gain configuration options.
7. Maintenance
The MAX98357 module is a robust electronic component designed for long-term use with minimal maintenance. To ensure optimal performance and longevity:
- Keep Dry: Avoid exposure to moisture or liquids, which can damage electronic components.
- Cleanliness: Keep the module free from dust and debris. Use a soft, dry brush or compressed air for cleaning if necessary.
- Temperature: Operate within recommended temperature ranges. Avoid extreme heat or cold.
- Secure Connections: Periodically check all soldered joints and pin connections to ensure they are secure and free from corrosion.
8. Troubleshooting
- No Sound Output:
- Verify power supply (Vin) is within 2.5V-5.5V and correctly connected.
- Check all I2S connections (LRC, BCLK, DIN) for continuity and correct pin assignment.
- Ensure the SD pin is pulled HIGH for normal operation (not in shutdown mode).
- Confirm your microcontroller is outputting a valid I2S audio stream.
- Check speaker connections and ensure the speaker is functional and within the 4-8Ω impedance range.
- Distorted Sound:
- Check power supply for stability and sufficient current.
- Ensure I2S clock signals are stable and within specifications.
- Verify the speaker impedance matches the module's requirements.
- Reduce the input audio volume from your microcontroller if clipping occurs.
- Module Gets Hot:
- This is normal for Class D amplifiers under heavy load, but excessive heat may indicate an issue.
- Ensure the speaker impedance is not too low.
- Check for short circuits in the speaker wiring.
9. User Tips
- Soldering: Take care when soldering the pin headers and terminal blocks. Use appropriate soldering techniques to avoid short circuits or cold joints.
- Power Supply: A stable and clean power supply is crucial for good audio quality. Consider adding a small capacitor across Vin and GND if experiencing noise.
- Software Configuration: For Raspberry Pi, ensure the correct I2S overlay is enabled and the audio output is directed to the I2S DAC. For ESP32, use the I2S driver library and configure it for the MAX98357.
- Speaker Matching: Using a speaker with the recommended 4-8Ω impedance will yield the best performance and prevent damage to the amplifier.
10. Warranty and Support
For technical support, detailed datasheets, or warranty inquiries, please contact the manufacturer or your point of purchase. Always refer to the official MAX98357 datasheet for the most comprehensive technical information and advanced configurations.