ARM LPC2129 Mini Development Board – Switches Interfacing

ARM LPC2129 Mini Development Board has 3 Switches (SW1,SW2 & SW3) connected to port pins P0.14, P0.15 & P0.16 via jumpers J4, J5 & J6 respectively. On shorting these jumpers, the switches can be used as pull_up keys and if the jumpers are left open, then the port pins can be used independently.

Schematic:

Sample code to test the switches is given below. In the code, switch press is detected by polling and upon pressing a switch, its name(SW1/ SW2 /SW3) gets displayed on the LCD. In circuit pull-ups has been provided to all three switches.

Sample Code

Topics related to ARM LPC2129 Mini Development Board

  1. ARM LPC2129 Mini Development Board – Overview
  2. ARM LPC2129 Mini Development Board – LED Interfacing
  3. ARM LPC2129 Mini Development Board – LCD Interfacing
  4. ARM LPC2129 Mini Development Board – UART0 Interfacing
  5. ARM LPC2129 Mini Development Board – UART1 Interfacing
  6. ARM LPC2129 Mini Development Board – Switches Interfacing
  7. ARM LPC2129 Mini Development Board – BUZZER Interfacing
  8. ARM LPC2129 Mini Development Board – POT Interfacing (ADC)
  9. ARM LPC2129 Mini Development Board – Temperature Sensor Interfacing(ADC)
  10. ARM LPC2129 Mini Development Board – Interfacing Servo motor
  11. ARM LPC2129 Mini Development Board – CAN Interfacing

Resources

How to buy?

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

Leave a Reply