Unformatted text preview: -To operate the buzzer you need to solder the relevant buzzer circuit components (1 buzzer, two 1k resistors and a NPN transistor, see schematic). -Next, you should review the buzzer datasheet to learn how to properly operate this piezoelectric element. -Buzzer requires pulsed signals. If you apply simple bias the transistor and turn on the buzzer, it does not work and may actually damage the buzzer. Rather, you need to apply a time varying signal to the gate of NPN transistor. 3) Clock alarm setting. Once you understand how to use a buzzer, then you can make a program: real time desk clock with alarm function. The time at which the alarm will sound is something you can set in code before you download your program to the microcontroller....
View Full Document
- Fall '11
- Microprocessor, real time, Buzzer, buzzer datasheet, relevant buzzer circuit