5V Passive Buzzer – 2 Pin
1. What Is a 5V Passive Buzzer?
The 5V Passive Buzzer is an electronic sound-generating component used to produce audible tones, alarms and sound effects in electronic circuits.
Unlike an active buzzer, a passive buzzer requires an external oscillating electrical signal to generate continuous sound. By changing the frequency of this signal, users can produce different tones and simple melodies.
Its compact design makes it suitable for robotics, embedded systems, educational electronics and DIY projects.
2. What Can You Build With a 5V Passive Buzzer?
The 5V Passive Buzzer is suitable for applications such as:
- Electronic alarm prototypes
- Musical tone generators
- Object detection alarms
- Robotics audible indicators
- Electronic doorbell prototypes
- Digital timers and countdown alarms
- Touch-controlled sound systems
- Parking assistance prototypes
- Interactive electronic games
- Arduino and ESP32 electronics projects
- Educational STEM experiments
3. Who Is It For?
The 5V Passive Buzzer is suitable for:
- Beginners learning electronics
- School and engineering students
- Arduino and ESP32 enthusiasts
- Robotics hobbyists
- PCB designers
- STEM educators and trainers
- DIY electronics makers
4. How Does a Passive Buzzer Work?
A passive buzzer converts a changing electrical signal into audible sound through its internal vibrating element.
Unlike an active buzzer, it does not have a built-in oscillator that automatically generates a continuous tone when powered.
An external circuit or microcontroller generates an alternating or pulsed electrical signal to activate the buzzer.
Changing the frequency of this signal changes the pitch of the sound.
Working principle:
Microcontroller → Frequency Signal → Buzzer Driver → Passive Buzzer → Sound Output
For example, a microcontroller can generate different frequencies to produce warning sounds, notification tones or simple musical sequences.
5. Technical Specifications
| Specification | Details |
|---|---|
| Product Type | Passive Buzzer |
| Rated Voltage | 5V |
| Sound Generation | External frequency signal |
| Oscillator | Not built in |
| Number of Terminals | 2 |
| Polarity | Positive and negative |
| Housing Colour | Black |
| Housing Shape | Cylindrical |
| Control Method | Oscillating signal / square wave |
| Output | Audible sound |
| Mounting Type | Through-hole |
| Application | Alarms, tones and audible notifications |
The operating current, resonant frequency, sound pressure level and physical dimensions depend on the manufacturer’s specifications.
6. 5V Passive Buzzer Pinout
The passive buzzer features two electrical terminals.
| Terminal | Function |
|---|---|
| Positive (+) | Pulsed drive signal or suitable positive supply through a driver circuit |
| Negative (−) | Signal return or switched ground |
The positive terminal is identified by the + symbol on the buzzer housing.
Always verify the terminal polarity and electrical specifications before connecting the buzzer.
7. How to Connect a 5V Passive Buzzer to Arduino
The 5V Passive Buzzer can be controlled using an Arduino Uno and a suitable driver circuit.
Required components:
- 5V Passive Buzzer
- Arduino Uno
- Suitable transistor-based buzzer driver
- Breadboard
- Jumper wires
- Protection components as required
Basic wiring connections:
| Connection | Arduino / Driver |
|---|---|
| Driver control input | Arduino D8 |
| Driver ground | Arduino GND |
| Buzzer positive | Suitable 5V driver supply |
| Buzzer negative | Driver switched output |
Use a driver circuit appropriate for the buzzer’s internal technology and current requirements.
Magnetic buzzers may require flyback protection, while piezoelectric buzzers may require a discharge path.
Do not connect an unverified buzzer directly to a microcontroller GPIO pin.
8. Arduino Example Code
The following program generates three different sound frequencies using the Arduino tone() function.
const int buzzerPin = 8;
void setup() {
pinMode(buzzerPin, OUTPUT);
}
void loop() {
tone(buzzerPin, 1000);
delay(500);
noTone(buzzerPin);
delay(300);
tone(buzzerPin, 1500);
delay(500);
noTone(buzzerPin);
delay(300);
tone(buzzerPin, 2000);
delay(500);
noTone(buzzerPin);
delay(1000);
}
The program generates tones at 1000Hz, 1500Hz and 2000Hz, with a short delay between each tone.
The actual loudness of each tone depends on the buzzer’s resonant frequency and driving circuit.
9. Beginner Project: Touch-Controlled Buzzer
Build a touch-activated sound system using the 5V Passive Buzzer and a TTP223 Touch Sensor Module.
Components required:
- 1 × 5V Passive Buzzer
- 1 × Arduino Uno
- 1 × TTP223 Touch Sensor Module
- Suitable buzzer driver circuit
- Breadboard
- Jumper wires
Wiring connections:
- Touch sensor VCC → Compatible 5V supply
- Touch sensor GND → Arduino GND
- Touch sensor I/O → Arduino D2
- Buzzer driver input → Arduino D8
Example code:
const int touchPin = 2;
const int buzzerPin = 8;
void setup() {
pinMode(touchPin, INPUT);
pinMode(buzzerPin, OUTPUT);
}
void loop() {
if (digitalRead(touchPin) == HIGH) {
tone(buzzerPin, 2000);
} else {
noTone(buzzerPin);
}
}
When the touch sensor detects finger contact, the Arduino generates a sound signal through the buzzer driver. When the touch is released, the sound stops.
This example assumes the TTP223 module uses active-HIGH, momentary output.
This project teaches digital inputs, capacitive touch sensing, frequency generation and audible output control.
10. Related Products
Complete your electronics project with:
- Arduino Uno R3 Compatible Programmable Board
- ESP32 Development Board
- TTP223 Touch Sensor Module
- SW-420 Vibration Sensor Module
- 4 Pin Sound Sensor Module
- Water Level Sensor Module
- Flame Sensor Module
- 6x6x5mm Tactile Push Button Switch
- RGB LED Module
- Breadboard
- Jumper Wires
11. Related Tutorials
Explore these electronics learning topics:
- How to Use a 5V Passive Buzzer with Arduino
- Active Buzzer vs Passive Buzzer
- How to Generate Sound Using Arduino
- Understanding the Arduino tone() Function
- How to Build a Touch-Controlled Buzzer
- How to Connect a Passive Buzzer to ESP32
- How to Build a Sensor-Based Alarm
- How to Generate Musical Notes Using a Passive Buzzer
12. Frequently Asked Questions
What is a 5V Passive Buzzer?
A 5V Passive Buzzer is an electronic sound-generating component that requires an external frequency signal to produce continuous audible sound.
What is the difference between an active and passive buzzer?
An active buzzer contains an internal oscillator and produces a tone when powered appropriately. A passive buzzer requires an external oscillating signal and allows its sound frequency to be controlled.
Can a passive buzzer produce different sounds?
Yes. Changing the input signal frequency allows the buzzer to produce different pitches and simple tone sequences.
Can I use a 5V Passive Buzzer with Arduino?
Yes. Arduino can generate the required frequency signal using the tone() function and a suitable buzzer driving circuit.
Can I use a passive buzzer with ESP32?
Yes. ESP32 can generate frequency signals to control a passive buzzer through a suitable driver circuit.
Will a passive buzzer produce sound when connected directly to a battery?
A passive buzzer generally does not produce a continuous tone from a constant DC supply. It requires a changing electrical signal.
Can a passive buzzer play music?
It can produce individual musical notes and simple melodies by varying the input frequency. It is not designed for high-quality audio playback.
Does a passive buzzer require a driver circuit?
This depends on the buzzer’s electrical characteristics. A suitable driver is recommended when its current requirements exceed the microcontroller’s GPIO limits or when additional protection is required.
Can I use this buzzer for a fire detection project?
Yes. It can be used as an audible indicator in educational fire detection prototypes. It is not a certified life-safety alarm.
Where can I buy a 5V Passive Buzzer in Surat?
You can order the 5V Passive Buzzer online from Yagobotix with same-day delivery and pickup available in Surat.
13. What Is Included?
- 1 × 5V Passive Buzzer
Microcontroller boards, driver components, breadboards and jumper wires are not included.
14. Compatibility
The 5V Passive Buzzer can be used in suitable electronic circuits involving:
- Arduino Uno
- Arduino Nano
- Arduino Mega
- ESP32
- ESP8266 NodeMCU
- Raspberry Pi
- 555 timer circuits
- Custom PCB designs
- Other compatible microcontroller boards
Use an appropriate driver circuit and power supply based on the buzzer’s electrical specifications.
Do not apply a 5V supply directly to a microcontroller GPIO that is not 5V tolerant.
15. Buy 5V Passive Buzzer Online in India
Add audible notifications, warning tones and interactive sound effects to your next electronics project with the 5V Passive Buzzer from Yagobotix.
Whether you are building a robotics project, experimenting with musical tones or developing a sensor-based alarm, this compact electronic component provides a practical solution for sound generation.
Order online with shipping across India and same-day delivery or pickup available in Surat, subject to stock availability and applicable order cut-off times.
Add to cart and bring sound to your next electronics project with Yagobotix!







There are no reviews yet.