Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Buzzer: Examples, Pinouts, and Specs

Image of Buzzer
Cirkit Designer LogoDesign with Buzzer in Cirkit Designer

Introduction

A buzzer is an audio signaling device that produces sound when an electric current passes through it. It is widely used in various electronic applications to provide audible alerts or notifications. Buzzers are commonly found in alarms, timers, household appliances, and embedded systems. They are available in two main types: active buzzers, which generate sound when powered, and passive buzzers, which require an external signal to produce sound.

Explore Projects Built with Buzzer

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO Controlled School Bell System with DS3231 RTC and Relay Module
Image of automatic bell system: A project utilizing Buzzer in a practical application
This circuit is designed as an automatic school bell system controlled by an Arduino UNO microcontroller. The Arduino is programmed to ring a buzzer at the start of each school period, with a total of 6 periods defined in the code. The DS3231 Real-Time Clock (RTC) module is used for accurate timekeeping, and a relay module interfaces the Arduino with the buzzer to handle the higher current required to drive the buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered IR Sensor and Buzzer Alarm System
Image of blindstick: A project utilizing Buzzer in a practical application
This circuit consists of an IR sensor and a buzzer powered by a 9V battery. The IR sensor detects an object and triggers the buzzer to sound an alarm when an object is detected.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Buzzer Circuit
Image of  Buzzer with AA battery: A project utilizing Buzzer in a practical application
This circuit consists of a simple buzzer connected to a 3V battery source. The positive terminal of the battery is connected to the buzzer's power input, and the negative terminal is connected to the buzzer's ground. The circuit is designed to power the buzzer continuously, producing a constant sound or tone as long as the battery provides sufficient voltage.
Cirkit Designer LogoOpen Project in Cirkit Designer
Voice-Controlled Buzzer System with VC-02 Module
Image of vc: A project utilizing Buzzer in a practical application
This circuit features a VC-02 voice recognition module connected to a buzzer and powered by a 5V battery. The VC-02 module is programmed to listen for specific voice commands and, upon recognizing the command 'can you make a sound', it activates the buzzer for one second. The circuit is designed for voice-activated sound generation, with the VC-02 module handling voice recognition and serial communication, and the buzzer providing audible feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Buzzer

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of automatic bell system: A project utilizing Buzzer in a practical application
Arduino UNO Controlled School Bell System with DS3231 RTC and Relay Module
This circuit is designed as an automatic school bell system controlled by an Arduino UNO microcontroller. The Arduino is programmed to ring a buzzer at the start of each school period, with a total of 6 periods defined in the code. The DS3231 Real-Time Clock (RTC) module is used for accurate timekeeping, and a relay module interfaces the Arduino with the buzzer to handle the higher current required to drive the buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of blindstick: A project utilizing Buzzer in a practical application
Battery-Powered IR Sensor and Buzzer Alarm System
This circuit consists of an IR sensor and a buzzer powered by a 9V battery. The IR sensor detects an object and triggers the buzzer to sound an alarm when an object is detected.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of  Buzzer with AA battery: A project utilizing Buzzer in a practical application
Battery-Powered Buzzer Circuit
This circuit consists of a simple buzzer connected to a 3V battery source. The positive terminal of the battery is connected to the buzzer's power input, and the negative terminal is connected to the buzzer's ground. The circuit is designed to power the buzzer continuously, producing a constant sound or tone as long as the battery provides sufficient voltage.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of vc: A project utilizing Buzzer in a practical application
Voice-Controlled Buzzer System with VC-02 Module
This circuit features a VC-02 voice recognition module connected to a buzzer and powered by a 5V battery. The VC-02 module is programmed to listen for specific voice commands and, upon recognizing the command 'can you make a sound', it activates the buzzer for one second. The circuit is designed for voice-activated sound generation, with the VC-02 module handling voice recognition and serial communication, and the buzzer providing audible feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Alarm systems (e.g., fire alarms, security alarms)
  • Timers and reminders
  • Notification systems in appliances (e.g., microwave ovens, washing machines)
  • Embedded systems and Arduino projects
  • Toys and educational kits

Technical Specifications

Below are the general technical specifications for a typical buzzer. Note that specific values may vary depending on the model and manufacturer.

