

A buzzer is an audio signaling device that produces sound when an electric current passes through it. It is commonly used in alarms, timers, and notification systems to provide audible feedback or alerts. Buzzers are available in two main types: active and passive. Active buzzers generate sound when powered, while passive buzzers require an external signal to produce sound.








| Parameter | Value |
|---|---|
| Operating Voltage | 3V to 12V (varies by model) |
| Current Consumption | 5mA to 30mA (typical) |
| Sound Frequency | 2 kHz to 4 kHz (varies by model) |
| Sound Pressure Level | 85 dB to 100 dB (at 10 cm) |
| Operating Temperature | -20°C to +70°C |
| Dimensions | Varies (e.g., 12mm diameter) |
| Pin Name | Description |
|---|---|
| Positive (+) | Connect to the positive terminal of the power supply or signal source. |
| Negative (-) | Connect to the ground (GND) of the circuit. |
Note: Some buzzers may have polarity markings on the casing to indicate the positive and negative terminals.
Below is an example of how to connect and control a passive buzzer using an Arduino UNO:
// Example code to generate sound using a passive buzzer
// Connect the buzzer's positive terminal to pin 9 on the Arduino
// and the negative terminal to GND.
int buzzerPin = 9; // Pin connected to the buzzer
void setup() {
pinMode(buzzerPin, OUTPUT); // Set the buzzer pin as an output
}
void loop() {
tone(buzzerPin, 1000); // Generate a 1 kHz tone
delay(500); // Wait for 500 milliseconds
noTone(buzzerPin); // Stop the tone
delay(500); // Wait for 500 milliseconds
}
Explanation:
tone() function generates a square wave at the specified frequency (1 kHz in this case).noTone() function stops the sound.No Sound from the Buzzer:
Low or Distorted Sound:
Buzzer Overheats:
Buzzer Does Not Respond to PWM Signal:
Q: Can I use a passive buzzer without a microcontroller?
A: Yes, but you will need an external oscillator circuit to generate the required signal.
Q: How do I differentiate between an active and passive buzzer?
A: Active buzzers typically produce sound when connected to a power source, while passive buzzers require an external signal.
Q: Can I use a buzzer with a 5V power supply?
A: Yes, most buzzers are compatible with 5V, but always check the specific voltage range of your buzzer model.
Q: Is it safe to connect a buzzer directly to an Arduino pin?
A: Yes, for most buzzers with low current consumption (e.g., <20mA). For higher current buzzers, use a transistor or driver circuit.