SlideShare a Scribd company logo
1 of 2
Download to read offline
Tutorial-3 Line follower


LINE FOLLOWER:




 Now let’s take up a bit complex code - A line follower code.
line follower is a robot which follows a line irrespective of curves the line may have.

Hardware in a line follower:
   1. Two motors which constitutes a differential drive
   2. Two T-sop sensors.
   3. A micro-controller
   4. A Moto driver - L293D
Differential drive:
    The above figure explains the arrangement of motors in a differential drive. If both
motors are switched on robot advances forward. If only left motor is switched on it
turns right. Similarly if right only is switched on it turns left.

T-sop:
A T-sop sensor is a simple light sensor which is used in obstacle detection. It produces
a logic high if a reflector comes in its way .By this logic it has a capacity of
differentiating black and white. As black is a bad reflector it produces logic 0 with
black and logic 1 with white.

L293D Moto driver:
  L293D is an IC which is used to drive Motors by means of a micro-controller. One
L293D can drive 2 motors. Download L293D data sheet from the following link and
open it.
http://www.ziddu.com/download/10818091/l293ddatasheet.pdf.html.
This diagram shows u connections to an L293D IC .It
Can control two motors by 4 micro-controller lines. Pin’s 4 and 5 for Motor A and pins
6 and 7 for motor B as shown in the above figure. The supply voltage to the motor
Should be given at VCC pins.

How line follower works:
A line follower has a very simple structure. Two wheels attached to the two motors
And a t-sop in front of each wheel facing the ground .Take we has a black line on white
background. For the bot to get away from the line a T-sop has to cross the black
line.Take that The black line took a left turn .So, now our bot too has to take a turn
towards left. For turning left , left wheel should stop and right wheel should run .As the
path is turning towards left and bot is going straight initially at an instant left T-sop .will face the black
surface. So logic of left t-sop shifts from 1 - 0 suddenly. This logic shift will stop the motor on left which
make bot to take a turn towards left this logic is followed throughout the path .


Now we will write a code to instruct the motors to switch off and on whenever t-sops logic

More Related Content

What's hot

Line follower robot
Line follower robotLine follower robot
Line follower robotPriya Hada
 
light follower robot
light follower robotlight follower robot
light follower robotanuragyadav94
 
Automatic railway gate control system
Automatic railway gate control systemAutomatic railway gate control system
Automatic railway gate control systemsahithipechetti
 
Line following robot
Line following robotLine following robot
Line following robotarul jothi
 
FABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATION
FABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATIONFABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATION
FABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATIONNashit Ahmad
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMJOLLUSUDARSHANREDDY
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following RobotSelf-employed
 
Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semsteraqeel shoukat
 
Automatic railway gate control
Automatic railway gate controlAutomatic railway gate control
Automatic railway gate controlParth Akbari
 
visible light follower robot by nagaraju.m
visible light follower robot by nagaraju.mvisible light follower robot by nagaraju.m
visible light follower robot by nagaraju.mNagaraju Medara
 
Smart railway crossing embedded with automated platform bridge
Smart railway crossing embedded with automated platform bridgeSmart railway crossing embedded with automated platform bridge
Smart railway crossing embedded with automated platform bridgeeSAT Journals
 
line following robot
line following robotline following robot
line following robotRehnaz Razvi
 
RAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.S
RAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.SRAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.S
RAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.SSahaya Justus Antony
 

What's hot (20)

Line maze solver
Line maze solverLine maze solver
Line maze solver
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
light follower robot
light follower robotlight follower robot
light follower robot
 
Automatic railway gate control system
Automatic railway gate control systemAutomatic railway gate control system
Automatic railway gate control system
 
Line following robot
Line following robotLine following robot
Line following robot
 
Line following robot
Line following robotLine following robot
Line following robot
 
FABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATION
FABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATIONFABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATION
FABRICATION OF SENSOR OPERATED MOBILE PLATFORM FOR RAILWAY STATION
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semster
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Automatic railway gate control
Automatic railway gate controlAutomatic railway gate control
Automatic railway gate control
 
Final presentation
Final presentationFinal presentation
Final presentation
 
visible light follower robot by nagaraju.m
visible light follower robot by nagaraju.mvisible light follower robot by nagaraju.m
visible light follower robot by nagaraju.m
 
Edge detector robot
Edge detector robotEdge detector robot
Edge detector robot
 
Smart railway crossing embedded with automated platform bridge
Smart railway crossing embedded with automated platform bridgeSmart railway crossing embedded with automated platform bridge
Smart railway crossing embedded with automated platform bridge
 
line following robot
line following robotline following robot
line following robot
 
Edge detector & avoider robot
Edge detector & avoider robotEdge detector & avoider robot
Edge detector & avoider robot
 
RAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.S
RAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.SRAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.S
RAILWAY LEVEL CROSSING ACCIDENTS PREVENTER - SAHAYA JUSTUS ANTONY.S
 

Viewers also liked

MAKING OF LINE FOLLOWER ROBOT
MAKING OF LINE FOLLOWER ROBOTMAKING OF LINE FOLLOWER ROBOT
MAKING OF LINE FOLLOWER ROBOTPRABHAHARAN429
 
