This project involves building an autonomous vehicle that can follow a track using a line scan camera and a BLDC motor. The vehicle uses real-time image data to detect the track’s boundaries and calculates the deviation from the center of the track. Based on this information, the car adjusts its steering to stay on the track.
...
...
@@ -41,7 +41,7 @@ All development is done using **MCUXpresso IDE**, which ensures efficient coding
## 🛠️ **Main Functionalities**
1.**📸 Image Capture**: The ADC reads pixel intensity from the camera in real-time.
2.**🖼️ Edge Detection**: Tracks boundaries are detected by analyzing intensity differences between the track and surroundings.
2.**🏁 Edge Detection**: Tracks boundaries are detected by analyzing intensity differences between the track and surroundings.
3.**📊 Deviation Calculation**: Constantly calculates how far the car is from the center of the track, ensuring precision.
4.**🚗 Motor & Steering Control**: Adjusts speed and steering angle based on deviation, ensuring smooth navigation.
5.**⚡ Interrupt Handling**: ADC and FTM interrupts allow for immediate reaction to environmental changes, enabling the car to respond to curves and obstacles instantly.
...
...
@@ -60,7 +60,7 @@ All development is done using **MCUXpresso IDE**, which ensures efficient coding
**Problem**: The high LED intensity caused the MCU to reset during operation.
**Solution**: Lowered the LED intensity by adjusting bit pattern values, stabilizing the system.
## 🎉 **Results: Mission Accomplished**
## 🎉 **Results**
- ✅ The car successfully follows the track autonomously, demonstrating effective edge detection and steering.
- ✅ **Deviation-based steering** ensures smooth and precise lane corrections.
...
...
@@ -71,3 +71,6 @@ All development is done using **MCUXpresso IDE**, which ensures efficient coding
👤 **Adham Beshr** – Embedded Systems Student
👤 **Ismail Shah** – IOT Student
🔎 **For an in-depth breakdown of each component, visit the**[Wiki](../../-/wikis/home).