The Buzzer

Learn to make sound in a circuit with a buzzer and the difference between active and passive buzzers.

LESSON COMPASS

What will you use this page for?

Core idea

A buzzer is a small electronic part that vibrates and makes a sound when electricity passes through it, and it is used in circuits to give a warning or notification sound.

Evidence to produce

Complete the page task with your own input, test conditions and reasoning.

Control trap

Connecting the polarity backwards Mixing up the plus and minus ends is a common mistake. If an active buzzer is connected backwards, it may make no sound at all. Before connecting, check the longer leg and the "+" mark. Giving the wrong voltage Every buzzer has a voltage range it works in (for example 3–6 V). Giving a…

Next connection

A Safe Introduction to the Multimeter: We learn to use a multimeter safely to measure the voltage and connections in a circuit.

Module sources: Python Tutorial · Arduino Learn

LevelBeginner
Age10–16
Duration30–45 min
PrerequisiteThe Potentiometer
ContentStandard lesson · 1,761 words
Last updated

One-sentence summary

A buzzer is a small electronic part that vibrates and makes a sound when electricity passes through it, and it is used in circuits to give a warning or notification sound.

Why does it matter?

Most of the devices around you talk to you with sound. A microwave beeps when it finishes, a washing machine chimes when a program ends, a computer plays a short sound as it starts up. Behind many of these sounds there is a small part called a buzzer.

On a robot, a signal can be shown with an LED light. But if the user is not looking at the robot, they will miss the light. Sound grabs attention. That is why a buzzer is so useful for announcing things like "obstacle too close," "battery empty," or "task complete."

Learning about the buzzer helps you understand how to add an output (a response sent out into the world) to a circuit. An LED gives light, a motor gives movement, and a buzzer gives sound. All three turn electricity into a useful result.

What is a buzzer and how does it work?

A buzzer is a part that vibrates when electric current passes through it and turns that vibration into sound. Inside, it has a thin metal or ceramic layer. Electricity makes this layer move back and forth very quickly. That movement shakes the air, and shaking air is exactly what our ears hear as sound.

The link between vibration and sound

Sound is really just vibrating air. When you pluck a guitar string, the string vibrates and you hear a note. A buzzer works with the same idea: the layer inside it vibrates hundreds of times per second, the air ripples, and you hear a "beep."

Example: If you put your hand on your throat while speaking, you can feel the vibration. Sound comes from your vocal cords vibrating. A buzzer makes sound from its metal layer vibrating.

Example: If you press a ruler against the edge of a desk and flick the free end, you hear a buzzing sound. The faster it vibrates, the higher the pitch. A buzzer can also make different sounds by changing how fast it vibrates.

Where the buzzer sits in a circuit

A buzzer is an output part. It does not give the circuit information; it uses the electricity it receives to produce a result. Think of a lamp that lights up when you press a button, but here a sound-making part takes the lamp's place.

The buzzer's job in a circuit:

Power (battery / board) ----> Buzzer ----> Sound
                               (output)

The difference between active and passive buzzers

There are two common types of buzzer. The difference is how the sound is produced.

Active buzzer

An active buzzer has its own vibration generator built in. You just give it electricity, and it makes a ready-made "beep." It produces a single tone; you cannot change the melody, but it is very easy to use.

Example: The steady, sharp sound of a smoke alarm generally works with a logic similar to an active buzzer: as soon as power arrives, the sound starts.

Passive buzzer

A passive buzzer does not make a tone on its own. It vibrates as fast as the signal you send it. In other words, you decide the pitch (how high or low the sound is). This lets you play different notes, even simple melodies. To do this, a board like an Arduino or micro:bit needs to send it a signal that switches on and off very quickly.

Example: A toy that plays a game's opening tune can use a passive buzzer to produce different notes one after another.

A simple comparison:

Passive buzzer table
FeatureActive buzzerPassive buzzer
Has its own tone?YesNo
What you give itJust powerA fast on/off signal
Can the sound change?Single toneDifferent notes possible
How to useVery easyA bit more advanced

In this lesson our main goal is the idea: where a buzzer's sound comes from and how the two types differ. Coding melodies comes in later lessons.

Polarity: connecting the plus and minus ends correctly

Most buzzers have a plus (+) end and a minus (−) end. This is called polarity. The plus end is usually the longer leg or has a small "+" mark next to it.