Building a-line-following-robot
Building a-line-following-robotBuilding a-line-following-robot
Building a-line-following-robotFahmy Akbar Aparat
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTrehaan ukaye
 
Line following robot
Line following robotLine following robot
Line following robotsunil sah
 
Report - Line Following Robot
Report - Line Following RobotReport - Line Following Robot
Report - Line Following RobotDivay Khatri
 
line following robot
line following robotline following robot
line following robotRehnaz Razvi
 

Viewers also liked (8)

MAKING OF LINE FOLLOWER ROBOT
MAKING OF LINE FOLLOWER ROBOTMAKING OF LINE FOLLOWER ROBOT
MAKING OF LINE FOLLOWER ROBOT
 
Follower
FollowerFollower
Follower
 
Building a-line-following-robot
Building a-line-following-robotBuilding a-line-following-robot
Building a-line-following-robot
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOT
 
Line following robot
Line following robotLine following robot
Line following robot
 
Report - Line Following Robot
Report - Line Following RobotReport - Line Following Robot
Report - Line Following Robot
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
line following robot
line following robotline following robot
line following robot
 

Similar to Line Following

Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot saiharsha41
 
340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdf340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdfdivyanshuranjan9973
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower RobotHassan Raza
 
Fully automated railway engine ( to be extended)
Fully automated railway engine ( to be extended)Fully automated railway engine ( to be extended)
Fully automated railway engine ( to be extended)gaurav ahuja
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot PresentationOli ullah
 
Line Following Robot Using Arduino
Line Following Robot Using ArduinoLine Following Robot Using Arduino
Line Following Robot Using ArduinoSamuel Manoj Palani
 
Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)Ronza Sameer
 
Presentation maze solver robot
Presentation maze solver robotPresentation maze solver robot
Presentation maze solver robotTahirBaig10
 
How to make a Differential Drive?
How to make a Differential Drive?How to make a Differential Drive?
How to make a Differential Drive?Robotix 2011
 

Similar to Line Following (20)

LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot
 
340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdf340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdf
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower Robot
 
Presentation1
Presentation1Presentation1
Presentation1
 
Fully automated railway engine ( to be extended)
Fully automated railway engine ( to be extended)Fully automated railway engine ( to be extended)
Fully automated railway engine ( to be extended)
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
 
Line Following Robot Using Arduino
Line Following Robot Using ArduinoLine Following Robot Using Arduino
Line Following Robot Using Arduino
 
Part 2 master
Part 2 masterPart 2 master
Part 2 master
 
Part 2 master
Part 2 masterPart 2 master
Part 2 master
 
Line Maze Solver Presentation
Line Maze Solver PresentationLine Maze Solver Presentation
Line Maze Solver Presentation
 
Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)
 
Automated ppt
Automated pptAutomated ppt
Automated ppt
 
Line follower
Line followerLine follower
Line follower
 
Motor driver ic
Motor driver icMotor driver ic
Motor driver ic
 
Presentation maze solver robot
Presentation maze solver robotPresentation maze solver robot
Presentation maze solver robot
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
 
How to make a Differential Drive?
How to make a Differential Drive?How to make a Differential Drive?
How to make a Differential Drive?
 

Line Following

  • 1. Tutorial-3 Line follower LINE FOLLOWER: Now let’s take up a bit complex code - A line follower code. line follower is a robot which follows a line irrespective of curves the line may have. Hardware in a line follower: 1. Two motors which constitutes a differential drive 2. Two T-sop sensors. 3. A micro-controller 4. A Moto driver - L293D Differential drive: The above figure explains the arrangement of motors in a differential drive. If both motors are switched on robot advances forward. If only left motor is switched on it turns right. Similarly if right only is switched on it turns left. T-sop: A T-sop sensor is a simple light sensor which is used in obstacle detection. It produces a logic high if a reflector comes in its way .By this logic it has a capacity of differentiating black and white. As black is a bad reflector it produces logic 0 with black and logic 1 with white. L293D Moto driver: L293D is an IC which is used to drive Motors by means of a micro-controller. One L293D can drive 2 motors. Download L293D data sheet from the following link and open it. http://www.ziddu.com/download/10818091/l293ddatasheet.pdf.html.
  • 2. This diagram shows u connections to an L293D IC .It Can control two motors by 4 micro-controller lines. Pin’s 4 and 5 for Motor A and pins 6 and 7 for motor B as shown in the above figure. The supply voltage to the motor Should be given at VCC pins. How line follower works: A line follower has a very simple structure. Two wheels attached to the two motors And a t-sop in front of each wheel facing the ground .Take we has a black line on white background. For the bot to get away from the line a T-sop has to cross the black line.Take that The black line took a left turn .So, now our bot too has to take a turn towards left. For turning left , left wheel should stop and right wheel should run .As the path is turning towards left and bot is going straight initially at an instant left T-sop .will face the black surface. So logic of left t-sop shifts from 1 - 0 suddenly. This logic shift will stop the motor on left which make bot to take a turn towards left this logic is followed throughout the path . Now we will write a code to instruct the motors to switch off and on whenever t-sops logic