How aiahmedai/line-follower-robot works
This repository describes a line-following, obstacle-avoiding robot and includes Arduino firmware plus MATLAB and Proteus simulation artifacts. The documented runtime workflow is sensors detecting the line and obstacles, the Arduino processing those readings into movement decisions, and the L298N driving the motors. The README supports these firmware relationships; source excerpts were unavailable, so relationships among the simulation files and Proteus project are not asserted.
Main entry points: Line_Follower_And_Obstacle_Avoiding_Robot_car.ino Arduino control
Components 10
Sensing
- IR sensors
src/Line_Follower_And_Obstacle_Avoiding_Robot_car.ino - Ultrasonic sensor and servo
src/Line_Follower_And_Obstacle_Avoiding_Robot_car.ino
Robot control
- Arduino control
src/Line_Follower_And_Obstacle_Avoiding_Robot_car.ino
Movement
- L298N driver
src/Line_Follower_And_Obstacle_Avoiding_Robot_car.ino - Four DC motors
src/Line_Follower_And_Obstacle_Avoiding_Robot_car.ino
Simulation artifacts
- Robot controller model
simmulation/RobotController.m - Simulation setup
simmulation/create_RobotSimulation.m - Simulation runner
simmulation/run_robot_sim.m - Proteus project
Proteus_Simmulation/Track Reapers Simulation.pdsprj
Other components
- Line and obstacles
Connections 6
- Line and obstacles → IR sensors: provides line input
README.md - Line and obstacles → Ultrasonic sensor and servo: presents obstacles
README.md - IR sensors → Arduino control: sends readings
README.md - Ultrasonic sensor and servo → Arduino control: triggers avoidance
README.md - Arduino control → L298N driver: sets motor direction
README.md - L298N driver → Four DC motors: drives motors
README.md