SlideShare a Scribd company logo
1 of 32
Download to read offline
Arduino Line
Following Robot
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 1
Our Team
Dimuth Bandara
Raween Randewa
Raweena Bandara
Kasun Somarathna
Hashani Ranawake
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 2
Information About the project
And the purpose of this project is to automate the fruit transport
system in this factory
In this industrial plant good carriers are essential to carry goods
from one place to another place. In most instances, carts or trucks
were used with human labour. This manual process is unreliable and
unefficient which causes wastage of time and money
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 3
Objectives of
the project
Main objective-Move towards automation
Others
1)To increase efficiency of the system
2)To reduce the time delay in the old system
3)Identify the movements of the robot
4)Reduce the Wastage due to damages when
transporting
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 4
Features Of
The
Application
This application can be used for
number of industries where industrial
automation is needed including motor
vehicle , hotels etc.
Arduino line follower follows a specific
path which is black in colour in white
background
In some instances there are line
followers which follow a white line in
dark background.
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 5
Here we use
 Arduino Uno Board
 Arduino l298n motor driver
 3 Arduino IR sensors
 2 Arduino gear motors
 Jumper wires
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 6
Arduino Uno
Board
 It is the most popular board
 Power using power USB and
barallel jack
 Voltage regulator control the
voltage given
 5v output gives input voltage to
the IR sensors
 GND use to ground the circuit
 Analog pins A0 to A5
 14 digital I/O pins which 6 provide
PWM
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 7
Arduino l298n
Motor Driver
 A dual H Bridge Motor driver
 The module can drive DC motors
that have voltages between 5 and
35V, with a peak current up to
2A.Voltage regulator control the
voltage given
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 8
How It Works
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 9
Arduino IR sensor
 Based on Infra red radiations
 Works in range from 3.3v to 5v
 In black or darker surfaces IR
sensor turn off
 In white background IR sensor
Turn ON
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 10
Arduino Gear
Motor
 Rotates Clockwise and
anticlockwise
 Works in range from 3.3v to 12v
 Gear motor is connected to
Arduino UNO via Arduino l298N
motor driver
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 11
How It Works
Move Forward Move Left
Move Right Stop
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 12
Move Forward
 All tracker sensors must be off
 The robot must be in line
 Two motors must rotate(ON)
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 13
Move Left
 Left Sensor And Middle sensor
Must be OFF
 Right Sensor Must Be ON
 The robot must be in line
 Right Motor Must be ON
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 14
Move Right
 Right Sensor And Middle sensor
