gourav-arh

🔥🚗 LINE_FOLLOWER_CAR - Fast and Accurate Line Following

🎯 Overview

The LINE_FOLLOWER_CAR is a high-speed vision-based car that follows lines on the ground. It uses a Raspberry Pi and a camera to recognize and track paths. The system employs OpenCV for vision processing, PID control for smooth driving, and MPU6050 for gyro stability. Experience real-time control and sharp turns with this innovative project.

📥 Download LINE_FOLLOWER_CAR

Download Now

🚀 Getting Started

To get started with the LINE_FOLLOWER_CAR, follow these steps:

  1. Check Your Hardware:
    • Raspberry Pi (any model with GPIO support)
    • Camera Module (compatible with Raspberry Pi)
    • MPU6050 Gyroscope
    • Motor driver (like L298N)
    • Motors and wheels
    • Chassis for the car
    • Power supply (batteries)
  2. Prepare Your Raspberry Pi:
    • Install the latest version of Raspberry Pi OS on your device.
    • Connect your camera and MPU6050 as per the specifications.
  3. Download and Install Required Software:
    • Ensure you have Python 3 installed.
    • You will need additional libraries such as OpenCV and NumPy. You can install these using the terminal with these commands:
      sudo apt-get update
      sudo apt-get install python3-opencv
      sudo apt-get install python3-numpy
      

💾 Download & Install

To download the LINE_FOLLOWER_CAR, visit this page: Download LINE_FOLLOWER_CAR Releases.

On the releases page, you will find the latest version available for download. Click on the version you want and follow the on-screen instructions to download the files.

⚙️ How to Set Up the Car

  1. Assemble the Hardware:
    • Attach the camera to the Raspberry Pi.
    • Connect the MPU6050 to the Raspberry Pi using I2C.
    • Wire the motors and motor driver according to the specifications.
  2. Clone the Repository:
    • Open a terminal on your Raspberry Pi.
    • Clone the repository using this command:
      git clone https://github.com/gourav-arh/LINE_FOLLOWER_CAR.git
      
  3. Navigate to the Project Directory:
    • Change to the directory of the project:
      cd LINE_FOLLOWER_CAR
      
  4. Run the Application:
    • You can start the line follower program by executing:
      python3 line_follower.py
      
  5. Test the Setup:
    • Place your car on a track marked with a clear line.
    • Start the program and observe how the car follows the line.

📊 Features

🌍 Supported Platforms

🛠️ Troubleshooting

If you encounter issues while running the application, consider checking the following:

  1. Camera Not Detected:
    • Ensure the camera is properly connected.
    • Verify that the camera works with raspistill.
  2. PID Tuning:
    • Adjust the PID settings in the code if the car is wobbling or not following the line correctly.
  3. Power Supply:
    • Ensure sufficient power supply for the motors and Raspberry Pi.

📌 Additional Resources

📞 Support

For further assistance, raise an issue in the GitHub repository, and we will get back to you as soon as possible. Your feedback is valuable for improving future versions of the LINE_FOLLOWER_CAR.

Thank you for trying out the LINE_FOLLOWER_CAR! Happy tracking!