Introduction to Buzzer
This is a little 12mm round speaker that operates around the audible 2kHz Range. you’ll use these speakers to make simple music or user interfaces.
This is not a real piezoelectric speaker but behaves similarly. rather than a crystal that vibrates with an electrical current, this small speaker uses an electromagnet to drive a skinny metal sheet. meaning you would like to use some sort of AC to urge sound. the great news is that this speaker is tuned to reply best with a square wave (e.g. from a microcontroller).
Buzzer Pin Out:

- VCC (3.3 V to 5 V)
- GND
- I/O Control
Features :
Passive buzzer features are:
- Passive internal shocks without source- so if you can not make it with a DC signal tweet. Must be a square wave 2K ~ 5K to drive it
- Sound frequency control- you can make a “more than a meter hair Suola” effect.
- In some special cases- you can reuse a control and LED mouth
Active buzzer features are:
- An active buzzer with a concussion internal source- so long as it will be called an energized
- The program easy to control- SCM can let a high-low sound- while passive buzzer did not.