Must be OFF
 Left Sensor Must Be ON
 The robot must be in line
 Right Motor Must be ON
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 15
Stop
 All tracker sensors must be ON
 The robot must be outside line
 Two motors must be OFF
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 16
Explanation
Using
Pseudocode
Read RS,LS,MS,LM,RM
IF LS equals zero ,MS equals zero and , RS equals zero
Turn on LM
Turn off RM
End IF
If LS equals zero , MS equals zero and, RS equals one
Turn on RM
Turn off LM
End IF
If LS equals one, MS equals zero and, RS equal Zero
Turn on LM
Turn off RM
End IF
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 17
Explanation
Using
Pseudocode
contd…..
If LS equals one, MS equals zero and, RS
equal one
Turn on LM
Turn on RM
End IF
ELSE
Turn off LM
Turn off RM
END
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 18
Code
int S_A=11; // speed of motor A
int M_A1=2;// motor a=+
int M_A2=3; // motor a=-
int M_B1=4; // motor b= -
int M_B2=5; // motor b=+
int S_B=10; // Speed of motor B
int R_S=A0; // sensor r
int S_S=A1; // sensor s
int L_S=A2; // sensor L
void setup() {
pinMode(M_B1,OUTPUT);
pinMode(M_B2,OUTPUT);
pinMode(M_A1,OUTPUT);
pinMode(M_A2,OUTPUT);
pinMode(S_B,OUTPUT);
pinMode(S_A,OUTPUT);
3/1/2020DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 19
pinMode(L_S,INPUT);
pinMode(S_S,INPUT);
pinMode(R_S,INPUT);
analogWrite(S_A,75);
analogWrite(S_B,75);
delay(200);
}
void loop() {
if((digitalRead(L_S)==0)&&(digitalRead(S_S)==1)
&&(digitalRead(R_S)==0)){forword();}
if((digitalRead(L_S)==1)&&(digitalRead(S_S)==1)&&(digitalRead(R_S)==0)){turnLeft();}
if((digitalRead(L_S)==1)&&(digitalRead(S_S)==0)&&(digitalRead(R_S)==0)){turnLeft();}
if((digitalRead(L_S)==0)&&(digitalRead(S_S)==1)&&(digitalRead(R_S)==1)){turnRight();}
if((digitalRead(L_S)==0)&&(digitalRead(S_S)==0)&&(digitalRead(R_S)==1)){turnRight();}
if((digitalRead(L_S)==1)&&(digitalRead(S_S)==1)&&(digitalRead(R_S)==1)){Stop();}
if((digitalRead(L_S)==1)&&(digitalRead(S_S)==0)&&(digitalRead(R_S)==1)){Stop();}
}
3/1/2020DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 20
void forword(){
digitalWrite(M_A1,LOW);
digitalWrite(M_A2,HIGH);
digitalWrite(M_B1,HIGH);
digitalWrite(M_B2,LOW);
}
void turnRight(){
digitalWrite(M_A1,LOW);
digitalWrite(M_A2,LOW);
digitalWrite(M_B1,HIGH);
digitalWrite(M_B2,LOW);
}
void turnLeft(){
digitalWrite(M_A1,LOW);
digitalWrite(M_A2,HIGH);
digitalWrite(M_B1,LOW);
digitalWrite(M_B2,LOW);
}
3/1/2020DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 21
How To Operate
 Handle with care.
 Check whether sensors are working.
 Don’t supply higher voltages and currents.
 Check whether the motors are rotating.
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 22
A Practical Example
 Practical Example 01(Static Example)
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 23
 Practical Example 02(Dynamic Example)
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 24
Little More Than A Line Follower
 Identify Movement Using C# Serial Communication
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 25
Connect Through Wifi
 Using esp 8266-1 or esp 8266 we can connect it to wifi and can observe using
php or c#
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 26
Benefits of
the project
Reduce time delay in instances where we use human labor
More efficient
Reliable
Reduce wastage due to damages when transporting
Only small space is needed for storing items
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 27
Disadvantages Of The Project
High Cost to Build. High Cost to Maintain. Operators with proper
knowledge is essential.
Reduce job opportunity
for labors.
As this is a new concept
traditional farmers will
not accept this method.
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 28
Hardships We
Faced
The line following robot project challenged the group to cooperate,
communicate, and expand understanding of electronics, mechanical
systems, and their integration with programming.
Lack of proper Knowledge.
Lack of reliable resources.
Most of applications are highly costable
Difficult to connect Arduino with C#
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 29
Conclusions
This is a new
concept in sri
Lankan minor
industrial plants.
But in other
countries this
concept is well
used.
This method can
be introduced to
sri Lankan minor
industrial plants.
We can move
towards
automation….
This will increase
job opportunity
in IT field
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 30
Future Scope
 To implement automated systems in
Sri Lanka. Expected automated system
may contain automatically updating
applications and automatically
updating online databases (mostly in
clouds)
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 31
THE END
DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 32

More Related Content

What's hot

Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance RobotRatan Srikanth
 
Line follower robot
Line follower robotLine follower robot
Line follower robotPriya Hada
 
Autonomous Robotic Cleaner (ARC)
Autonomous Robotic Cleaner (ARC)Autonomous Robotic Cleaner (ARC)
Autonomous Robotic Cleaner (ARC)Hanna Diaz
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following RobotVikram Jha
 
Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Amanullah Mahmood
 
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 RobotroboVITics club
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robotUVSofts Technologies
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNOViswanadh Ivaturi
 