Key Specifications

  • Operating Voltage: 3V to 12V (commonly 5V)
  • Current Consumption: 10mA to 50mA
  • Sound Frequency: 2kHz to 4kHz (varies by model)
  • Sound Pressure Level (SPL): 85dB to 100dB at 10cm
  • Type: Active or Passive
  • Operating Temperature: -20°C to 70°C

Pin Configuration

Buzzers typically have two pins: a positive (+) and a negative (-) terminal. The table below describes the pin configuration:

Pin Name Description
Positive (+) Connect to the positive voltage supply (e.g., 5V).
Negative (-) Connect to ground (GND).

For active buzzers, simply applying a voltage will produce sound. For passive buzzers, an external signal (e.g., PWM) is required to generate sound.

Usage Instructions

How to Use a Buzzer in a Circuit

  1. Identify the Type of Buzzer: Determine whether the buzzer is active or passive. Active buzzers are easier to use as they only require a voltage supply, while passive buzzers need a signal source.
  2. Connect the Pins:
    • Connect the positive (+) pin of the buzzer to the voltage supply (e.g., 5V).
    • Connect the negative (-) pin to the ground (GND).
  3. For Passive Buzzers: Use a microcontroller (e.g., Arduino) to generate a PWM signal to drive the buzzer.

Important Considerations

  • Voltage Compatibility: Ensure the operating voltage of the buzzer matches your circuit's power supply.
  • Current Limiting: If necessary, use a resistor to limit the current to the buzzer.
  • Polarity: Always connect the positive and negative pins correctly to avoid damage.
  • Noise Levels: Be mindful of the buzzer's sound pressure level (SPL) in noise-sensitive environments.

Example: Connecting a Buzzer to an Arduino UNO

Below is an example of how to connect and control a passive buzzer using an Arduino UNO:

Circuit Setup

  • Connect the positive (+) pin of the buzzer to Arduino pin 9.
  • Connect the negative (-) pin of the buzzer to GND.

Arduino Code

// Example code to control a passive buzzer with Arduino UNO
// The buzzer will produce a tone for 1 second, then remain silent for 1 second.

#define BUZZER_PIN 9  // Define the pin connected to the buzzer

void setup() {
  pinMode(BUZZER_PIN, OUTPUT);  // Set the buzzer pin as an output
}

void loop() {
  tone(BUZZER_PIN, 1000);  // Generate a 1kHz tone on the buzzer
  delay(1000);             // Wait for 1 second
  noTone(BUZZER_PIN);      // Stop the tone
  delay(1000);             // Wait for 1 second
}

Notes:

  • Use the tone() function to generate a specific frequency on the buzzer.
  • The noTone() function stops the sound.

Troubleshooting and FAQs

Common Issues

  1. No Sound from the Buzzer:

    • Cause: Incorrect wiring or insufficient voltage.
    • Solution: Verify the connections and ensure the voltage matches the buzzer's specifications.
  2. Buzzer Produces Weak or Distorted Sound:

    • Cause: Insufficient current or incorrect signal frequency (for passive buzzers).
    • Solution: Check the power supply and ensure the signal frequency is within the buzzer's operating range.
  3. Buzzer Overheats:

    • Cause: Excessive voltage or current.
    • Solution: Use a resistor to limit the current or reduce the supply voltage.
  4. Buzzer Does Not Respond to PWM Signal:

    • Cause: Using an active buzzer instead of a passive one.
    • Solution: Verify the type of buzzer and use the appropriate control method.

FAQs

Q: Can I use a buzzer with a 3.3V microcontroller?
A: Yes, as long as the buzzer's operating voltage includes 3.3V. For passive buzzers, ensure the PWM signal is strong enough to drive the buzzer.

Q: How do I differentiate between an active and a passive buzzer?
A: Active buzzers typically have a built-in oscillator and produce sound when powered. Passive buzzers require an external signal and are usually smaller in size.

Q: Can I control the volume of a buzzer?
A: The volume of most buzzers is fixed. However, you can reduce the supply voltage slightly to lower the sound level, but this may affect performance.

Q: Is it safe to connect a buzzer directly to a microcontroller pin?
A: For passive buzzers, yes, as long as the current draw is within the microcontroller's pin limits. For active buzzers, check the current requirements and use a transistor if necessary.