10
EasyARM v6
MikroElektronika
page
5. Piezo buzzer
Due to a built-in piezo buzzer, the
EasyARM v6
development system is capable of emitting audio signals. In order
to enable the piezo buzzer to operate properly it is necessary to generate a voltage signal of specific frequency.
Remember, when writing the code for voltage signal generation, that the piezo buzzer’s resonant frequency is 3.8kHz.
Other frequencies in the range between 20Hz and 20kHz can also be used, but the best performance is provided with
frequencies ranging between 2kHz and 4kHz. To establish connection between the piezo buzzer and the microcontroller,
it is necessary to set switch 6 on the DIP switch SW1 to the ON position.
Figure 5-2
: Piezo buzzer connection schematic
Figure 5-1
: Piezo buzzer