Line following robot
Line following robotLine following robot
Line following robotsunil sah
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYVishnu
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfVikasMahor3
 
line following robot ppt
line following robot pptline following robot ppt
line following robot pptSuchit Moon
 
Line follower robot
Line follower robotLine follower robot
Line follower robotUlla Ahmed
 

What's hot (20)

Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Autonomous Robotic Cleaner (ARC)
Autonomous Robotic Cleaner (ARC)Autonomous Robotic Cleaner (ARC)
Autonomous Robotic Cleaner (ARC)
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)
 
OBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAROBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAR
 
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
 
Obstacle avoiding robot(Lab report)
Obstacle  avoiding  robot(Lab report)Obstacle  avoiding  robot(Lab report)
Obstacle avoiding robot(Lab report)
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
 
Obstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic VehicleObstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic Vehicle
 
8051 instruction set
8051 instruction set8051 instruction set
8051 instruction set
 
Line following robot
Line following robotLine following robot
Line following robot
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIY
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdf
 
line following robot ppt
line following robot pptline following robot ppt
line following robot ppt
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 

Similar to Arduino line follower robot

Automatic Intelligent Traffic Controller and Operation Mode
Automatic Intelligent Traffic Controller and Operation ModeAutomatic Intelligent Traffic Controller and Operation Mode
Automatic Intelligent Traffic Controller and Operation ModeIRJET Journal
 
IRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted AreasIRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted AreasIRJET Journal
 
IOT Based Three Phase Transmission Line Fault Detection and Classification
IOT Based Three Phase Transmission Line Fault Detection and ClassificationIOT Based Three Phase Transmission Line Fault Detection and Classification
IOT Based Three Phase Transmission Line Fault Detection and ClassificationIRJET Journal
 
IRJET- Garbage Monitoring System using Internet of Things (IoT) and GSM
IRJET-  	  Garbage Monitoring System using Internet of Things (IoT) and GSMIRJET-  	  Garbage Monitoring System using Internet of Things (IoT) and GSM
IRJET- Garbage Monitoring System using Internet of Things (IoT) and GSMIRJET Journal
 
IRJET- Smart Traffic Monitoring System using Ir Sensors based on Microcon...
IRJET-  	  Smart Traffic Monitoring System using Ir Sensors based on Microcon...IRJET-  	  Smart Traffic Monitoring System using Ir Sensors based on Microcon...
IRJET- Smart Traffic Monitoring System using Ir Sensors based on Microcon...IRJET Journal
 
IRJET - Driverless Metro Train to Shuttle between Two Stations
IRJET -  	  Driverless Metro Train to Shuttle between Two StationsIRJET -  	  Driverless Metro Train to Shuttle between Two Stations
IRJET - Driverless Metro Train to Shuttle between Two StationsIRJET Journal
 
Smart Safety and Accident Prevention System for Curve Roads
Smart Safety and Accident Prevention System for Curve RoadsSmart Safety and Accident Prevention System for Curve Roads
Smart Safety and Accident Prevention System for Curve RoadsIRJET Journal
 
Fault Detection In Vehicles Using Sensors
Fault Detection In Vehicles Using SensorsFault Detection In Vehicles Using Sensors
Fault Detection In Vehicles Using SensorsIJARIDEA Journal
 
Automatic gate control
Automatic gate controlAutomatic gate control
Automatic gate controlDipankar Haloi
 
VEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEM
VEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEMVEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEM
VEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEMIRJET Journal
 
SMART WASTE MANAGEMENT SYSTEM USING IOT
SMART WASTE MANAGEMENT SYSTEM USING IOTSMART WASTE MANAGEMENT SYSTEM USING IOT
SMART WASTE MANAGEMENT SYSTEM USING IOTIRJET Journal
 
IRJET- Vehicle Black Box System using IoT
IRJET- Vehicle Black Box System using IoTIRJET- Vehicle Black Box System using IoT
IRJET- Vehicle Black Box System using IoTIRJET Journal
 
