A buzzer, also called a piezo buzzer, is basically a tiny speaker that you can connect directly to an Arduino or use directly to produce sound. You can make it sound like a tone at a frequency you set. Piezo buzzers are constructed by placing electrical contacts on the two faces of a disk of piezoelectric material and then supporting the disk at the edges in an enclosure. When a voltage is applied across the two electrodes, the piezoelectric material mechanically deforms due to the applied voltage. This movement of the piezo disk within the buzzer creates sound
How to use
If your buzzer has a sticker on top of it, pull it off. Connect one pin (it doesn’t matter which one) to the Arduino’s ground (Gnd) and the other end to digital pin 10. From the Arduino, you can make sounds with a buzzer by using tone function of Arduino .
Tutorial –
https://create.arduino.cc/projecthub/SURYATEJA/use-a-buzzer-module-pi
Common Applications
1. Siren in security locks
2. Alarm devices
3. Any project where sound needs to be produced
Some example projects that students can try out in the ATL Lab
1. Make a door lock using a buzzer ( )
Tutorial Linkhttps://projecthub.arduino.cc/mmg220/7bc5ffc9-758f-44ea-ad32-f98e6124157f
Safety Measures to follow
1. Do not insert foreign objects into the sound-emitting hole or open hole.
2. Do not use this product in an atmosphere containing chlorine gas, sulfidizing gas, acid, or other corrosive substances.
Important Links
1. How Buzzer works –
https://youtu.be/77h1JhD9Syw
2. Understand Piezoelectricity –
https://youtu.be/urJN4aPs4oE