This embedded systems project uses an LPC21xx microcontroller to detect taps and light different LEDs based on the number of taps within a 1-second window.
- Tap detection within a time window
- LED color mapping:
- 1 Tap β Red
- 2 Taps β Green
- 3 Taps β Yellow
- 4 Taps β Blue
- 5 Taps β Purple
- LCD display of current tap count and color
- Efficient refresh using last count tracking
- LPC2129 Microcontroller
- 16x2 LCD (4-bit mode)
- 5 LEDs (Red, Green, Yellow, Blue, Purple)
- Tap Sensor (Active-High)
- Breadboard and Jumper Wires
- Keil uVision or GCC ARM toolchain
- proteus 8 professional
- delay_headers.h, LCD_4Bit_header.h
- Connect tap sensor to P0.7
- Connect LEDs to P0.8βP0.12 with resistors
- Connect LCD in 4-bit mode
- Flash
main.c
to the LPC21xx - Observe LCD and LED behavior upon tapping
π§βπ» Built by Shyam Ganesh for Bilimbe Embedded Interview Task