Description: This is a line-following robot designed to control its movement at specific junctions. The robot was made to participate in NERC 2023, which had two distinct tracks. Two distinct codes were created for the robot to navigate these tracks, with delays used to fill in gaps between the black lines.
Motor Driver pins:
IR Sensors:
Align the sensors so that only the middle sensor is on the black line. The right and left sensors should be just beyond the black line. The right and left-most sensors must be positioned farther so they can catch the black line if the robot deviates during a gap.
The robot is designed to handle two types of tracks: one with only left turns and another with only right turns. When the IR sensor for the wall detects a wall, the robot takes a quarter-circle turn and returns to the black line.
Upload both codes (right turning and left turning codes) to the Arduino.