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:
| Feature | Active buzzer | Passive buzzer |
|---|---|---|
| Has its own tone? | Yes | No |
| What you give it | Just power | A fast on/off signal |
| Can the sound change? | Single tone | Different notes possible |
| How to use | Very easy | A 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:
- Where did you place the button in the circuit, and why there?
- What do you expect if you connect the buzzer backwards?
- If you added an LED to this circuit, would it work at the same time as the buzzer?
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
- Use only low-voltage, educational sources: AA batteries (2×AA, 3 V), USB, micro:bit, or Arduino. Never work with mains electricity, wall sockets, or exposed wiring.
- Use the buzzer within the voltage range stated by the maker; too much voltage can heat the part.
- Connect the polarity correctly and never make a short circuit; do not let the battery's plus and minus ends touch directly.
- If the battery pack gets hot, smells, or swells, tell an adult right away.
- If wires need to be cut, stripped, or soldered, always do it with an adult watching.
- A buzzer's sound can be sharp and loud; do not hold it very close to your ear.
Lesson summary
- A buzzer is an output part that makes sound by vibrating with electricity.
- An active buzzer produces its own tone; a passive buzzer works with the signal sent to it.
- Most buzzers have a plus (+) and minus (−) end, and connecting the polarity correctly matters.
- A button can be added like a switch so the sound plays only when we want it.
- For safety, use only low voltage and do the activity together with an adult.
Check questions
- Is a buzzer an input or an output part in a circuit?
- What is the main difference between an active and a passive buzzer?
- What do we call connecting the plus and minus ends of a buzzer correctly?
- In the example warning circuit, what job does the button do?
- Why do we use AA batteries or USB for a buzzer instead of mains electricity?
Answers
- It is an output part. It turns the electricity it receives into sound.
- 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.
- Connecting it according to polarity; the plus end goes to plus and the minus end goes to minus.
- The button acts like a switch: pressing it completes the circuit and the buzzer sounds, and releasing it stops the sound.
- 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.