Dan Michaels email (remove spam text)
Kajcsa Laszlo wrote:
> Anybody knows how to do a circuit witch beeping in a piezo buzzer(a
>little one; like in the watches and games)?
You can simply drive the buzzer directly off of a PIC pin, without
need for other circuitry. However, you may want a 100 to 1000 ohm
resistor in series with the piezo to control volume and prevent
Simply send a square wave out the PIC pin. Piezos are supposed "tuned"
for specific frequencies, but will actually give usable output from
100 to about 5000 hz.
If the square wave doesn't sound good enough to you, you can
add some RC-filtering or a more complicated circuit to round
the corners of the pulses.
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.
See also: www.piclist.com/techref/index.htm?key=piezo+buzzer
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the