Sound Module

Audio Amplifier Module

Description: The I2S audio amplifier module receives digital audio via the I2S interface and drives a speaker with up to 3.2W output. It supports 16‑bit stereo or mono audio at sample rates from 8kHz to 96kHz.

Test Code: GitHub

Connection:

W55MH32

I2S Amplifier

3V3

3.3V

GND

GND

PB3

SCK

PB5

DIN

PA15

LRC

Demo:

I2S Audio Amplifier Test

Passive Buzzer

Description: The passive buzzer module generates tones of different frequencies using PWM (Pulse Width Modulation). Unlike an active buzzer which only produces a fixed frequency, a passive buzzer allows you to play melodies and varying tones by changing the PWM frequency.

Connection:

W55MH32

Passive Buzzer

3V3

VCC

GND

GND

PA0 (PWM)

Signal

Test Code: GitHub

Demo:

Passive buzzer test