Adafruit I2S 3W Stereo Speaker Bonnet Pinout

A Raspberry Pi Bonnet with one MAX98357A Class-D amplifier per stereo channel. The Pi sends three I²S signals to both amplifiers, and each speaker connects across its own bridge-tied output pair.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show wiring details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

32 visible
PinMCU pinTypesNotes
PowerThe Raspberry Pi 3.3 V rail appears at JP4 and supplies the default SJ2 shutdown-mode bias.
PowerFeeds VDD pins 7 and 8 on both MAX98357A amplifiers and appears at JP2.
PowerFeeds VDD pins 7 and 8 on both MAX98357A amplifiers and appears at JP2.
GNDCommon supply and signal ground. Connect each speaker across its own output pair.
I2SGPIO18 · Raspberry Pi physical pin 12 · breakout pad 7. Input to pin 16 on both MAX98357A amplifiers.
GNDCommon supply and signal ground. Connect each speaker across its own output pair.
GNDCommon supply and signal ground. Connect each speaker across its own output pair.
GNDCommon supply and signal ground. Connect each speaker across its own output pair.
GNDCommon supply and signal ground. Connect each speaker across its own output pair.
I2SGPIO19 · Raspberry Pi physical pin 35 · breakout pad 23. Input to pin 14 on both MAX98357A amplifiers. Low selects the left word.
I2SGPIO21 · Raspberry Pi physical pin 40 · breakout pad 25. Raspberry Pi PCM_DOUT feeds pin 1 on both MAX98357A amplifiers.
DigitalGPIO4 can control both amplifiers if SJ2 is moved from 3V to #4. Drive low to place both channels in shutdown.
I2SGPIO18 · Raspberry Pi physical pin 12 · breakout pad 7. Input to pin 16 on both MAX98357A amplifiers.
I2SGPIO19 · Raspberry Pi physical pin 35 · breakout pad 23. Input to pin 14 on both MAX98357A amplifiers. Low selects the left word.
I2SGPIO21 · Raspberry Pi physical pin 40 · breakout pad 25. Raspberry Pi PCM_DOUT feeds pin 1 on both MAX98357A amplifiers.
GNDJP5 has three holes on this rail. Common supply and signal ground. Connect each speaker across its own output pair.
PowerJP2 has three holes on this rail. Feeds VDD pins 7 and 8 on both MAX98357A amplifiers and appears at JP2.
PowerJP4 has three holes on this rail. The Raspberry Pi 3.3 V rail appears at JP4 and supplies the default SJ2 shutdown-mode bias.
ConfigurationThe Raspberry Pi 3.3 V rail appears at JP4 and supplies the default SJ2 shutdown-mode bias.
ConfigurationConnected directly to the left SD_MODE pin and through R1 (220 kΩ) to the right SD_MODE pin.
ConfigurationGPIO4 can control both amplifiers if SJ2 is moved from 3V to #4. Drive low to place both channels in shutdown.
ConfigurationThe factory bridge to the center pad ties both GAIN inputs to 5 V for 6 dB.
ConfigurationWith both selector links open, the floating GAIN inputs select 9 dB.
ConfigurationOpen the factory link and bridge the center to this pad for 3 dB through R2 to 5 V.
SpeakerDriven OUTP (pin 9) through FB1. X1.2 and X3.4 share this output. Use one wiring option for this channel.
SpeakerDriven OUTN (pin 10) through FB2. X1.1 and X3.3 share this output. Use one wiring option for this channel.
SpeakerDriven OUTP (pin 9) through FB1. X1.2 and X3.4 share this output. Use one wiring option for this channel.
SpeakerDriven OUTN (pin 10) through FB2. X1.1 and X3.3 share this output. Use one wiring option for this channel.
SpeakerDriven OUTN (pin 10) through FB4. X2.2 and X3.2 share this output. Use one wiring option for this channel.
SpeakerDriven OUTP (pin 9) through FB3. X2.1 and X3.1 share this output. Use one wiring option for this channel.
SpeakerDriven OUTN (pin 10) through FB4. X2.2 and X3.2 share this output. Use one wiring option for this channel.
SpeakerDriven OUTP (pin 9) through FB3. X2.1 and X3.1 share this output. Use one wiring option for this channel.

Specifications

Host socket
2 × 20 Raspberry Pi GPIO · 2.54 mm pitch · socket on the underside
Power and logic
5 V amplifier supply · 3.3 V Pi logic and default shutdown-mode bias
I²S inputs
GPIO18 BCLK · GPIO19 LRCLK · GPIO21 DIN · no master clock required
Speaker outputs
Two differential Class-D channels · 4–8 Ω speakers · up to 3 W per channel at 5 V into 4 Ω
Speaker connectors
X1 right and X2 left screw terminals · X3 4-pin JST-PH, 2.0 mm pitch
Factory configuration
SJ1 sets 6 dB gain · SJ2 uses the 3.3 V rail for stereo channel selection

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
PCB Rev. DSchematic and PCB layoutAdafruitEAGLE source files for the photographed revision.Datasheet
MAX98357AI²S Class-D amplifierMaxim IntegratedDigital audio input timing, gain selection and SD_MODE thresholds.Datasheet
PID 3346Bonnet pinout and setupAdafruitPi audio setup, speaker load and gain selection.Datasheet

Board notes

View orientation
P numbers identify physical positions on RPI1, shown from the component side. Odd positions are on the inner row. Each of the 3V, 5V and GND pad groups has three equivalent holes. The map labels the first hole of each group.
Speaker wiring
Use one 4–8 Ω speaker per output pair. Keep the four amplifier outputs isolated from ground and from one another. The JST solder tails are shown. X3 pins 1–4 are LEFT+, LEFT−, RIGHT−, RIGHT+.
Shutdown selector SJ2
GPIO4 can control both amplifiers if SJ2 is moved from 3V to #4. Drive low to place both channels in shutdown.
Gain selector SJ1
The factory 5 V to GAIN link sets 6 dB. Open it for 9 dB, or open it and bridge GAIN to R2 for 3 dB.