Professional Documents
Culture Documents
Buzzer
Buzzer
If your buzzer has a sticker on top of it, pull the sticker 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. You have to tell it which pin the buzzer is on,
what frequency (in Hertz, Hz) you want, and how long (in milliseconds) you want it to keep
making the tone. We will use the Arduino buzzer tone generation command:
tone(8, 1200, 500); // tone on pin 8 at 1200 Hz for 1/2 second
How do you know what frequency to use? Young people can generally hear frequencies between
about 20 Hz and 20,000 Hz; older people lose the high frequencies and may not be able to hear
all the way up to 20,000. Of course, it varies from person to person. Also, your buzzer may not
be able to reproduce the whole range, especially the very high and low notes.
If you like, you can leave off the duration. In that case, it will keep making a tone until you tell it
to stop by calling noTone(pin) or by calling tone() with a different frequency.
What is the piezoelectric effect?
Piezoelectric is an effect where certain crystals will change shape when you apply electricity to
them. By applying an electric signal at the right frequency, the crystal can make sound.
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:
OperatioVoltage:3-24VDC
Current:<15mA
SPL:85dBA/10cm
Frequency:3,300Hz
Color: Black
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:
Piezoelectric buzzers.
Magnetic buzzers.
Electromagnetic buzzers.
Mechanical buzzers.
Electromechanical buzzers.
Working of Buzzer:
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.