Sound Module
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: