Search Header Logo
Interactive lesson-Gr9+10(ArduinoWithBuzzer)

Interactive lesson-Gr9+10(ArduinoWithBuzzer)

Assessment

Presentation

Computers

6th - 8th Grade

Practice Problem

Easy

Created by

why you black me Mouawad

Used 12+ times

FREE Resource

8 Slides • 12 Questions

1

Connecting and Programming a Buzzer in Arduino.

By Dania Mouawad

2

Multiple Choice

Question image

What the name of this compnent?

1

LED

2

Ultrasonic sensor

3

Infraed sensor

4

Buzzer

3

Multiple Choice

What does AI stand for?

1

a. Artificial Intelligence

2

b. Automated Intelligence

3

c. Advanced Intelligence

4

d. Automated Informatics

4

Multiple Choice

Question image

Where are you most likely to find microchips?

1

on a lunch tray

2

inside a computer

3

on a movie screen

4

in an email account

5

Open Ended

Where do we hear buzzing or beeping sounds in our daily lives?

6

media
media
media

Makes sound to wake you up

alarm clock

Plays a short tune

Doorbell

Makes loud continuous beep

Smoke detector

7

Objective:


  1. Explain what a buzzer is and how it works.

  2. Connect a buzzer to an Arduino Uno correctly.

  3. Program the Arduino to make the buzzer beep.

  4. Run and test your program using Tinkercad.”

  5. Relate the use of buzzers in Arduino to real-life applications such as alarms, timers, and notifications.

8

1- Passive:
Needs a signal to create sound (we program the tone).
2- Active:
Makes sound automatically when powered.

Types of a buzzer

A buzzer is used to create sound or beeps to give audio feedback, alarms, or notifications in an Arduino project.

What is a buzzer

Buzzer:

9

🔌 Circuit Connection (Buzzer):

media
media

10

💻 Sample Arduino Code:

void setup() {

pinMode(buzzer, OUTPUT);

}

void loop() {

digitalWrite(buzzer, HIGH); // turn buzzer ON

delay(500); // wait 0.5 second

digitalWrite(buzzer, LOW); // turn buzzer OFF

delay(500); // wait 0.5 second

}

11

💻 Sample Arduino Code:

  • pinMode tells Arduino that pin 13 is an output.

  • digitalWrite(HIGH) makes sound.

  • digitalWrite(LOW) turns it off.

  • delay() pauses the program temporarily.

Explaining the code:

void setup() {

pinMode(13, OUTPUT);
}

void loop() {

digitalWrite(buzzer, HIGH); // turn buzzer ON

delay(500); // wait 0.5 second

digitalWrite(buzzer, LOW); // turn buzzer OFF

delay(500); // wait 0.5 second

}

The Arduino code

12

Multiple Choice

delay (1000);

1000 in delay is equivalent to how many second?

1

10s

2

2s

3

60s

4

1s

13

💻 Make a Melody Code:

  • pinMode tells Arduino that pin 13 is an output.

  • tone(pin, frequency) sets the pitch.

  • Higher number = higher sound.

  • delay() pauses the program temporarily.

Explaining the code:

void setup() {

pinMode(13, OUTPUT);
}

void loop() {

tone(13, 500); // play note

delay(500);

noTone(13); // stop

delay(500);

}

The Arduino code

14

Multiple Choice

Question image

Identify this component

1

Arduino Uno board

2

Raspberry Pi

3

Breadboard / Protoboard

4

White Plastic Board

15

Multiple Choice

Which command is called repetitively over and over again as long as the Arduino has power.

1

loop ( )

2

(output)

3

setup ( )

4

(input)

16

Multiple Choice

✔ What a buzzer is

1

Output component used to create sound or beeps

2

Robotics

17

Multiple Choice

Question image
Coding can be used to
1
Program robots
2
create websites, games & apps
3
tell computers what to do
4
all of the above

18

Open Ended

I want you to use your imagination and think creatively about how we can apply this lesson in our real life.

19

Poll

Rate your understanding today:

⭐ I need more help

⭐⭐ I understand the basics

⭐⭐⭐ I can explain how to connect and code a buzzer

⭐⭐⭐⭐ I can modify the sound

⭐⭐⭐⭐⭐ I can design my own project using a buzzer

20

Word Cloud

How did you feel when you made the buzzer play a sound successfully?

Connecting and Programming a Buzzer in Arduino.

By Dania Mouawad

Show answer

Auto Play

Slide 1 / 20

SLIDE