Line Follower Competition Guide
Complete Engineering Guide: PID Algorithms, Sensor Arrays, High-Speed N20 Motors & Calibration
What is Line Follower Competition?
A Line Follower is an autonomous mobile robot that detects and tracks a designated path—typically a high-contrast black line on a white surface or vice versa—using optical infrared reflectance sensors and real-time closed-loop PID control.
Typical Competition Track & Rules
Arena & Track Layout
Tracks consist of white foam-board or matte PVC surfaces with 25–30 mm wide black tracks (or inverted white lines on black). Tracks feature 90° corners, crossover intersections, S-curves, and discontinuous dashed lines.
Match & Round Structure
Robots execute 2 to 3 autonomous runs. The robot must start behind the start line, follow the course automatically, and halt at the finish stop-marker.
Scoring & Penalties
Scoring is determined by course completion time plus penalties for leaving the line, taking false turns, or manual touch penalties.
High-Speed Autonomous Architecture
Ultra-compact (150 × 150 mm) lightweight PCB chassis (integrated motherboard) or carbon fiber plate under 150–250 grams total weight.
2 × high-RPM micro-metal N20 gear motors (600 to 1000 RPM) paired with precision aluminum rims and high-grip silicone or polyurethane tires.
Compact 2S (7.4V) or 3S (11.1V) LiPo battery (300–450 mAh) delivering high power-to-weight ratio.
High-speed 32-bit microcontroller (STM32, ESP32, or dedicated C-Board 5.0) executing a 1000Hz PID feedback loop fed by an analog 7-array to 8-array optical IR sensor.
Typical Rulebook Engineering Bounds (Example Tolerances)
Sensor Calibration & PID Tuning Strategy
- 1Calibrate optical thresholds: implement automatic sensor calibration routine during start-up to sample minimum white and maximum black reflectance values.
- 2Tune the proportional gain (Kp): increase Kp until the bot tracks straight lines and responds to gentle turns without sluggishness.
- 3Introduce derivative gain (Kd): increase Kd to dampen sharp oscillations and prevent the robot from wagging off the line on high-speed straights.
- 4Add minimal integral gain (Ki): apply slight Ki only if the bot demonstrates persistent steady-state offset error through long sweeping curves.
Pit Spares & Tools Checklist
- Pre-programmed backup microcontrollers with varying PID gain profiles
- Spare optical IR sensor modules
- Tire cleaning tape or isopropyl wipes to remove dust from silicone tires
- Backup N20 motors and motor mounts
- LiPo voltage checker and portable balance charger
Common Tournament Pitfalls & How to Avoid Them
Relevant Competition Kits & Components

TTRC LF 5.0
TTRC LF 5.0 is a high-speed line follower robot designed for robotics training, STEM education and line follower competition use.
- 600 RPM DG N20 High-Speed Motors
- 7-Array Line Sensor

THE BOXING BOT
The Boxing Bots is a hands-on robotics kit that lets you build, program, and control real robots while learning through practical experimentation and competitive gameplay.
- Easy modular assembly
- Wireless control via controller or mobile
Recommended Training & Courses
Custom Engineering & Chassis Services
Custom PCB Design & Assembly
Custom motor driver shields, power distribution boards, and microcontroller carrier circuits.
Precision 3D Printing
Custom lightweight brackets, sensor mounts, and prototype casings in PLA, PETG, and TPU.
Robotics & Autonomous Systems
Bespoke kinematics design, sensor fusion integration, and tournament tuning.
Frequently Asked Questions
Preparing for an Upcoming Line Follower Competition?
Our mechatronics engineering team at Coimbatore provides verified hardware kits, chassis fabrication, motor selection advice, and pit spare packages.