@@ -66,6 +66,44 @@ All development is done using **MCUXpresso IDE**, which ensures efficient coding
- ✅ **Deviation-based steering** ensures smooth and precise lane corrections.
- ✅ The **BLDC motor** operates efficiently in sensorless mode, saving power and reducing complexity.
# 🔧 Installation Instructions
Follow the steps below to set up the development environment and test the autonomous vehicle project:
## 1. **Install MCUXpresso IDE**
- Download and install the **MCUXpresso IDE** from the official NXP website.
- Follow the installation instructions provided on the website for your operating system (Windows, macOS, or Linux).
## 2. **Open the Project in MCUXpresso IDE**
- Launch the **MCUXpresso IDE** after installation.
- Go to the **File** menu and select **Open Projects from File System**.
- In the dialog that appears, click **Browse** and select the **ZIP file** containing the project, which is attached above.
- Unzip the project and open it in the MCUXpresso IDE.
## 3. **Connect the NXP K66F Microcontroller**
- Use a **USB cable** to connect your **NXP K66F microcontroller** to your computer.
- Ensure that the microcontroller is properly powered and recognized by the IDE.
## 4. **Debug the Project**
- In MCUXpresso IDE, click on the **Debug** button (represented by a bug icon) on the top toolbar.
- Select **All Sessions** to start debugging.
- The IDE will automatically load the project onto the NXP K66F microcontroller.
## 5. **Test the Car**
- After successfully loading the project onto the microcontroller, test the autonomous vehicle.
- Ensure that the vehicle follows the track as expected, making turns and adjusting based on the calculated deviation.
- If available, observe the vehicle’s behavior and make any necessary adjustments to the system.
---
By following these steps, you should be able to successfully set up the development environment and test the autonomous vehicle with the NXP K66F microcontroller.