Experiment 5 : Buzzer
Description :
This experiment is done in order to understand the functioning of a buzzer using Arduino.A buzzer or beeper is an audio signaling device which is used as alarm devices, timers, and confirmation of user input

Components Used :
- Arduino Uno
- Buzzer x 1
- Breadboard x 1
- Breadboard Jumper Wire x 2
- USB cable x 1
Circuit :
Connections are made according to the Circuit given

Code :
#define BUZZER 10
void setup()
{
pinMode(BUZZER, OUTPUT);
}
void loop()
{
digitalWrite(BUZZER, HIGH);
}
Video :
The output of this experiment would be like this :