PIEZO BUZZER:-
It is an electronic device commonly used to produce sound. It is used in various applications like sound
indicator, computers, calculators, toys, and alarm clocks. In robotics it can be used as a sound indicator for
battery low, fire alarm, notifications and electronic projects.
A piezo buzzer is a small output device that can make sound by converting electric signals into vibrations.
We can use following functions with piezo buzzer -
1. Tone( ) :- It is used to produce the sound. Tone () takes 3 parameters.
a. Pin number
b. Frequency - This is in hertz (cycles per second) which determines the pitch of the noise
made.
c. Duration - How long the tone plays which is optional parameter.
For ex. tone(8,200,1000);
In above line 8 is pin number, 200 is frequency and 1000 is duration in milliseconds.
2. noTone ( ) :- Use to stop producing the sound of buzzer.
M-Piezo buzzer:
It is a regular piezo buzzer with a molex wire connector best suited for Arduino shield 1.0.
Activity 5:- Show down counter on LCD using Arduino and buzzer.
Components required:-
1. Arduino Uno board
2. Arduino Shield
3. 4 pin molex wire
4. USB / Arduino cable
5. 16 x 2 LCD
6. Piezo buzzer