Fork me on GitHub

Project Notes

#455 Piezo Transducers and Buzzers

Exploring techniques for driving piezo transducers and buzzer units for audio output.

Build

Here’s a quick demo..

clip

Notes

Piezoelectric sensors for generating sound are commonly found in two form factors:

  • indicator (aka buzzer): complete piezoelectric unit including circuit to produce sound
    • just requires an applied voltage to produce sound - fixed frequency by default
    • may be combined with external circuitry to mix/alter the sound and frequency
  • transducer: a basic piezoelectric diaphragm/disk
    • sometimes called a “passive” buzzer element
    • can be used as an input transducer as well as for sound generation
    • does not self-oscillate - requires external circuit to produce sound

PiezoBuzzers

Driving Piezoelectric Indicators

Piezoelectric indicators (aka buzzers) are simple voltage-controlled devices. Typically used as alarms or action feedback indicators. They come in a range of forms - from the very cheap suited to breadboard experiments through to quality devices suited to security alarm installations.

Driving a piezoelectric indicator is simple - it just needs a voltage applied.

Common PCB Mount

Available for pennies and ideal for PCB or breadboard prototyping (however I have come across devices with leads that are far too thick to use on a breadboard without damaging it). It is usually OK to even drive a 3-5V component directly from a 20mA-limit GPIO pin

buzzer_pcb1

High Volume Alarms

Beefier devices are more suited to serious alarm purposes, for example this 95dB SPL Continuous Sound Beeper

  • Buzzer Type: Piezoelectric
  • Sound Pressure Level 95 dB
  • Rate Voltage: 12V DC
  • Operating Voltage: 3 - 24V
  • Max Current Rating 10mA
  • Frequency 3900±500Hz
  • Drive Method: Drive Circuit Built in Mounting Holes
  • Sound: “Di” Continuous

buzzer_alarm1

buzzer_alarm1_build

Alarms with Effects

Sometimes the piezo indicator circuit has a built-in effect, like for example this device which emits a beep every half a second or so.

  • Sound Pressure Level 95 dB
  • Rate Voltage: 12V DC
  • Operating Voltage: 3 - 24V

buzzer_alarm2

buzzer_alarm2_build

Driving Piezoelectric Transducers

Piezoelectric Transducers require an external oscillator to produce sound output.

A common circuit for turning a Piezoelectric disk into a buzzer uses a low-side switch. Plain piezo disks require a bypass resistor to dump the charge (else no sound will be produced). Additional resistance can be added to limit current and reduce volume.

In the following test circuit, I have a 555 astable oscillator with variable resistor to generate a pulse from about 152 Hz to about 10kHz

The 555 output switches a low-side 2N7000 n-channel FET.

I’ve selected a 10kΩ bypass resistor. Lower values start to attenuate the output.

A 2.2kΩ series resistor limits current without much impact on volume.

Breadboard

Schematic

Build

Credits and References

About LEAP#455 OscillatorsCrystalAudio

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader