SlideShare a Scribd company logo
4
Line Following Robot
What is a Line
Following Robot
Line following Robot
is a machine that
can follow a path.
The path can be
visible like a black
line on a white
surface or it can be
invisible like a
magnetic field.
Most read
5
What is the
need to build
line following
Robot?
Sensing a line and
maneuvering the
robot to stay on
course, while
constantly correcting
wrong moves using
feedback mechanism
forms a simple yet
effective closed loop
system.
Most read
11
Working Principle
The IR sensor detects the light emitted by the
transmitter, if the receiver receives light, the wheel
of that side will keep on moving, as soon as the
receiver stops receiving the light (black colour
absorbs the light and thus no light is reflected so
receiver cannot receive any light) the wheel of that
side will stop.
For turning ,the robot stops 1 motor and runs the
second to make the turn possible.
For eg:
 If the robot has to turn right then the motor on
right side will stop and left motor will keep on
running and thus allowing the robot to turn.
Most read
Line Following Robot using Arduino UNO
Index
• Introduction
• Components
• Working Principle
• Block Diagram
• Application
• Advantages and Disadvantages
• Programming on Arduino
Let’s Discuss
Introduction
What is a Robot
A Robot is a
machine capable of
carrying out a complex
series of actions
automatically,
especially one
programmable by a
computer.
Line Following Robot
What is a Line
Following Robot
Line following Robot
is a machine that
can follow a path.
The path can be
visible like a black
line on a white
surface or it can be
invisible like a
magnetic field.
What is the
need to build
line following
Robot?
Sensing a line and
maneuvering the
robot to stay on
course, while
constantly correcting
wrong moves using
feedback mechanism
forms a simple yet
effective closed loop
system.
Components
What are we
using?
•Arduino
•IR Sensor
•IC L293D
•Motors
•LFR Chassis
Arduino
Arduino is an open-
source computer hardware
and software company,
project and user community
that designs and
manufactures microcontroller
-based kits for building digital
devices and interactive
objects that can sense and
control objects in the physical
world.
IR Sensor
A passive infrared
sensor (PIR sensor) is
an
electronic sensor that
measures infrared (IR)
light radiating from
objects in its field of
view. They are most
often used in PIR-based
motion detectors.
L293D(H-Bridge)
• Motors are arranged in a fashion
called H-Bridge.
• H-Bridge-It is an electronic circuit
which enables a voltage to be applied
across a load in either direction.
• It allows a circuit full control over a
standard electric DC motor. That is,
with an H-bridge, a microcontroller,
logic chip, or remote control can
electronically command the motor to
go forward, reverse, brake, and coast.
Motors
The motors rotate
clockwise and anti-
clockwise based on
the program. In the
motor electrical
energy is converted
into mechanical
energy.
Working Principle
The IR sensor detects the light emitted by the
transmitter, if the receiver receives light, the wheel
of that side will keep on moving, as soon as the
receiver stops receiving the light (black colour
absorbs the light and thus no light is reflected so
receiver cannot receive any light) the wheel of that
side will stop.
For turning ,the robot stops 1 motor and runs the
second to make the turn possible.
For eg:
 If the robot has to turn right then the motor on