IRJET- Wearable Sensor Fall Detection System
IRJET- Wearable Sensor Fall Detection SystemIRJET- Wearable Sensor Fall Detection System
IRJET- Wearable Sensor Fall Detection SystemIRJET Journal
 
IRJET - The Implementation of Arduino based Single Axis Solar Tracking Sy...
IRJET -  	  The Implementation of Arduino based Single Axis Solar Tracking Sy...IRJET -  	  The Implementation of Arduino based Single Axis Solar Tracking Sy...
IRJET - The Implementation of Arduino based Single Axis Solar Tracking Sy...IRJET Journal
 
IRJET - Toll and Vehicle Rules Automation System
IRJET - Toll and Vehicle Rules Automation SystemIRJET - Toll and Vehicle Rules Automation System
IRJET - Toll and Vehicle Rules Automation SystemIRJET Journal
 
Automation of Railway Gate and Road traffic using Internet of Things (IoT)
Automation of Railway Gate and Road traffic using Internet of Things (IoT)Automation of Railway Gate and Road traffic using Internet of Things (IoT)
Automation of Railway Gate and Road traffic using Internet of Things (IoT)IRJET Journal
 
GSM Based Home Automation System using Arduino
GSM Based Home Automation System using ArduinoGSM Based Home Automation System using Arduino
GSM Based Home Automation System using Arduinoijtsrd
 
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...IRJET Journal
 

Similar to Arduino line follower robot (20)

Automatic Intelligent Traffic Controller and Operation Mode
Automatic Intelligent Traffic Controller and Operation ModeAutomatic Intelligent Traffic Controller and Operation Mode
Automatic Intelligent Traffic Controller and Operation Mode
 
IRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted AreasIRJET- Automatic Vehicle Speed Controller System in Restricted Areas
IRJET- Automatic Vehicle Speed Controller System in Restricted Areas
 
IOT Based Three Phase Transmission Line Fault Detection and Classification
IOT Based Three Phase Transmission Line Fault Detection and ClassificationIOT Based Three Phase Transmission Line Fault Detection and Classification
IOT Based Three Phase Transmission Line Fault Detection and Classification
 
IRJET- Garbage Monitoring System using Internet of Things (IoT) and GSM
IRJET-  	  Garbage Monitoring System using Internet of Things (IoT) and GSMIRJET-  	  Garbage Monitoring System using Internet of Things (IoT) and GSM
IRJET- Garbage Monitoring System using Internet of Things (IoT) and GSM
 
IRJET- Smart Traffic Monitoring System using Ir Sensors based on Microcon...
IRJET-  	  Smart Traffic Monitoring System using Ir Sensors based on Microcon...IRJET-  	  Smart Traffic Monitoring System using Ir Sensors based on Microcon...
IRJET- Smart Traffic Monitoring System using Ir Sensors based on Microcon...
 
IRJET - Driverless Metro Train to Shuttle between Two Stations
IRJET -  	  Driverless Metro Train to Shuttle between Two StationsIRJET -  	  Driverless Metro Train to Shuttle between Two Stations
IRJET - Driverless Metro Train to Shuttle between Two Stations
 
Smart Car
Smart CarSmart Car
Smart Car
 
Smart Safety and Accident Prevention System for Curve Roads
Smart Safety and Accident Prevention System for Curve RoadsSmart Safety and Accident Prevention System for Curve Roads
Smart Safety and Accident Prevention System for Curve Roads
 
Fault Detection In Vehicles Using Sensors
Fault Detection In Vehicles Using SensorsFault Detection In Vehicles Using Sensors
Fault Detection In Vehicles Using Sensors
 
Automatic gate control
Automatic gate controlAutomatic gate control
Automatic gate control
 
VEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEM
VEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEMVEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEM
VEHICLE TO VEHICLE COMMUNICATION FOR ACCIDENT-AVOIDANCE SYSTEM
 
SMART WASTE MANAGEMENT SYSTEM USING IOT
SMART WASTE MANAGEMENT SYSTEM USING IOTSMART WASTE MANAGEMENT SYSTEM USING IOT
SMART WASTE MANAGEMENT SYSTEM USING IOT
 
