ElectronicZoologyfield notes from the garage
← Back
MAX98357A module front showing pin labels MAX98357A module back showing specs - 4-8Ω 3W, 9dB default gain
Audio

MAX98357A I2S Amplifier Module

3W mono class-D I2S digital amplifier - no DAC, no caps, just three wires

The MAX98357A is a digital I2S class-D amplifier. It takes audio as a digital I2S signal directly from a microcontroller, converts it to analogue internally, and drives a speaker - all in one chip. No external DAC, no coupling capacitor, no decoupling capacitor.

Pin reference

PinFunctionConnect to
VINPower5V (2.5-5.5V range)
GNDGroundGND
BCLKI2S bit clockGPIO27 (ESP32)
LRCI2S word selectGPIO14 (ESP32)
DINI2S data inGPIO13 (ESP32)
SDShutdown / gain selectLeave floating (enabled, 9dB)
GAINGain selectLeave floating (9dB default)

GAIN pin options

GAIN wiringGain
Floating9dB (default)
GND via 100k resistor12dB
Directly to VIN15dB (loudest)
Directly to GND6dB

SD pin behaviour

Left floating, the module is enabled and outputs a mono mix of the left and right I2S channels - (L+R)/2. This is the correct state for mono audio. Pulling SD to GND shuts the amp down. SD can also be driven with PWM for software volume control, but hardware gain via the GAIN pin is simpler.

Key details

  • Speaker output: 4-8Ω, 3W
  • Power input: 2.5-5.5V (5V recommended)
  • Default gain: 9dB (L+R)/2 mono mix when SD floating
  • Interface: I2S digital - BCLK, LRC, DIN
  • No coupling caps, no decoupling caps needed