You are currently viewing How to Interface Buzzer with ARM9 Stick Board

How to Interface Buzzer with ARM9 Stick Board

Spread the love

The is specifically designed to help students to master the required skills in the area of embedded systems. The board is designed in such way that all the possible features of the microcontroller will be easily used by the students. The board supports Keil Β΅Vision 4 compilers with Keil ULink2.

NXP Microcontroller,ARM9-LPC2929 stick board is proposed to smooth the progress of developing and debugging of various designs encompassing of speed 32-bit Microcontrollers. It integrates CAN, LIN, UART, ADC, PWM, I2C, SPI, Timer, Interrupt etc., to create a stand-alone versatile test platform.

ARM9 Stick Board having more no of I/O line for user access able. It consists of 64 GPIO pins, CAN0/1, LIN1, I2C0/1, UART0/1, SPI0/1, USB, ADC0/1/2, PWM, Timer and more features. Users can easily access the controller and develop more application by using


Buzzer is an electrical device, which is similar to a bell that makes a buzzing noise and is used for signaling. Typical uses of buzzers and beepers include alarm devices, timers and confirmation of user input such as a mouse click or keystroke.

Interfacing Buzzer

A piezoelectric element may be driven by an oscillating electronic circuit or other audio signal source, driven with a piezoelectric audio amplifier. Sounds commonly used to indicate that a button has been pressed are a click, a ring or a beep. When the input port pin from microcontroller is changed, the sound wave is changed in Buzzer.

Circuit Diagram for Interfacing Buzzer with ARM9 Stick Board


C Program for generate sound in Buzzer using ARM9 Stick Board

Title : Program to generate sound using Buzzer
#define Buzzer 0x40
void DelayMs(unsigned int);
int main()
GPIO3_DR = 0x40; //All the GPIO pins configured as output
GPIO3_OR |= Buzzer; //Sends High on GPIO
GPIO3_OR &= ~ Buzzer; //Sends Low on GPIO
void DelayMs(unsigned int Ms) //Delay Definition
int delay_cnst;
for(delay_cnst = 0;delay_cnst<1200;delay_cnst++);

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.