IRJET- Vehicle Black Box System using IoT
IRJET- Vehicle Black Box System using IoTIRJET- Vehicle Black Box System using IoT
IRJET- Vehicle Black Box System using IoT
 
IRJET- Wearable Sensor Fall Detection System
IRJET- Wearable Sensor Fall Detection SystemIRJET- Wearable Sensor Fall Detection System
IRJET- Wearable Sensor Fall Detection System
 
IRJET - The Implementation of Arduino based Single Axis Solar Tracking Sy...
IRJET -  	  The Implementation of Arduino based Single Axis Solar Tracking Sy...IRJET -  	  The Implementation of Arduino based Single Axis Solar Tracking Sy...
IRJET - The Implementation of Arduino based Single Axis Solar Tracking Sy...
 
IRJET - Toll and Vehicle Rules Automation System
IRJET - Toll and Vehicle Rules Automation SystemIRJET - Toll and Vehicle Rules Automation System
IRJET - Toll and Vehicle Rules Automation System
 
Automation of Railway Gate and Road traffic using Internet of Things (IoT)
Automation of Railway Gate and Road traffic using Internet of Things (IoT)Automation of Railway Gate and Road traffic using Internet of Things (IoT)
Automation of Railway Gate and Road traffic using Internet of Things (IoT)
 
GSM Based Home Automation System using Arduino
GSM Based Home Automation System using ArduinoGSM Based Home Automation System using Arduino
GSM Based Home Automation System using Arduino
 
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
A Low Cost Yet Super efficient Means to Prevent Overloading as Well as Accide...
 
SEMINAR REPORT
SEMINAR REPORTSEMINAR REPORT
SEMINAR REPORT
 

Recently uploaded

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