If you connect a polarised part backwards, an active buzzer may make no sound. In some parts, such as an LED, reversing the connection can cause damage, so always checking the direction is a good habit.

Example: If you put batteries into a flashlight the wrong way round, it will not turn on. A buzzer's polarity follows the same idea: plus goes to plus, minus goes to minus.

A simple warning-sound circuit

Below is a text schematic showing how to connect a buzzer with a battery pack and a button. The button lets us make the sound only when we want it. The circuit is designed for a 3 V source (2 AA batteries).

Warning-sound circuit (text schematic)

  [Battery + 3V] ---- [Button] ---- [Buzzer +]
       |                               |
       |                           [Buzzer -]
       |                               |
  [Battery -] ------------------------ +

Steps:
1. Connect the battery's plus end to one leg of the button.
2. Connect the button's other leg to the buzzer's plus (+) end.
3. Connect the buzzer's minus (-) end to the battery's minus end.
4. Press the button: the circuit is completed and the buzzer sounds.
5. Release the button: the circuit opens and the sound stops.

In this circuit the button acts like a switch. When you press it, the path is completed, electricity flows, and the active buzzer gives a "beep." When you release it, the path is broken and the sound stops. On a robot, if a distance sensor took the place of this button, the buzzer could sound on its own when an obstacle came near.

Mini practice

In this practice you will plan before making any connection. The goal is to think about connecting the parts in a safe order and with the correct polarity.

Assume you have: a battery holder with 2 AA batteries (3 V), an active buzzer, a button, and connecting wires.

Task: Together with an adult, complete the connection list below and watch the polarity at every step.

Connection plan (you fill it in):

1. Battery (+) ----> ______________
2. ______________ ----> Buzzer (+)
3. Buzzer (-) ----> ______________
4. Check: Is plus connected to plus and minus to minus? (Yes / No)
5. Check: Does the sound come without pressing the button? (It should not)

Check your answer:

There does not have to be a single correct layout. What matters is that the circuit is safe, correctly polarised, and clear.

Common mistakes

Connecting the polarity backwards

Mixing up the plus and minus ends is a common mistake. If an active buzzer is connected backwards, it may make no sound at all. Before connecting, check the longer leg and the "+" mark.

Giving the wrong voltage

Every buzzer has a voltage range it works in (for example 3–6 V). Giving a small buzzer too high a voltage can heat it up or damage it. Read the value printed on the part or its packaging.

Forgetting that a resistor may be needed

In some circuits and with some buzzer types, a resistor in series is recommended to limit the current. Together with an adult, check your buzzer's guide to see whether one is needed.

Confusing active and passive buzzers

If you give a passive buzzer plain, steady power, it usually stays silent; it needs an on/off signal. If you get no sound, first confirm which type you are using.

Safety note

Lesson summary

Check questions

  1. Is a buzzer an input or an output part in a circuit?
  2. What is the main difference between an active and a passive buzzer?
  3. What do we call connecting the plus and minus ends of a buzzer correctly?
  4. In the example warning circuit, what job does the button do?
  5. Why do we use AA batteries or USB for a buzzer instead of mains electricity?

Answers

  1. It is an output part. It turns the electricity it receives into sound.
  2. An active buzzer carries its own vibration generator and makes a ready-made tone when given power. A passive buzzer does not make its own tone; it vibrates as fast as the signal you send, so different notes become possible.
  3. Connecting it according to polarity; the plus end goes to plus and the minus end goes to minus.
  4. The button acts like a switch: pressing it completes the circuit and the buzzer sounds, and releasing it stops the sound.
  5. Because AA batteries and USB are low voltage and safe for learning. Mains electricity is high voltage, dangerous, and must never be used in this kind of activity.

Source and verification note

For “The Buzzer”, verification focuses on whether the relationship between What is a buzzer and how does it work? and Where the buzzer sits in a circuit remains consistent across examples. Activities are designed only for low-voltage direct-current circuits; mains electricity is not used. Component values must be rechecked for the actual circuit, and connections should be reviewed with an adult before power is applied.

Next lesson

A Safe Introduction to the Multimeter: We learn to use a multimeter safely to measure the voltage and connections in a circuit.

Start QuizBack to Introduction to Electronics
QUESTION POOL

Reinforce this lesson with 10 questions

This lesson has a pool of 20 questions. Each attempt selects 10 and reshuffles the choices.