This project demonstrates Embedded System Programming using the LPC2148 ARM7 microcontroller.
It simulates essential car control functionalities — including door operation, gear control, indicators, clutch, brake, accelerator, and speed display — through an embedded hardware setup.
The project uses various input and output peripherals interfaced with the LPC2148 to mimic real-world automobile behavior.
It integrates multiple components like a stepper motor, DC motor, joystick, switches, and a seven-segment display, coordinated through embedded C programming.
- A stepper motor is used to open and close the car door.
- Motor rotation direction determines whether the door opens or closes.
- A joystick acts as a gearbox with the following gears:
- Gear 1
- Gear 2
- Gear 3
- Gear 4
- Reverse
- The current gear is displayed on an LCD screen (or output interface).
- Switches are used to simulate:
- Clutch
- Brake
- Accelerator
- Left Indicator
- Right Indicator
- Corresponding LEDs indicate the status of each control.
- The speed value corresponding to the selected gear and accelerator input is displayed on a seven-segment display.
- This speed value is used to drive a DC motor, simulating the car’s motion proportional to gear and acceleration.
| Component | Function |
|---|---|
| LPC2148 Microcontroller | Central control unit |
| Stepper Motor | Controls car door mechanism |
| DC Motor | Simulates car movement |
| Joystick | Gear selection |
| Switches | Clutch, brake, accelerator, indicators |
| Seven Segment Display | Displays speed |
| LEDs | Indicate gear and turn signals |
- Programming Language: Embedded C
- Microcontroller: LPC2148 (ARM7)
- IDE: Keil µVision
- Compiler: ARM RealView / Keil C Compiler
- Flashing Tool: Flash Magic