🛠️ MAKER GUIDEJul 19, 2026•⏱️ 3 min read•🇳🇵 Tested in Nepal
High-Speed Line Follower Robot for College Robotics Competitions (LOCUS/Techfest)
Master PID control, 5-Channel IR sensor arrays, and high-RPM N20 micro gearmotors to build a winning Line Follower Robot (LFR) with Ghumti Pasal parts.
🛠️ BILL OF MATERIALS (BOM)
Required Hardware & Component Checklist
Curated components verified for this project. Check the items you need, adjust quantities, and add straight to cart:
Estimated Total (7/7 items):
NPR 2,890
✓ Cash on Delivery across Nepal
All parts selected
NPR 750
NPR 450
NPR 350
NPR 600
(NPR 300 ea)
NPR 240
(NPR 120 ea)
NPR 100
NPR 400
(NPR 200 ea)
High-Speed Line Follower Robot for College Robotics Competitions
Educational Notes
This project is designed to be accessible to students from Class 4 to Masters level, with complexity scalable to match different age groups and skill levels.
Learning Objectives:
- Understand basic electronics and circuitry principles
- Learn sensor applications and data collection techniques
- Develop problem-solving skills through hands-on building and troubleshooting
- Apply programming concepts to control hardware and process data
- Connect projects to real-world Nepalese contexts and challenges
Adaptability:
- For younger students (Class 4-8): Focus on assembling pre-built circuits, observing results, and understanding basic concepts
- For intermediate students (Class 9-12): Modify code, experiment with parameters, and explore underlying principles
- For advanced students (Undergraduate/Masters): Optimize designs, add features, conduct research extensions, and analyze performance
Safety Note: Always supervise younger students when working with electricity, heat, or moving parts.
Build a fast line-tracking robot with 5 Channel IR Tracking Sensors and TB6612FNG Dual Motor Driver.
Hardware Bill of Materials:
- Controller: Arduino Nano V3.0 Solderless
- Line Sensor: 5 Channel IR Infrared Detector Tracking Line Obstacle Avoidance Sensor Module
- Motor Driver: Dual Motor Driver 1A TB6612FNG for Microcontroller
- Motors & Wheels: 2x GA12-N20 geared motor 12V + 2x 43193mm D-hole Rubber Wheel
- Power: 18650 battery box 2S 7.4V + 2x 18650 3.7V 3000mAh Battery
Circuit Pinout & Wiring Connections:
| Module / Sensor Pin | Arduino Nano Pin | Function / Description |
|---|---|---|
| 5-Ch IR Array Pins (1 to 5) | Pin A0, A1, A2, A3, A4 | Digital Infrared Black/White Track Bits |
| TB6612FNG PWMA / PWMB | Pin D5 / Pin D6 (PWM) | Left & Right Motor Speed Controls |
| TB6612FNG AIN1 / AIN2 | Pin D7 / Pin D8 | Left Motor Direction |
| TB6612FNG BIN1 / BIN2 | Pin D9 / Pin D10 | Right Motor Direction |
| TB6612FNG STBY | Pin D11 (HIGH) | Driver Standby Enable |
| TB6612FNG VM / GND | 7.4V (2S Battery) / GND | Motor Power Rail |
Firmware Source Code (Arduino Uno C++)
#include <Wire.h>
#include <EEPROM.h>
// L298N Motor Driver Pin Connections
const int ENA = 5;
const int IN1 = 18;
const int IN2 = 19;
const int IN3 = 21;
const int IN4 = 22;
const int ENB = 23;
void setup() {
Serial.begin(9600);
pinMode(ENA, OUTPUT);
pinMode(ENB, OUTPUT);
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
Serial.println("Robotic Chassis & Motor Driver Controller Active.");
}
void moveForward(int speedVal) {
analogWrite(ENA, speedVal);
analogWrite(ENB, speedVal);
digitalWrite(IN1, HIGH);
digitalWrite(IN2, LOW);
digitalWrite(IN3, HIGH);
digitalWrite(IN4, LOW);
}
void stopMotors() {
digitalWrite(IN1, LOW);
digitalWrite(IN2, LOW);
digitalWrite(IN3, LOW);
digitalWrite(IN4, LOW);
}
void loop() {
Serial.println("Executing Autonomous Drive Routine Forward...");
moveForward(200);
delay(3000);
Serial.println("Stopping Motors...");
stopMotors();
delay(2000);
}
← Previous Guide
DIY RF Link & Control Systems for RC Fishing Boats and Drones in Nepal
Next Guide →
Smart Fish Tank Automatic Pellet Feeder & Water Temperature Controller
