Audio & Indicators

Buzzers

A buzzer is an electronic sound-producing device used to provide an audible indication or warning. Buzzers are commonly found in alarms, timers, appliances, control panels, electronic projects, security systems and industrial equipment.

What Is a Buzzer?

A buzzer converts electrical energy into sound. Depending on its construction, the sound may be produced by a vibrating mechanical element or by a piezoelectric element.

Electrical Signal
       │
       ▼
     Buzzer
       │
       ▼
    Vibration
       │
       ▼
      Sound

What Are Buzzers Used For?

  • Warning alarms
  • Timers
  • Doorbells
  • Appliances
  • Security systems
  • Control panels
  • Industrial equipment
  • Electronic projects
  • Battery-powered devices
  • Reverse alarms
  • User-interface feedback
  • Fault indicators

Main Types of Buzzers

Buzzers can be divided into several categories according to their operating principle and drive requirements.

  • Active buzzers
  • Passive buzzers
  • Piezoelectric buzzers
  • Magnetic buzzers
  • Electromechanical buzzers

Active Buzzer

An active buzzer contains an internal oscillator or driving circuit. Applying the appropriate DC voltage causes the buzzer to generate its designed sound.

DC Voltage
    │
    ▼
Active Buzzer
    │
    ▼
Internal Oscillator
    │
    ▼
Sound

Because the oscillator is built into the device, the external circuit does not normally need to generate the audio-frequency signal.

Passive Buzzer

A passive buzzer does not contain the same type of internal oscillator used by an active buzzer. The external circuit supplies the electrical signal that causes the buzzer element to produce sound.

Controller
    │
    │ Audio / PWM Signal
    ▼
Passive Buzzer
    │
    ▼
Sound

This allows the controller to change the frequency and therefore the tone.

Active vs Passive Buzzer

Feature Active Buzzer Passive Buzzer
Internal oscillator Usually present Normally absent
Drive method DC power can produce sound Requires an external signal
Frequency control Usually limited Can be controlled externally
Simple ON/OFF alarm Very suitable Requires a signal source
Different tones Limited Suitable

Piezo Buzzer

A piezoelectric buzzer uses a piezoelectric element that changes shape when an electrical voltage is applied.

The mechanical movement produces vibration and therefore sound.

Electrical Voltage
       │
       ▼
Piezoelectric Element
       │
       ▼
Mechanical Vibration
       │
       ▼
       Sound

Piezoelectric Effect

Piezoelectric materials can convert electrical energy into mechanical deformation and can also produce electrical signals when mechanically deformed.

This property allows piezoelectric elements to be used for both sound generation and sensing.

Magnetic Buzzer

A magnetic buzzer uses an electromagnetic field to move a mechanical diaphragm.

Electrical Signal
       │
       ▼
Electromagnetic Coil
       │
       ▼
Magnetic Force
       │
       ▼
Diaphragm Movement
       │
       ▼
      Sound

Electromechanical Buzzer

An electromechanical buzzer uses electrical energy to produce mechanical movement that generates sound.

Older buzzer designs may use mechanical contacts or vibrating mechanisms.

Buzzer Polarity

Some buzzers are polarized and must be connected with the correct positive and negative terminals.

Polarity markings may be indicated by:

  • +
  • -
  • Longer lead
  • PCB markings
  • Manufacturer documentation

Not every buzzer has the same polarity requirements, so the manufacturer's specifications should be checked.

Buzzer Voltage

Buzzers are manufactured for different operating voltages.

Common low-voltage versions include devices designed for supplies such as:

  • 3 V
  • 3.3 V
  • 5 V
  • 9 V
  • 12 V
  • 24 V

These are examples rather than universal ratings. Always use the specified operating voltage of the buzzer.

Buzzer Current

The buzzer's current consumption depends on its construction and operating voltage.

The control circuit must be capable of supplying the required current.

For a microcontroller, the buzzer may need to be driven through a transistor when its current requirement exceeds the controller's output capability.

Driving a Buzzer with a Microcontroller

A low-current buzzer may sometimes be driven directly from a microcontroller output if the electrical specifications permit it.

For higher-current buzzers, a transistor driver is commonly used.

Microcontroller
      │
      ▼
 Resistor
      │
      ▼
 Transistor
      │
      ▼
    Buzzer
      │
      ▼
     GND

The transistor allows the microcontroller to control a larger load current without requiring the current to pass directly through the microcontroller output.

Buzzer Transistor Driver

A common low-side driver uses an NPN transistor or an appropriate MOSFET.

        +V
         │
       Buzzer
         │
         │
       Collector
          │
        NPN
          │
       Emitter
          │
         GND

MCU ── Resistor ── Base

The exact circuit should be designed according to the buzzer current and transistor specifications.

Driving an Inductive Buzzer

Some magnetic or electromechanical buzzer designs contain a coil. Depending on the construction and switching arrangement, the coil can produce a voltage transient when current is interrupted.

