Description
What it is
The 5V Passive Buzzer is a simple electronic component used to emit sounds when activated. This buzzer is ideal for beginners who want to add sound effects to their Arduino projects.
Features
- Operating Voltage: 5V
- Number of pieces included: 3
What it is for
Ideal for Arduino projects, this Passive Buzzer can be used to generate sound signals such as alarms or notifications. You can create a simple alarm system that emits a series of beeps when activated.
Tutorial: How to use 5V Passive Buzzer
The 5V Passive Buzzer is a simple electronic component that emits sounds when activated. Ideal for beginners, this buzzer can be used in Arduino projects to generate sound signals.
What you need
- Arduino Uno
- USB A-Micro B cable
- Computer with Arduino IDE software installed
Steps
- Connect the buzzer’s VCC pin to the 5V of the Arduino.
- Connect the buzzer GND pin to the Arduino GND.
- Connect the buzzer control pin to any digital pin on the Arduino.
- Open Arduino IDE and create a new sketch.
- Insert the provided sketch into the code.
- Upload the sketch to the Arduino.
- Check that the buzzer produces sounds when the circuit is activated.
Example code
const int buzzerPin = 9;
void setup() {
pinMode(buzzerPin, OUTPUT);
}
void loop() {
tone(buzzerPin, 440, 500); // suono di 440 Hz per 500 ms
delay(1000);
noTone(buzzerPin);
delay(1000);
}
Mini project
Create a simple alarm that emits a series of beeps when activated.
Common mistakes
- Connect the buzzer to 3.3V instead of 5V.
- Do not connect the buzzer GND pin correctly.
- Set the note duration too long, making it difficult to turn off.
- Use an inappropriate tone for the intended use.
Recommended accessories
- Protection resistor
- Button switch
- Arduino Nano
- Motion sensors
Frequently asked questions
How can I control the volume of the Passive Buzzer 5V?
The volume is determined by the applied power and cannot be directly adjusted by the component.
Can it emit musical sounds like a melody?
Yes, using the tone() function with different frequencies and pauses between them.







Reviews
There are no reviews yet.