Hands on Trash Collector Robot
Organized by:
Session - II
Introduction to Line Following Robot
What is a Line Following Robot?
An autonomous robot which
detects and follows a predefined
line drawn on the ground
Line Following Robot
Building Steps
1. SOLDERING MOTORS WITH WIRES
Building Steps
2. ATTACHING THE MOTORS AND WHEELS
Building Steps
3. FIXING THE CASTER WHEEL AND MOTORS ON CHASIS
Building Steps
4. MOUNTING IR SENSORS ON CHASIS
Building Steps
5. PLACING ARDUINO UNO, L298N MOTOR DRIVER & BATTERY
HOLDER ON CHASIS
Wire Connections
Sensors
Sensor Arduino
VCC 5V
GND GND
Output1 A0
Output2 A1
Output3 A2
Output4 A3
Output5 A4
L298N Motor Driver
Motor Driver Arduino
IN1 4
IN2 5
IN3 7
IN4 8
EN1 3
EN2 9
Wire Connections
L298N Motor Driver
Motor Driver Arduino
IN1 4
IN2 5
IN3 7
IN4 8
EN1 3
EN2 9
How does the IR Sensor Module
Gives Value?
Gives Lower Values Gives Higher Values
1. ARDUINO PINS & VARIABLES DECLARATION
Code Demonstration
2. ASSIGNING PINS AS INPUT OR OUTPUT
Code Demonstration
Code Demonstration
3. DEFINING FUNCTIONS ON WHEEL MOVEMENT
4.AFTER READING THE SENSOR VALUE FROM THE SENSOR PIN,
COMMANDING LFR TO FOLLOW THE TRACK
Code Demonstration
Working Sequel
Any Questions?
2.-Line-Following-Robot.pptx

2.-Line-Following-Robot.pptx