The appropriate suppression method depends on the buzzer and driver circuit.

Flyback Diode

A flyback diode can be appropriate for certain DC inductive loads switched by a transistor.

However, it should not automatically be placed across every buzzer. Piezoelectric buzzers and some active buzzer modules do not require the same protection arrangement as a simple electromagnetic coil.

Buzzer Frequency

The frequency of a buzzer's sound determines its perceived pitch.

Frequency is measured in hertz (Hz).

Low Frequency  → Lower Pitch

High Frequency → Higher Pitch

Passive buzzers can often be driven at different frequencies to produce different tones.

Buzzer Tone

Tone depends on the frequency and waveform applied to the buzzer, as well as the physical characteristics of the buzzer itself.

A controller can generate different frequencies to create different audible indications with a suitable passive buzzer.

Generating a Tone

A microcontroller can generate a periodic signal and apply it to a suitable passive buzzer.

Microcontroller
      │
      │ Square Wave
      ▼
Passive Buzzer
      │
      ▼
     Tone

PWM and Buzzers

PWM can be used to generate an audio-frequency signal for a passive buzzer.

By changing the PWM frequency, the controller can change the perceived pitch.

Changing the duty cycle can also affect the electrical drive waveform and perceived sound depending on the buzzer and circuit.

Buzzer ON/OFF Control

An active buzzer can often be controlled simply by switching its power on and off.

MCU Output
    │
    ▼
Driver
    │
    ▼
Active Buzzer
    │
    ▼
Beep

The controller can create warning patterns such as short beeps, long beeps or repeated alarms.

Buzzer Beep Patterns

A buzzer can communicate different information using different beep patterns.

Short beep:

█   █   █

Long beep:

████████

Alternating:

█   ████   █

For example, a short repeated beep can indicate a button press while a different pattern can indicate a fault.

Buzzer Sound Level

Buzzer sound output is commonly specified using sound-pressure-level measurements, often expressed in dB under specified test conditions.

The measured sound level depends on the test distance, frequency, mounting and electrical drive conditions.

Buzzer Resonance

Piezoelectric and mechanical buzzers can have frequency ranges where their acoustic output is particularly strong.

Operating near the appropriate resonant frequency can produce a louder sound for a given drive condition.

Continuous Buzzer

A continuous buzzer is intended to produce a continuous audible output when operated according to its specification.

Active buzzers are commonly used when a simple continuous warning sound is required.

Intermittent Buzzer

An intermittent alarm can be created by repeatedly switching the buzzer on and off.

The timing can be generated by a microcontroller, timer circuit or other control circuit.

Buzzer Alarm Circuit

A basic alarm system can combine a sensor, controller and buzzer.

Sensor
  │
  ▼
Controller
  │
  ▼
Driver
  │
  ▼
Buzzer
  │
  ▼
Audible Alarm

Buzzer with a Push Button

A push button can be used to trigger a buzzer.

Push Button
     │
     ▼
Controller
     │
     ▼
 Buzzer

The controller can generate a short beep each time the button is pressed.

Buzzer with a Sensor

A sensor can activate a buzzer when a measured condition reaches a defined threshold.

Examples include:

  • Temperature warning
  • Door opening
  • Motion detection
  • Low battery warning
  • Water detection
  • Gas detection

Buzzer in Security Systems

Buzzers can provide audible warnings when a security sensor detects a condition.

For example, a controller can activate the buzzer when a door sensor is triggered.

Buzzer in Appliances

Household appliances frequently use buzzers to indicate events such as:

  • Timer completion
  • Button presses
  • Error conditions
  • End of a cycle
  • Warning conditions

Buzzer in Control Panels

Industrial and electronic control panels can use buzzers to alert the operator to abnormal conditions.

The buzzer can operate together with indicator LEDs or displays.

Buzzer Testing

Testing depends on the type of buzzer.

Before testing, identify:

  • Operating voltage
  • Polarity
  • Active or passive operation
  • Current requirement
  • Terminal configuration

Testing an Active Buzzer

If the manufacturer's specifications permit direct DC testing, apply the specified voltage with the correct polarity.

A functioning active buzzer should produce its designed sound.

Do not exceed its rated voltage.

Testing a Passive Buzzer

A passive buzzer normally requires an external alternating or frequency-controlled signal.

Simply applying DC may not produce the intended continuous tone.

A signal generator or microcontroller can be used to provide a suitable test signal.

Testing Buzzer Resistance

A multimeter can sometimes be used to measure the resistance of the buzzer's electrical element.

However, resistance measurements alone cannot prove that a buzzer is working correctly because internal electronic circuits and piezoelectric elements behave differently from simple resistors.

Testing a Buzzer with a Multimeter

For basic troubleshooting:

  1. Disconnect the buzzer from the circuit.
  2. Identify its terminals.
  3. Check the manufacturer's specifications.
  4. Measure resistance where appropriate.
  5. Check for obvious physical damage.
  6. Test using the correct voltage or signal.

