A line following car built using an Uno Arduino, motor driver, and infrared sensor. The car is programmed to follow a black line on a white surface and adjust its movement using the sensor input.
The line-following car project works by using infrared sensors to detect the black line on a white surface. The sensors are placed underneath the car and are used to determine the position of the line relative to the car. The car is equipped with four motors, which are controlled by an Arduino board using the AFMotor library. The car is programmed to move forward when both sensors detect the line, turn left when only the left sensor detects the line, turn right when only the right sensor detects the line, and stop when neither sensor detects the line.
- Harshit Shukla
- Samyak Jain
- Vishal Sharma
- Sudhansu Khuntia
- Install the AFMotor library. Go to Sketch > Include Library > Add .ZIP Library > Select AF Motor ZIP file.
- Connect the motor driver and infrared sensor to the Uno board.
- Upload the code to the Uno board using the Arduino IDE.
- Power the circuit using a 9V battery.
- Place the line following car on a white surface with a black line.
- The car will start moving along the line.
- To control the line following car, upload the code to the Uno board using the Arduino IDE.
- Power the circuit using a 9V battery.
- Place the line following car on a white surface with a black line.
- The car will start moving along the line.
Contributions are always welcome! If you have any ideas or suggestions, feel free to open an issue or submit a pull request.
Distributed under the MIT License. See LICENSE for more information.