Subject: Total newbie question:
From: "Blarg"
[email protected]
Date: 5/26/2004 1:25 AM Central Standard Time
Message-id: <
[email protected]>
How do I get a piezo-electric buzzer to make an audible sound? I've heard
that I need an IC circuit to
'drive' the buzzer, but I can't seem to find out what an IC driver circuit
consists of.
I'm trying to make a super compact circuit that will make a sound at low
(1.5-3.5v DC) voltage.
Hi, Blarg. The smallest piezo beepers don't have drivers built in. They're
just piezoelectric disks, to which you have to apply an AC voltage at the
appropriate frequency to get them to beep. The piezo elements will output a
voltage if they're flexed, and will flex if you apply a voltage. Since sound
requires a "back-and-forth" flexing, you need an AC voltage.
I'd suggest getting a beeper with the drivers built-in. That'll probably be
the smallest solution, even though their package will be somewhat larger.
However, if you've got a few gates of a 74HC14 to spare, this will work down to
3VDC or so (view in fixed font or M$ Notepad):
Piezo Element Driver
___
.--|___|--.
Control | 33K |
Signal | | .-.
___ | |\ | || || /|
o-|<-|___|-o -| >O---o-------|| ||-----O< |--.
3.3K | |/ | || || \| |
1N914 --- | || || |
---.1uF | '-' |
| | |
| '-----------------------'
===
GND
The first schmitt triggered inverter acts like an oscillator, and the second
inverts that output to drive the other side of the piezo element. It won't
work very well for larger elements, because they have larger capacitance, which
strains the HC14 output FETs and leads to reliability problems. You're driving
a capacitance here. It will work fairly well, however, for *small* piezo
elements. Note that when one side of the element has 3V across it, the other
side has 0V. When the oscillator changes states, the voltages are reversed.
Voilla, AC. The control signal input swamps out the oscillator feedback when
it's low, and lets it oscillate when it's high. If you don't need control,
just omit the 3.3K resistor and the diode, and it will beep when you power it
up.
You might have to tweak the R value a little to get the desired frequency, but
this will get you started, anyway.
Good luck
Chris