Buzzer Troubleshooting

If a buzzer does not produce sound, check:

  1. Supply voltage.
  2. Polarity.
  3. Control signal.
  4. Driver transistor or MOSFET.
  5. Connector and wiring.
  6. Microcontroller output.
  7. Whether the buzzer is active or passive.
  8. Mechanical or physical damage.

Buzzer Does Not Sound

Possible causes include:

  • No power
  • Incorrect polarity
  • Wrong voltage
  • Failed buzzer
  • Incorrect drive frequency
  • Failed transistor driver
  • Broken wire
  • Incorrect software configuration
  • Passive buzzer being driven with DC only

Buzzer Is Too Quiet

Possible causes include:

  • Insufficient drive voltage
  • Incorrect drive frequency
  • Insufficient current
  • Incorrect mounting
  • Blocked acoustic opening
  • Damaged buzzer

Buzzer Sounds Continuously

Possible causes include:

  • Control output permanently active
  • Shorted transistor driver
  • Incorrect firmware logic
  • Incorrect switch wiring
  • Faulty controller

Buzzer Produces Weak or Distorted Sound

Possible causes include:

  • Incorrect frequency
  • Insufficient supply voltage
  • Unstable supply
  • Damaged piezoelectric element
  • Mechanical damage
  • Incorrect driver circuit

Buzzer Replacement

When replacing a buzzer, match the electrical and mechanical specifications.

Check:

  • Operating voltage
  • Current consumption
  • Active or passive type
  • Frequency
  • Sound pressure level
  • Polarity
  • Number of terminals
  • Mounting dimensions
  • Pin spacing
  • Operating temperature

How to Identify a Buzzer

  1. Look for markings on the housing.
  2. Identify the positive terminal if marked.
  3. Count the terminals.
  4. Measure the physical dimensions.
  5. Determine whether it is active or passive.
  6. Check the original equipment documentation.
  7. Search the manufacturer's markings if available.
  8. Compare the electrical specifications.

How to Select a Buzzer

  1. Determine the supply voltage.
  2. Determine the required sound level.
  3. Determine whether an active or passive buzzer is required.
  4. Determine the required frequency or tone.
  5. Determine the available mounting space.
  6. Check current consumption.
  7. Check polarity.
  8. Check operating temperature.
  9. Check environmental requirements.
  10. Verify the manufacturer's specifications.

Buzzer Faults

Symptom Possible Cause
No sound No power, failed buzzer, wrong drive or incorrect polarity
Very quiet Low voltage, insufficient drive or incorrect frequency
Continuous sound Driver permanently active or control fault
Wrong tone Incorrect drive frequency or wrong buzzer type
Intermittent sound Loose connection, unstable supply or damaged buzzer
Distorted sound Incorrect drive conditions or damaged element
Buzzer overheats Excessive voltage, current or incorrect drive

Advantages of Buzzers

  • Simple audible indication
  • Low cost
  • Compact size
  • Low power consumption for many models
  • Easy to control electronically
  • Available in many operating voltages
  • Useful for alarms and user feedback

Limitations of Buzzers

  • Sound quality is limited compared with speakers.
  • Many buzzers have a limited frequency range.
  • Sound output depends on mounting and enclosure design.
  • Some buzzers require a specific drive frequency.
  • Incorrect voltage can damage the device.

Buzzer vs Speaker

Feature Buzzer Speaker
Primary purpose Warning / indication Audio reproduction
Typical complexity Simple More complex
Sound quality Limited Designed for audio reproduction
Typical control ON/OFF or tone signal Audio signal
Common application Alarm Music / voice

Common Buzzer Design Mistakes

  • Applying the wrong voltage
  • Reversing a polarized buzzer
  • Confusing active and passive buzzers
  • Driving a passive buzzer with DC only
  • Connecting a high-current buzzer directly to a microcontroller
  • Ignoring the required drive frequency
  • Ignoring the buzzer's current consumption
  • Choosing the wrong physical dimensions
  • Ignoring acoustic mounting requirements

Key Points

  • Buzzers convert electrical energy into audible sound.
  • Active buzzers normally contain an internal oscillator.
  • Passive buzzers require an external electrical signal.
  • Piezoelectric buzzers use a piezoelectric element to produce vibration.
  • Magnetic buzzers use electromagnetic forces to move a diaphragm.
  • Buzzer voltage, current and polarity must be checked before connection.
  • Passive buzzers can be controlled using frequency or PWM signals.
  • Higher-current buzzers may require a transistor or MOSFET driver.
  • A multimeter can help with basic electrical troubleshooting, but resistance alone cannot fully test every buzzer type.
  • When replacing a buzzer, match voltage, current, type, frequency, sound level and physical dimensions.

Continue Learning About Buzzers

The next pages can cover active buzzers, passive buzzers, piezo buzzers, magnetic buzzers, buzzer circuits, microcontroller control, PWM tone generation, testing, troubleshooting, replacement and selection.