Line-following robot
An ESP32 robot and a lot of laps around a practice track. We ended up placing third at IARC.
- Result
- Third place at IARC · ₹5,000 team prize
- Role
- Team lead
- Built with
- ESP32, IR sensor array, PID control
What I did
I took this one from the first plan all the way to tuning it on the track. I did the build and the coding, and my teammates helped with the CAD while I worked on the tyre design.

The cricket bat grip tyres
My favourite part was the tyres. We wanted to save a bit of money, so we 3D-printed them ourselves. For the grippy outer layer, we used a cricket bat grip.
A closer look at the robot
Pick a part to see what went into it.
ESP32
This is where the code ran. The ESP32 read the IR sensors and adjusted the wheel speeds to steer back towards the line.
The cricket bat grip tyres
I designed the tyres, we 3D-printed them, and a cricket bat grip gave them a grippy outer layer. It was a cheaper way to get the traction we wanted.
IR sensor array
The array sat across the front of the robot and gave the controller a read on where the line was. The competition surface changed those readings more than I’d expected.
What the track taught me
The competition surface scattered the infrared light differently from our practice tracks, and the sensor readings became unreliable. It made me pay more attention to what the sensor actually sees when the surface changes, and how much that matters to the controller.
See the project repository