Powering up000%
Skip to content
← All projects
IoT & Robotics

Line Follower v2

A PID-tuned line follower that laps our track in 9.8 seconds.

The problem

Our first robot oscillated on curves and lost the line at speed.

What we built

Moved to an 8-sensor IR array, wrote a PID loop with feed-forward on curves and cut 140 g from the chassis.

Hardware

ATmega328P, TB6612FNG motor driver, N20 600 RPM motors, QTR-8RC sensor array, 2S LiPo.

Software

Arduino C++, PID tuned with a serial plotter and logged runs.

Outcomes

Lap time went from 16.4 s to 9.8 s. Placed 2nd at the zonal robotics meet.