- Bucșă (also the team name)
- Stefania Cristea
Create a self-calibrating line follower that can follow a black line path.
Met Bucșă, our line follower. What code Bucșă follows:
a) a calibration system that move 6 of QTR-8A sensors left-right throuh the black line. Most important to move all the sensor to black/white states. The calibration is made with calibrate function from QTR library.
b) a path-following algorithm that can keep the robot on the black line. this is a proportional-derivative (PD) controller, using a combination of proportional and derivative control. The proportional gain (kp) controls the robot's ability to steer towards the line, the derivative gain (kd) helps to stabilize the robot's movement. The kp and kd values of 15 and 30 respectively, indicate that the robot is highly responsive to line detection and able to minimize the error as much as possible. In this specifici scenario, we use an empirical approach, choosing the kp and kd so the line follower can follow a straight line and detect the curves in the course.
The objective of the project was to assemble the kit we recieve, and to program it to follow a route in less then 20s. In the link bellow you can see Bucșă following the course and self-calibrating. The time Bucșă got was 00:19:351 (best one out of three)
Watch the line follower:racing_car:
- Arduino Uno
- Zip-ties
- A LiPo battery
- Wheels (2)
- Wires for the line sensor
- QTR-8A reflectance sensor, along with screws
- Ball caster
- Extra wires
- Chassis
- Breadboard
- L293D motor driver
- DC motors (2)