

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 (depending on type) |
| Sound Frequency | 2 kHz to 4 kHz (typical range) |
| Sound Pressure Level | 85 dB to 100 dB (at 10 cm) |
| Operating Temperature | -20°C to +70°C |
| Dimensions | Varies (e.g., 12mm, 16mm, etc.) |
| 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. |
| Pin Name | Description |
|---|---|
| Signal | Connect to the output of a signal generator (e.g., microcontroller pin). |
| Ground (GND) | Connect to the ground of the circuit. |
// Example code to generate a tone on a passive buzzer using Arduino UNO
// Define the pin connected to the buzzer
const int buzzerPin = 8;
void setup() {
// Set the buzzer pin as an output
pinMode(buzzerPin, OUTPUT);
}
void loop() {
// Generate a 1 kHz tone for 500 milliseconds
tone(buzzerPin, 1000, 500);
delay(1000); // Wait for 1 second
// Generate a 2 kHz tone for 500 milliseconds
tone(buzzerPin, 2000, 500);
delay(1000); // Wait for 1 second
}
tone() function for passive buzzers to generate sound at specific frequencies.tone() function; simply set the pin HIGH or LOW to turn the buzzer on or off.No Sound from the Buzzer:
Weak or Distorted Sound:
Buzzer Overheats:
Buzzer Stays On Constantly:
Q: Can I use a passive buzzer without a microcontroller?
A: Yes, you can use a signal generator or an oscillator circuit to drive a passive buzzer.
Q: What is the difference between active and passive buzzers?
A: Active buzzers have an internal oscillator and only need power to produce sound. Passive buzzers require an external signal to generate sound.
Q: Can I control the volume of the buzzer?
A: The volume is typically fixed, but you can reduce it by lowering the supply voltage or adding a resistor in series.
Q: How do I know if my buzzer is active or passive?
A: Active buzzers will produce sound when connected to a power source, while passive buzzers will not.
By following this documentation, you can effectively integrate a buzzer into your electronic projects and troubleshoot common issues.