The Challenge:
Build a robot that follows a black line on a white background using a color sensor and DC motors.
What I did and how I did it:
Designed the chassis, motor mounts, and sensor holder. Assembled and wired the robot with motors, color sensor, and LEDs. Calibrated the color sensor for black/white thresholds. Tested motors and sensor signals. Implemented and tuned a PID controller for line following. Validated robot performance on the track. Integrated Wi-Fi controls for stop, pause, and calibration. Performed final tests and documented results.
Learnings and Improvements:
I worked on the design and assembly of the robot and the coding. I learned how to apply a PID controller in the context of programming and robotics, not only by using it doing math.
For the future, I would start working with the color sensor earlier and take more data points. I would also use 2 color sensors instead of only 1.