Arduino line follower robot

  • 1. Arduino Line Following Robot DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 1
  • 2. Our Team Dimuth Bandara Raween Randewa Raweena Bandara Kasun Somarathna Hashani Ranawake DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 2
  • 3. Information About the project And the purpose of this project is to automate the fruit transport system in this factory In this industrial plant good carriers are essential to carry goods from one place to another place. In most instances, carts or trucks were used with human labour. This manual process is unreliable and unefficient which causes wastage of time and money DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 3
  • 4. Objectives of the project Main objective-Move towards automation Others 1)To increase efficiency of the system 2)To reduce the time delay in the old system 3)Identify the movements of the robot 4)Reduce the Wastage due to damages when transporting DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 4
  • 5. Features Of The Application This application can be used for number of industries where industrial automation is needed including motor vehicle , hotels etc. Arduino line follower follows a specific path which is black in colour in white background In some instances there are line followers which follow a white line in dark background. DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 5
  • 6. Here we use  Arduino Uno Board  Arduino l298n motor driver  3 Arduino IR sensors  2 Arduino gear motors  Jumper wires DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 6
  • 7. Arduino Uno Board  It is the most popular board  Power using power USB and barallel jack  Voltage regulator control the voltage given  5v output gives input voltage to the IR sensors  GND use to ground the circuit  Analog pins A0 to A5  14 digital I/O pins which 6 provide PWM DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 7
  • 8. Arduino l298n Motor Driver  A dual H Bridge Motor driver  The module can drive DC motors that have voltages between 5 and 35V, with a peak current up to 2A.Voltage regulator control the voltage given DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 8
  • 9. How It Works DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 9
  • 10. Arduino IR sensor  Based on Infra red radiations  Works in range from 3.3v to 5v  In black or darker surfaces IR sensor turn off  In white background IR sensor Turn ON DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 10
  • 11. Arduino Gear Motor  Rotates Clockwise and anticlockwise  Works in range from 3.3v to 12v  Gear motor is connected to Arduino UNO via Arduino l298N motor driver DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 11
  • 12. How It Works Move Forward Move Left Move Right Stop DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 12
  • 13. Move Forward  All tracker sensors must be off  The robot must be in line  Two motors must rotate(ON) DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 13
  • 14. Move Left  Left Sensor And Middle sensor Must be OFF  Right Sensor Must Be ON  The robot must be in line  Right Motor Must be ON DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 14
  • 15. Move Right  Right Sensor And Middle sensor Must be OFF  Left Sensor Must Be ON  The robot must be in line  Right Motor Must be ON DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 15
  • 16. Stop  All tracker sensors must be ON  The robot must be outside line  Two motors must be OFF DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 16
  • 17. Explanation Using Pseudocode Read RS,LS,MS,LM,RM IF LS equals zero ,MS equals zero and , RS equals zero Turn on LM Turn off RM End IF If LS equals zero , MS equals zero and, RS equals one Turn on RM Turn off LM End IF If LS equals one, MS equals zero and, RS equal Zero Turn on LM Turn off RM End IF DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 17
  • 18. Explanation Using Pseudocode contd….. If LS equals one, MS equals zero and, RS equal one Turn on LM Turn on RM End IF ELSE Turn off LM Turn off RM END DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 18
  • 19. Code int S_A=11; // speed of motor A int M_A1=2;// motor a=+ int M_A2=3; // motor a=- int M_B1=4; // motor b= - int M_B2=5; // motor b=+ int S_B=10; // Speed of motor B int R_S=A0; // sensor r int S_S=A1; // sensor s int L_S=A2; // sensor L void setup() { pinMode(M_B1,OUTPUT); pinMode(M_B2,OUTPUT); pinMode(M_A1,OUTPUT); pinMode(M_A2,OUTPUT); pinMode(S_B,OUTPUT); pinMode(S_A,OUTPUT); 3/1/2020DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 19
  • 21. void forword(){ digitalWrite(M_A1,LOW); digitalWrite(M_A2,HIGH); digitalWrite(M_B1,HIGH); digitalWrite(M_B2,LOW); } void turnRight(){ digitalWrite(M_A1,LOW); digitalWrite(M_A2,LOW); digitalWrite(M_B1,HIGH); digitalWrite(M_B2,LOW); } void turnLeft(){ digitalWrite(M_A1,LOW); digitalWrite(M_A2,HIGH); digitalWrite(M_B1,LOW); digitalWrite(M_B2,LOW); } 3/1/2020DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 21
  • 22. How To Operate  Handle with care.  Check whether sensors are working.  Don’t supply higher voltages and currents.  Check whether the motors are rotating. DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 22
  • 23. A Practical Example  Practical Example 01(Static Example) DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 23
  • 24.  Practical Example 02(Dynamic Example) DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 24
  • 25. Little More Than A Line Follower  Identify Movement Using C# Serial Communication DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 25
  • 26. Connect Through Wifi  Using esp 8266-1 or esp 8266 we can connect it to wifi and can observe using php or c# DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 26
  • 27. Benefits of the project Reduce time delay in instances where we use human labor More efficient Reliable Reduce wastage due to damages when transporting Only small space is needed for storing items DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 27
  • 28. Disadvantages Of The Project High Cost to Build. High Cost to Maintain. Operators with proper knowledge is essential. Reduce job opportunity for labors. As this is a new concept traditional farmers will not accept this method. DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 28
  • 29. Hardships We Faced The line following robot project challenged the group to cooperate, communicate, and expand understanding of electronics, mechanical systems, and their integration with programming. Lack of proper Knowledge. Lack of reliable resources. Most of applications are highly costable Difficult to connect Arduino with C# DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 29
  • 30. Conclusions This is a new concept in sri Lankan minor industrial plants. But in other countries this concept is well used. This method can be introduced to sri Lankan minor industrial plants. We can move towards automation…. This will increase job opportunity in IT field DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 30
  • 31. Future Scope  To implement automated systems in Sri Lanka. Expected automated system may contain automatically updating applications and automatically updating online databases (mostly in clouds) DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 31
  • 32. THE END DSE 18.2 NATIONAL INSTITUTE OF BUSSINESS MANAGEMENT KURUNEGALA 3/1/2020 32