ARM LPC2138/48 Mini Development Board – BUZZER Interfacing

LPC 2138/48 mini development board has an on-board buzzer connected to port pin P0.21 via jumper J10. To use the buzzer, it is necessary to short the jumper. If P0.21 is to be used for any other purpose, then the jumper should be left open.

Sample code to test the on-board buzzer using switch is given below. Here, pressing the switch SW1 generates an interrupt and toggles the status of buzzer.

Schematic

Note: To use buzzer, don’t forget to short jumper J10. Leaving it open frees P0.21 and can be used for any other desired purpose.

Sample Code


Topics related to ARM LPC2138/48 Mini Development Board

  1. ARM LPC2138/48 Mini Development Board – Overview
  2. ARM LPC2138/48 Mini Development Board – LED Interfacing
  3. ARM LPC2138/48 Mini Development Board – LCD Interfacing
  4. ARM LPC2138/48 Mini Development Board – UART0 Interfacing
  5. ARM LPC2138/48 Mini Development Board – UART1 Interfacing
  6. ARM LPC2138/48 Mini Development Board – Switches Interfacing
  7. ARM LPC2138/48 Mini Development Board – BUZZER Interfacing
  8. ARM LPC2138/48 Mini Development Board – POT Interfacing (ADC)
  9. ARM LPC2138/48 Mini Development Board – Temperature Sensor Interfacing(ADC)
  10. ARM LPC2138/48 Mini Development Board – Interfacing Servo motor
  11. ARM LPC2138/48 Mini Development Board – Internal Real Time Clock (RTC)
  12. ARM LPC2148 Mini Development Board – USB Interfacing (Human Interface Device)

Resources

How to buy?

Support

Please share your ideas with us, visit our forum for discussion

Leave a Reply to ARM LPC2138/48 Mini Development Board – Switches Interfacing Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">