What is Sound:
Sound is Vibrations that travel through the air or another medium and can be heard when they reach a person’s or animal’s ear.
A buzzer or beeper is an signaling device, which produces sound. It may be mechanical, electromechanical, or piezoelectric.
This piezo buzzer is 23mm in diameter and has 30mm spaced mount holes. Supplied with a 100mm lead it is designed for 3 – 20V,it produces a 3kHz tone at an 85dB level at 30cm.
Specifications:
1. Operation Voltage: 3-24V DC
2. Current: <15mA
3. SPL: 85dBA/10cm
4. Frequency: 3,300Hz
5. Color: Black
6. Operating Temperature: – 20° to +60°C
Types of buzzers:
Buzzers come in a variety of construction, size, and specifications. Different types and sizes of buzzers are used for different applications. Based on construction, there are the following kinds of buzzers:
1. Piezoelectric buzzers.
2. Magnetic buzzers.
3. Electromagnetic buzzers.
4. Mechanical buzzers.
5. Electromechanical buzzers.
The main working principle is based on the theory that, whenever an electric potential is applied across a piezoelectric material, a pressure variation is generated. A piezo buzzer consists of piezo crystals in between two conductors.
When a potential difference is applied across these crystals, they push one conductor and pull the other conductor by their internal property. The continuous pull and push action generate a sharp sound wave.
How to use a Buzzer:
A buzzer is a small yet efficient component to add sound features to our project/system. It is very small and compact 2-pin structure hence can be easily used on breadboard, Perf Board and even on PCBs which makes this a widely used component in most electronic applications.
There are two types are buzzers that are commonly available. The one shown here is a simple buzzer which when powered will make a Continuous Beeeeeeppp…. sound, the other type is called a readymade buzzer which will look bulkier than this and will produce a Beep. Beep. Beep. Sound due to the internal oscillating circuit present inside it. But, the one shown here is most widely used because it can be customised with help of other circuits to fit easily in our application.
Applications of Buzzer:
1. Alarming Circuits, where the user has to be alarmed about something.
2. Communication equipment’s.
3. Automobile electronics.
4. Portable equipments, due to its compact size.
Piezo buzzers generate a loud & sharp sound. So, they are typically used as an alarm circuit.
HOW TO INTERFACE WITH ARDUINO:
#include <pitches.h> // Download from Github int melody[] = { NOTE_E5, NOTE_E5, NOTE_E5, NOTE_E5, NOTE_E5, NOTE_E5, NOTE_E5, NOTE_G5, NOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_F5, NOTE_F5, NOTE_F5, NOTE_F5, NOTE_E5, NOTE_E5, NOTE_E5, NOTE_E5, NOTE_E5, NOTE_D5, NOTE_D5, NOTE_E5, NOTE_D5, NOTE_G5 }; int noteDurations[] = { 8, 8, 4, 8, 8, 4, 8, 8, 8, 8, 2, 8, 8, 8, 8, 8, 8, 8, 16, 16, 8, 8, 8, 8, 4, 4 }; void setup() { int size = sizeof(noteDurations) / sizeof(int); for (int thisNote = 0; thisNote < size; thisNote++) { int noteDuration = 1000 / noteDurations[thisNote]; tone(8, melody[thisNote], noteDuration); int pauseBetweenNotes = noteDuration * 1.30; delay(pauseBetweenNotes); noTone(8); } } void loop() { // no need to repeat the melody. }