Arduino Tutorials – Lesson 13 – Buzzer Module Using Arduino UNO

Creating Buzzer control program using Arduino UNO

Required Components

  1. Buzzer module -1
  2. Arduino UNO -1
  3. Connecting wires -1 set

Circuit

Steps

  1. Make sure the components are working properly.
  2. Connect the Buzzer to the Arduino UNO board.
  3. Connect the Arduino UNO board 8th pin to the Buzzer.
  4. Connect Buzzer board VCC, GND to 5V, GND of Arduino Uno Board.
  5. Check the Cicuit Connections.
  6. Check the Arduino program.
  7. Run the Arduino program.

Arduino Program

const int buzzer = 8;

void setup( )
{
  pinMode(buzzer, OUTPUT);
}

void loop()
{
  tone(buzzer, 1000);
  delay(1000);
  noTone(buzzer);
  delay(1000);        
}

Usage

  1. Alarm clock
  2. Wrist watches
  3. Microwave oven
  4. Fire alarms
  5. Medical devices

Leave a Reply

Your email address will not be published. Required fields are marked *