Manuel,
All you need is a general purpose NPN transistor, and a 10k resistor.
10k from pic pin to the base, emitter to vss, collector to piezo, other side of piezo to +9V.
Setting the pin HIGH, will turn on the buzzer.
HTH,
Manuel,
All you need is a general purpose NPN transistor, and a 10k resistor.
10k from pic pin to the base, emitter to vss, collector to piezo, other side of piezo to +9V.
Setting the pin HIGH, will turn on the buzzer.
HTH,
DT
Bookmarks