This is a car-like robot that is designed to follow a a line or path using a reflectance sensor array, keeping the line under the middle sensors. The goal is to move on the line to complete a circuit as fast as possible. T
-Team of 2 at "Introduction to Robotics" course
-Received a kit, assembled it and programmed it
-Had to finish the circuit in less than 20 seconds.
The array of reflectance sensors is placed on the bottom of the robot and is used to detect the contrast between the line and the surrounding surface. The sensors send signals to the control system, which uses this information to calculate the position of the robot on the line.
The robot is equipped with 2 DC motors, one for each wheel, which are used to control the movement of the robot. The control system uses the information from the sensors to determine the direction and speed of the motors, in order to keep the robot moving along the line.
The robot can adjust its speed and direction by using PID algorithm to minimize the error between the desired setpoint and the current position of the robot on the line. By combining the data from the sensors with the power of the DC motors, the robot is able to stay on the line and navigate through a course.
PID is a control loop feedback mechanism that calculates an error value as the difference between a desired setpoint (e.g. the center of a line) and the current process variable (e.g. the position of the robot on the line). The PID algorithm then uses this error value to calculate and adjust the control variable (e.g. the robot's speed and direction) in order to minimize the error and bring the process variable closer to the setpoint. The "P" in PID stands for proportional, which means that the control variable is adjusted proportionally to the error. The "I" stands for integral, which accounts for accumulated error over time. The "D" stands for derivative, which accounts for the rate of change of the error. These three components work together to provide precise control and stability in the system
The assembly guide for this project can be found here and there is a link to a video where the robot completes the challenge.
- Arduino Uno
- Zip-ties
- Power source (can be of different shape). In our case, a LiPo battery
- Wheels (2)
- Wires for the line sensor (female - male)
- QTR-8A reflectance sensor, along with screws
- Ball caster
- Extra wires
- Chassis
- Breadboard - medium (400pts)
- L293D motor driver
- DC motors (2)