right side will stop and left motor will keep on
running and thus allowing the robot to turn.
Left IR Sensor Right IR Sensor Motion
1 1 Forward
1 0 Right
0 1 Left
0 0 Reverse
Motor Logic
Block Diagram
Programming on Arduino
int a=6,b=7;
void setup()
{
pinMode(a,INPUT);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(b,INPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
Serial.begin(9600);
}
void loop()
{
if((digitalRead(a)==HIGH)&&(digitalRead(b)==HIGH))
{
digitalWrite(2,HIGH);
digitalWrite(3,LOW);
digitalWrite(4,LOW);
digitalWrite(5,HIGH);
Serial.println("FORWARD");delay(1);
}
else if((digitalRead(a)==LOW)&&(digitalRead(b)==HIGH))
{
digitalWrite(2,LOW);
digitalWrite(3,HIGH);
digitalWrite(4,LOW);
digitalWrite(5,HIGH);
Serial.println("LEFT");delay(1);
}
else if((digitalRead(a)==HIGH)&&(digitalRead(b)==LOW))
{
digitalWrite(2,HIGH);
digitalWrite(3,LOW);
digitalWrite(4,HIGH);
digitalWrite(5,LOW);
Serial.println("RIGHT");delay(1);
}
else if((digitalRead(a)==LOW)&&(digitalRead(b)==LOW))
{
digitalWrite(2,HIGH);
digitalWrite(3,LOW);
digitalWrite(4,LOW);
digitalWrite(5,HIGH);
Serial.println("BACK");delay(1);
}
}
Applications
• Industrial automated equipment carriers.
• Automated cars.
• Tour guides in museums and other similar
applications.
• Deliver the mail within the office building
• Deliver medications in a hospital.
Where is
this used?
Advantages
• The robot must be capable of following a line.
• Insensitive to environment factors like noise
and lightning.
• It should be capable of taking various degrees
of turns.
• The color of the line must not be a factor as
long as it is darker than the surroundings.
What are
the
advantages
Disadvantages
• LFR can move on a fixed track or path.
• It requires power supply.
• Lack of speed control makes the robot
unstable at times.
• Choice of line is made in the hardware
abstraction and cannot be changed by
software.
What are the
disadvantages
?
QUESTIONS
?????
Thank You
By
I.Viswanadh Kasyap

More Related Content

What's hot (20)

The line follower robot
The line follower robotThe line follower robot
The line follower robot
Poonam Narang
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
Oli ullah
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamental
rounak077
 
Obstacle avoiding robot.doc
Obstacle avoiding robot.docObstacle avoiding robot.doc
Obstacle avoiding robot.doc
Electronics - Embedded System
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
Захір Райхан
 
Automatic street light control using ldr PPT
Automatic street light control using ldr PPTAutomatic street light control using ldr PPT
Automatic street light control using ldr PPT
SABIR ALI MOLLAH
 
Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robot
Rahuldey1991
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
Madhu Prasad
 
Obstacle Avoidance Robot Summer training Presentation
Obstacle Avoidance Robot Summer training Presentation Obstacle Avoidance Robot Summer training Presentation
Obstacle Avoidance Robot Summer training Presentation
Wasi Abbas
 
Arduino
ArduinoArduino
Arduino
vipin7vj
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23
Abhijeet kapse
 
OBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAROBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAR
Shubham Thakur
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
KanchanPatil34
 
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOObstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Sanjay Kumar
 
Fire fighting robot using arduino
Fire fighting robot using arduinoFire fighting robot using arduino
Fire fighting robot using arduino
Niranjan Kumar
 
Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding Robot
Rasheed Khan
 
Difference Between Impatt Diode and Trapatt Diode and Baritt Diode
Difference Between Impatt Diode and Trapatt Diode and Baritt DiodeDifference Between Impatt Diode and Trapatt Diode and Baritt Diode
Difference Between Impatt Diode and Trapatt Diode and Baritt Diode
AL- AMIN
 
Final report obstacle avoiding roboat
Final report obstacle avoiding roboatFinal report obstacle avoiding roboat
Final report obstacle avoiding roboat
Shubham Thakur
 
Vechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor pptVechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor ppt
satish 486
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
Bikram Prasad
 
The line follower robot
The line follower robotThe line follower robot
The line follower robot
Poonam Narang
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
Oli ullah
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamental
rounak077
 
Automatic street light control using ldr PPT
Automatic street light control using ldr PPTAutomatic street light control using ldr PPT
Automatic street light control using ldr PPT
SABIR ALI MOLLAH
 
Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robot
Rahuldey1991
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
Madhu Prasad
 
Obstacle Avoidance Robot Summer training Presentation
Obstacle Avoidance Robot Summer training Presentation Obstacle Avoidance Robot Summer training Presentation
Obstacle Avoidance Robot Summer training Presentation
Wasi Abbas
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23
Abhijeet kapse
 
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOObstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Sanjay Kumar
 
Fire fighting robot using arduino
Fire fighting robot using arduinoFire fighting robot using arduino
Fire fighting robot using arduino
Niranjan Kumar
 
Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding Robot
Rasheed Khan
 
Difference Between Impatt Diode and Trapatt Diode and Baritt Diode
Difference Between Impatt Diode and Trapatt Diode and Baritt DiodeDifference Between Impatt Diode and Trapatt Diode and Baritt Diode
Difference Between Impatt Diode and Trapatt Diode and Baritt Diode
AL- AMIN
 
Final report obstacle avoiding roboat
Final report obstacle avoiding roboatFinal report obstacle avoiding roboat
Final report obstacle avoiding roboat
Shubham Thakur
 
Vechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor pptVechicle accident prevention using eye bilnk sensor ppt
Vechicle accident prevention using eye bilnk sensor ppt
satish 486
 

Similar to Line Following Robot using Arduino UNO (20)

Line following robot
Line following robotLine following robot
Line following robot
TahirBaig10
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
Self-employed
 
Project PPT.pptx
Project PPT.pptxProject PPT.pptx
Project PPT.pptx
SamiullaPatel1
 
Line Following Robot Using Arduino
Line Following Robot Using ArduinoLine Following Robot Using Arduino
Line Following Robot Using Arduino
Samuel Manoj Palani
 
LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010
Journal For Research
 
Obstacle avoiding robot
Obstacle avoiding robotObstacle avoiding robot
Obstacle avoiding robot
Electronics - Embedded System
 
Obstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro ControllerObstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro Controller
Electronics - Embedded System
 
Path Following Robot
Path Following RobotPath Following Robot
Path Following Robot
Chamila Wijayarathna
 
ECD PROJEXT.pptx
ECD PROJEXT.pptxECD PROJEXT.pptx
ECD PROJEXT.pptx
JavaidMusaBojol
 
Obstacle observing
Obstacle observingObstacle observing
Obstacle observing
Lokendra Singh
 
Line follower12
Line follower12Line follower12
Line follower12
Tushar attar
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOT
Mohit Kumar
 
OBSTACLE_AVOIDING_ROBOT.pptx
OBSTACLE_AVOIDING_ROBOT.pptxOBSTACLE_AVOIDING_ROBOT.pptx
OBSTACLE_AVOIDING_ROBOT.pptx
SushilPathak25
 
Obstacle and edge detector report.
Obstacle and edge detector report.Obstacle and edge detector report.
Obstacle and edge detector report.
Himanshu Kumar Singh
 
371275588.pptx
371275588.pptx371275588.pptx
371275588.pptx
AnandVerma529372
 
pdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docxpdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docx
maheshwaran79
 
Line following robot with gripper
Line following robot with gripperLine following robot with gripper
Line following robot with gripper
Anika Jindal
 
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
Hassan Raza
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
Ahmed A. Arefin
 
Presentation1
Presentation1Presentation1
Presentation1
Paras Mishra
 
Ad

Recently uploaded (20)

Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
BeHappy728244
 
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdfIrja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus
 
Forecasting Road Accidents Using Deep Learning Approach: Policies to Improve ...
Forecasting Road Accidents Using Deep Learning Approach: Policies to Improve ...Forecasting Road Accidents Using Deep Learning Approach: Policies to Improve ...
Forecasting Road Accidents Using Deep Learning Approach: Policies to Improve ...
Journal of Soft Computing in Civil Engineering
 
Rearchitecturing a 9-year-old legacy Laravel application.pdf
Rearchitecturing a 9-year-old legacy Laravel application.pdfRearchitecturing a 9-year-old legacy Laravel application.pdf
Rearchitecturing a 9-year-old legacy Laravel application.pdf
Takumi Amitani
 
PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...
PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...
PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...
ijccmsjournal
 
A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...
A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...
A Comprehensive Investigation into the Accuracy of Soft Computing Tools for D...
Journal of Soft Computing in Civil Engineering
 
First Review PPT gfinal gyft ftu liu yrfut go
First Review PPT gfinal gyft  ftu liu yrfut goFirst Review PPT gfinal gyft  ftu liu yrfut go
First Review PPT gfinal gyft ftu liu yrfut go
Sowndarya6
 
Class-Symbols for vessels ships shipyards.pdf
Class-Symbols for vessels ships shipyards.pdfClass-Symbols for vessels ships shipyards.pdf
Class-Symbols for vessels ships shipyards.pdf
takisvlastos
 
Third Review PPT that consists of the project d etails like abstract.
Third Review PPT that consists of the project d etails like abstract.Third Review PPT that consists of the project d etails like abstract.
Third Review PPT that consists of the project d etails like abstract.
Sowndarya6
 
Structural Design for Residential-to-Restaurant Conversion
Structural Design for Residential-to-Restaurant ConversionStructural Design for Residential-to-Restaurant Conversion
Structural Design for Residential-to-Restaurant Conversion
DanielRoman285499
 
ACEP Magazine Fifth Edition on 5june2025
ACEP Magazine Fifth Edition on 5june2025ACEP Magazine Fifth Edition on 5june2025
ACEP Magazine Fifth Edition on 5june2025
Rahul
 
社内勉強会資料_Chain of Thought .
社内勉強会資料_Chain of Thought                           .社内勉強会資料_Chain of Thought                           .
社内勉強会資料_Chain of Thought .
NABLAS株式会社
 
22PCOAM16 _ML_Unit 3 Notes & Question bank
22PCOAM16 _ML_Unit 3 Notes & Question bank22PCOAM16 _ML_Unit 3 Notes & Question bank
22PCOAM16 _ML_Unit 3 Notes & Question bank
Guru Nanak Technical Institutions
 
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
sebastianku31
 
Presentación Tomografía Axial Computarizada
Presentación Tomografía Axial ComputarizadaPresentación Tomografía Axial Computarizada
Presentación Tomografía Axial Computarizada
Juliana Ovalle Jiménez
 
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
SharinAbGhani1
 
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptxFINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
kippcam
 
Introduction to AI agent development with MCP
Introduction to AI agent development with MCPIntroduction to AI agent development with MCP
Introduction to AI agent development with MCP
Dori Waldman
 
Computer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdfComputer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdf
kumarprem6767merp
 
Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
BeHappy728244
 
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdfIrja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus
 
Rearchitecturing a 9-year-old legacy Laravel application.pdf
Rearchitecturing a 9-year-old legacy Laravel application.pdfRearchitecturing a 9-year-old legacy Laravel application.pdf
Rearchitecturing a 9-year-old legacy Laravel application.pdf
Takumi Amitani
 
PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...
PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...
PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...
ijccmsjournal
 
First Review PPT gfinal gyft ftu liu yrfut go
First Review PPT gfinal gyft  ftu liu yrfut goFirst Review PPT gfinal gyft  ftu liu yrfut go
First Review PPT gfinal gyft ftu liu yrfut go
Sowndarya6
 
Class-Symbols for vessels ships shipyards.pdf
Class-Symbols for vessels ships shipyards.pdfClass-Symbols for vessels ships shipyards.pdf
Class-Symbols for vessels ships shipyards.pdf
takisvlastos
 
Third Review PPT that consists of the project d etails like abstract.
Third Review PPT that consists of the project d etails like abstract.Third Review PPT that consists of the project d etails like abstract.
Third Review PPT that consists of the project d etails like abstract.
Sowndarya6
 
Structural Design for Residential-to-Restaurant Conversion
Structural Design for Residential-to-Restaurant ConversionStructural Design for Residential-to-Restaurant Conversion
Structural Design for Residential-to-Restaurant Conversion
DanielRoman285499
 
ACEP Magazine Fifth Edition on 5june2025
ACEP Magazine Fifth Edition on 5june2025ACEP Magazine Fifth Edition on 5june2025
ACEP Magazine Fifth Edition on 5june2025
Rahul
 
社内勉強会資料_Chain of Thought .
社内勉強会資料_Chain of Thought                           .社内勉強会資料_Chain of Thought                           .
社内勉強会資料_Chain of Thought .
NABLAS株式会社
 
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...
sebastianku31
 
Presentación Tomografía Axial Computarizada
Presentación Tomografía Axial ComputarizadaPresentación Tomografía Axial Computarizada
Presentación Tomografía Axial Computarizada
Juliana Ovalle Jiménez
 
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
02 - Ethics & Professionalism - BEM, IEM, MySET.PPT
SharinAbGhani1
 
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptxFINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
FINAL 2013 Module 20 Corrosion Control and Sequestering PPT Slides.pptx
kippcam
 
Introduction to AI agent development with MCP
Introduction to AI agent development with MCPIntroduction to AI agent development with MCP
Introduction to AI agent development with MCP
Dori Waldman
 
Computer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdfComputer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdf
kumarprem6767merp
 
Ad

Line Following Robot using Arduino UNO

  • 2. Index • Introduction • Components • Working Principle • Block Diagram • Application • Advantages and Disadvantages • Programming on Arduino Let’s Discuss
  • 3. Introduction What is a Robot A Robot is a machine capable of carrying out a complex series of actions automatically, especially one programmable by a computer.
  • 4. Line Following Robot What is a Line Following Robot Line following Robot is a machine that can follow a path. The path can be visible like a black line on a white surface or it can be invisible like a magnetic field.
  • 5. What is the need to build line following Robot? Sensing a line and maneuvering the robot to stay on course, while constantly correcting wrong moves using feedback mechanism forms a simple yet effective closed loop system.
  • 6. Components What are we using? •Arduino •IR Sensor •IC L293D •Motors •LFR Chassis
  • 7. Arduino Arduino is an open- source computer hardware and software company, project and user community that designs and manufactures microcontroller -based kits for building digital devices and interactive objects that can sense and control objects in the physical world.
  • 8. IR Sensor A passive infrared sensor (PIR sensor) is an electronic sensor that measures infrared (IR) light radiating from objects in its field of view. They are most often used in PIR-based motion detectors.
  • 9. L293D(H-Bridge) • Motors are arranged in a fashion called H-Bridge. • H-Bridge-It is an electronic circuit which enables a voltage to be applied across a load in either direction. • It allows a circuit full control over a standard electric DC motor. That is, with an H-bridge, a microcontroller, logic chip, or remote control can electronically command the motor to go forward, reverse, brake, and coast.
  • 10. Motors The motors rotate clockwise and anti- clockwise based on the program. In the motor electrical energy is converted into mechanical energy.
  • 11. Working Principle The IR sensor detects the light emitted by the transmitter, if the receiver receives light, the wheel of that side will keep on moving, as soon as the receiver stops receiving the light (black colour absorbs the light and thus no light is reflected so receiver cannot receive any light) the wheel of that side will stop. For turning ,the robot stops 1 motor and runs the second to make the turn possible. For eg:  If the robot has to turn right then the motor on right side will stop and left motor will keep on running and thus allowing the robot to turn.
  • 12. Left IR Sensor Right IR Sensor Motion 1 1 Forward 1 0 Right 0 1 Left 0 0 Reverse Motor Logic
  • 14. Programming on Arduino int a=6,b=7; void setup() { pinMode(a,INPUT); pinMode(2,OUTPUT); pinMode(3,OUTPUT); pinMode(b,INPUT); pinMode(4,OUTPUT); pinMode(5,OUTPUT); Serial.begin(9600); } void loop() { if((digitalRead(a)==HIGH)&&(digitalRead(b)==HIGH)) { digitalWrite(2,HIGH); digitalWrite(3,LOW); digitalWrite(4,LOW); digitalWrite(5,HIGH); Serial.println("FORWARD");delay(1); } else if((digitalRead(a)==LOW)&&(digitalRead(b)==HIGH)) { digitalWrite(2,LOW); digitalWrite(3,HIGH); digitalWrite(4,LOW); digitalWrite(5,HIGH); Serial.println("LEFT");delay(1); } else if((digitalRead(a)==HIGH)&&(digitalRead(b)==LOW)) { digitalWrite(2,HIGH); digitalWrite(3,LOW); digitalWrite(4,HIGH); digitalWrite(5,LOW); Serial.println("RIGHT");delay(1); } else if((digitalRead(a)==LOW)&&(digitalRead(b)==LOW)) { digitalWrite(2,HIGH); digitalWrite(3,LOW); digitalWrite(4,LOW); digitalWrite(5,HIGH); Serial.println("BACK");delay(1); } }
  • 15. Applications • Industrial automated equipment carriers. • Automated cars. • Tour guides in museums and other similar applications. • Deliver the mail within the office building • Deliver medications in a hospital. Where is this used?
  • 16. Advantages • The robot must be capable of following a line. • Insensitive to environment factors like noise and lightning. • It should be capable of taking various degrees of turns. • The color of the line must not be a factor as long as it is darker than the surroundings. What are the advantages
  • 17. Disadvantages • LFR can move on a fixed track or path. • It requires power supply. • Lack of speed control makes the robot unstable at times. • Choice of line is made in the hardware abstraction and cannot be changed by software. What are the disadvantages ?