SlideShare una empresa de Scribd logo
1 de 22
Line Following Robot

Amit Upadhye
Atik Shaikh
INTRODUCTION
INTRODUCTION
What is Line Follower?
Line follower is a machine that can follow a path. The path
can be visible like a black line on a white surface (or viceversa) or it can be invisible like a magnetic field.
Why to built a Line follower?
Applications:Automated cars running on roads with embedded
magnets(ESC electronic stability control), guidance system
for industrial robots moving on shop floor etc.
BLOCK DIAGRAM
ALGORITHM
1.

L= leftmost sensor which reads 0; R= rightmost sensor which reads 0.
If no sensor on Left (or Right) is 0 then L (or R) equals 0

2. If all sensors read 1 go to step 3, else,

If L>R Move Left
If L<R Move Right
If L=R Move Forward
Goto step 4
ALGORITHM
3. Move Clockwise if line was last seen on Right
Move Counter Clockwise if line was last seen on Left
Repeat step 3 till line is found.
4.

Goto step 1.
COMPONENTS
AVR SERIES MICROCONTROLLER ATMEGA16
DUAL FULL BRIDGE DRIVER L298
LOW POWER QUAD OPERATIONAL AMPLIFIER LM324
THREE TERMINAL POSITIVE VOLTAGE REGULATOR 7805
SINGLE PHASE BRIDGE RECTIFIER IC
INFRARED TRANSMITTER RECIEVER
IMPLEMENTATION OF SENSOR CIRCUIT
IMPLEMENTATION OF SENSOR CIRCUIT
The resistance of the sensor decreases when IR light falls on it. A
good sensor will have near zero resistance in presence of light and
a very large resistance in absence of light.
We have used this property of the sensor to form a potential
divider. The potential at point ‘2’ is
Rsensor / (Rsensor + R1).
Again, a good sensor circuit should
give maximum change in potential at point ‘2’ for no-light and brightlight conditions.
OBJECT DETECTION USING IR

It is the same principle in ALL Infra-Red proximity sensors. The basic idea is to send infra red
light through IRLEDs,which is then reflected by any object in front of the sensor.
This is an electrical property of Light Emitting Diodes (LEDs) which is the fact that
a led Produce a voltage difference across its leads when it is subjected to light. As if it was
a photo-cell, but with much lower output current. In other words, the voltage generated by
the leds can't be in any way used to generate electrical power from light, It can barely
be detected. that's why as you will notice in the schematic, we are going to use a Op-Amp
(operational Amplifier) to accurately detect very small voltage changes
MOTOR INTERFACE CIRCUIT
CIRCUIT DESCRIPTION
The 8 sensors are connected to PORTA. The L298 Motor Driver has 4 inputs
to control the motion of the motors and two enable inputs which are used
for switching the motors on and off. To control the speed of the motors a
PWM waveform with variable duty cycle is applied to the enable pins.
Rapidly switching the voltage between Vs and GND gives an effective
voltage between Vs and GND whose value depends on the duty cycle of
PWM. 100% duty cycle corresponds to voltage equal to Vs, 50 %
corresponds to 0.5Vs and so on The 1N4004 diodes are used to prevent
back EMF of the motors from disturbing the remaining circuit.
L298 is used as a coil driver instead of l293D L298 as it has current capacity
of 2A per channel @ 45V compared to 0.6 A @ 36 V of a L293D. L293D’s
package is not suitable for attaching a good heat sink, practically you can’t
use it above 16V without frying it. L298 on the other hand works happily at
16V without a heat sink, though it is always better to use one.
PROGRAMING PART
 WRITING A CODE IN C
 COMPILING CODE USING CODEVISION AVR
 CONVERTING IT TO HEX USING CODEVISION AVR
 SIMULATION OF THE HEX FILE IN THE AVR STUDIO 4.0
 DOWNLOADING THE PORGRAMIN TO MICROCONTROLLER USING XELTEK’S

UNIVERSAL PROGRAMMER
VIDEO OF PROGRAMMING AND
SIMULATION PART
DESIGN OF MECHANICAL STRUCTURE
APPLICATION
Automated Stability control
 Much like antilock brakes work to allow the driver to steer while braking on
slippery surfaces, stability control works to help the vehicle stay on its driverintended path in turns. Sometimes a driver will enter a curve too quickly and
exceed the tire's ability to hold the road through the turn. When this happens, the
vehicle begins to spin or skid. Stability control pulsates the brakes of individual
wheels to help "rotate" the vehicle to the driver's intended path.
 Steering wheel angle sensor : determines the driver's intended rotation; i.e. where

the driver wants to steer. This kind of sensor is often based on AMR-elements.
Yaw rate sensor : measures the rotation rate of the car; i.e how much the car is
actually turning. The data from the yaw sensor is compared with the data from the
steering wheel angle sensor to determine regulating action.
 Numerous studies around the world confirm that ESC is highly effective in helping
the driver maintain control of the car and saving lives and reducing the severity of
crashes.[3] In the fall of 2004 in the U.S., the National Highway and Traffic Safety
Administration confirmed the international studies, releasing results of a field
study in the U.S. of ESC effectiveness. NHTSA concluded that ESC reduces crashes
by 35%. Additionally, Sport utility vehicles (SUV's) with stability control are
involved in 67% fewer accidents than SUVs without the system. The Insurance
Institute for Highway Safety (IIHS) issued its own study results in 2004 concluding
that universal use of ESC could save 7,000 lives a year in the United States. In June
2006, the IIHS released a second study showing that up to 10,000 fatal US crashes
could be avoided annually if all vehicles were equipped with ESC [4] The 2006 study
concluded that ESC reduces the likelihood of all fatal crashes by 43%, fatal singlevehicle crashes by 56%, and fatal single-vehicle rollovers by 77-80%.
APPLICATION
AGV(Automated guided vehicles)

Transbotics Corporation is a publicly held corporation specializing in tailor-made
Automated Guided Vehicles (AGVs) integrated into a total automation solution.
 AGVs are driverless, computer-controlled vehicles that are programmed to
transport materials through designated pickup and delivery routines within a
particular facility (usually a manufacturing or distribution facility) and to transmit
information concerning system status, inventory tracking, and system controls to a
system controller. The Company's AGV system products and services have been
used in a variety of industries, including textiles, automotive, entertainment,
newspaper publishing, and electronics.
 These control products are designed to be of such general applicability as to be

incorporated into many kinds of material handling vehicles. Consequently, they
are used not only in custom-designed AGV vehicles and systems, but also to
automate conventional material handling equipment such as forklifts and pallet
jacks.
 Automatic guided vehicles can be guided between pick-up and delivery points by
several methods. The traditional method is an inductive loop, called a wire guide
path, which is embedded in the floor of the facility when the AGV system is
installed. The vehicles in a traditional AGV system are equipped with a sensor and
guidance equipment that causes them to follow the guide path. The Company
promotes an advanced laser guidance technology, (LGV), that employs a rotating
laser beam emitted from a vehicle to sweep the room and calculate angles to
detected reflectors. The vehicle's computer uses the data gathered in this manner
to determine its location and progress towards its destination. The vehicle can be
rerouted remotely by computer. In most cases, laser guidance is superior to
inductive loop technology because it permits the end user to alter the designated
routines of AGVs without extensive reconfiguration of the facility.
RESOURCES
Atmel Corp.
Makers of the AVR microcontroller
http://www.atmel.com
AVRbeginners.net
http://www.avrbeginners.net/
AVR assembler tutorial
Tutorial for learning assembly language for the AVR-Single-Chip-Processors
ATMEL with practical examples.
http://www.avr-asm-tutorial.net/
One of the best sites AVR sites
http://www.avrfreaks.net
Basic Electronics
http://www.kpsec.freeuk.com/
Williamson Labs
Nice animated tutorials, articles and project ideas.
http://www.williamson-labs.com/home.htm
Small Robot Sensors
http://www.andrew.cmu.edu/user/rjg/websensors/robot_sensors2.html
Robotics India
An Indian site devoted to robotics.
http://www.roboticsindia.com/
THANK YOU !

Más contenido relacionado

La actualidad más candente

line following robot
line following robotline following robot
line following robot
Rehnaz Razvi
 
line following robot ppt
line following robot pptline following robot ppt
line following robot ppt
Suchit Moon
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
Farooq Saeed
 

La actualidad más candente (20)

Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
line following robot
line following robotline following robot
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
 
Controlling Robotic Vehicle With IR Remote
Controlling Robotic Vehicle With IR RemoteControlling Robotic Vehicle With IR Remote
Controlling Robotic Vehicle With IR Remote
 
Final report of line follower robot
Final report of line follower robotFinal report of line follower robot
Final report of line follower robot
 
ROBOTIC ARM
ROBOTIC ARMROBOTIC ARM
ROBOTIC ARM
 
Sensor Based Blind Stick
Sensor Based Blind StickSensor Based Blind Stick
Sensor Based Blind Stick
 
line following robot ppt
line following robot pptline following robot ppt
line following robot ppt
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
Obstacle Avoidance Robotic Vehicle Using Ultrasonic Sensor, Android and Bluet...
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
 
Smart Blind Stick using Arduino
Smart Blind Stick using ArduinoSmart Blind Stick using Arduino
Smart Blind Stick using Arduino
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
Automatic railway gate control using arduino uno
Automatic railway gate control using arduino unoAutomatic railway gate control using arduino uno
Automatic railway gate control using arduino uno
 
SMART BLIND STICK
SMART BLIND STICK SMART BLIND STICK
SMART BLIND STICK
 
Automatic Railway Gate Control System with Arduino
Automatic Railway Gate Control System with ArduinoAutomatic Railway Gate Control System with Arduino
Automatic Railway Gate Control System with Arduino
 
Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semster
 
Sensor Based Blind Stick
Sensor Based Blind StickSensor Based Blind Stick
Sensor Based Blind Stick
 

Destacado

Final report on line follower
Final report on line followerFinal report on line follower
Final report on line follower
Priya Hada
 
line following robot
line following robotline following robot
line following robot
Rehnaz Razvi
 
The line follower robot
The line follower robotThe line follower robot
The line follower robot
Poonam Narang
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
ANU_110
 
light follower robot
light follower robotlight follower robot
light follower robot
anuragyadav94
 
pick-and-place-robot
pick-and-place-robotpick-and-place-robot
pick-and-place-robot
Suchit Moon
 
Đồ án thiết kế robot dò đường
Đồ án thiết kế robot dò đườngĐồ án thiết kế robot dò đường
Đồ án thiết kế robot dò đường
Kiều Tú
 

Destacado (18)

Final report on line follower
Final report on line followerFinal report on line follower
Final report on line follower
 
line following robot
line following robotline following robot
line following robot
 
The line follower robot
The line follower robotThe line follower robot
The 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
 
light follower robot
light follower robotlight follower robot
light follower robot
 
Pick and place Line following robot report
Pick and place Line following robot reportPick and place Line following robot report
Pick and place Line following robot report
 
Report - Light Sensing Robot
Report - Light Sensing RobotReport - Light Sensing Robot
Report - Light Sensing Robot
 
Line Follower Final Report
Line Follower Final ReportLine Follower Final Report
Line Follower Final Report
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
Seminar report on robotics (line follower) ppt
Seminar report on robotics (line follower) pptSeminar report on robotics (line follower) ppt
Seminar report on robotics (line follower) ppt
 
Line follower Robot using PID algorithm
Line follower Robot using PID algorithmLine follower Robot using PID algorithm
Line follower Robot using PID algorithm
 
pick-and-place-robot
pick-and-place-robotpick-and-place-robot
pick-and-place-robot
 
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
 
Đồ án thiết kế robot dò đường
Đồ án thiết kế robot dò đườngĐồ án thiết kế robot dò đường
Đồ án thiết kế robot dò đường
 
Project Report for Automated Guided Vehicle
Project Report for Automated Guided VehicleProject Report for Automated Guided Vehicle
Project Report for Automated Guided Vehicle
 
Fabrication of Automatic Guided Vehicle
Fabrication of Automatic Guided Vehicle Fabrication of Automatic Guided Vehicle
Fabrication of Automatic Guided Vehicle
 
Pid control for line follwoers
Pid control for line follwoersPid control for line follwoers
Pid control for line follwoers
 

Similar a Line following robot - Mini project

Development of Automated Guided Vehicle (AGV)
Development of Automated Guided Vehicle (AGV)Development of Automated Guided Vehicle (AGV)
Development of Automated Guided Vehicle (AGV)
Nur Syafiqah Mustaffa
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
manish katara
 
Speed checkers for highways
Speed checkers for highwaysSpeed checkers for highways
Speed checkers for highways
Rahul Kshirsagar
 

Similar a Line following robot - Mini project (20)

Presentation1
Presentation1Presentation1
Presentation1
 
IRJET - Android based Pick and Place Robot Vehicle for Industries
IRJET -  	  Android based Pick and Place Robot Vehicle for IndustriesIRJET -  	  Android based Pick and Place Robot Vehicle for Industries
IRJET - Android based Pick and Place Robot Vehicle for Industries
 
Development of Automated Guided Vehicle (AGV)
Development of Automated Guided Vehicle (AGV)Development of Automated Guided Vehicle (AGV)
Development of Automated Guided Vehicle (AGV)
 
IRJET- Automated Guided Vehicle using Servo Motor in Indoor Positioning S...
IRJET-  	  Automated Guided Vehicle using Servo Motor in Indoor Positioning S...IRJET-  	  Automated Guided Vehicle using Servo Motor in Indoor Positioning S...
IRJET- Automated Guided Vehicle using Servo Motor in Indoor Positioning S...
 
Ijett v5 n1p108
Ijett v5 n1p108Ijett v5 n1p108
Ijett v5 n1p108
 
ACCIDENT PREVENTION AND IDENTIFICATION SYSTEM FOR VEHICLES USING ARDUINO
ACCIDENT PREVENTION AND IDENTIFICATION SYSTEM FOR VEHICLES USING ARDUINOACCIDENT PREVENTION AND IDENTIFICATION SYSTEM FOR VEHICLES USING ARDUINO
ACCIDENT PREVENTION AND IDENTIFICATION SYSTEM FOR VEHICLES USING ARDUINO
 
AUTOMATIC ACCELERATION CONTROL IN TRAFFIC SIGNAL/SCHOOL ZONE
AUTOMATIC ACCELERATION CONTROL IN TRAFFIC SIGNAL/SCHOOL ZONEAUTOMATIC ACCELERATION CONTROL IN TRAFFIC SIGNAL/SCHOOL ZONE
AUTOMATIC ACCELERATION CONTROL IN TRAFFIC SIGNAL/SCHOOL ZONE
 
IRJET- Autonomous Floor Cleaning BOT
IRJET- 	  Autonomous Floor Cleaning BOTIRJET- 	  Autonomous Floor Cleaning BOT
IRJET- Autonomous Floor Cleaning BOT
 
IRJET- Design and Implementation of Automatic Traction System
IRJET-  	  Design and Implementation of Automatic Traction SystemIRJET-  	  Design and Implementation of Automatic Traction System
IRJET- Design and Implementation of Automatic Traction System
 
adaptivecruisecontrol-Abhi ppt1
adaptivecruisecontrol-Abhi ppt1adaptivecruisecontrol-Abhi ppt1
adaptivecruisecontrol-Abhi ppt1
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
 
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILESACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
ACCIDENT PREVENTION AND SECURITY SYSTEM FOR AUTOMOBILES
 
Car locking system
Car locking systemCar locking system
Car locking system
 
Embeded system
Embeded systemEmbeded system
Embeded system
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise control
 
Vehicle Head Light Beam Control Using RF Communication
Vehicle Head Light Beam Control Using RF CommunicationVehicle Head Light Beam Control Using RF Communication
Vehicle Head Light Beam Control Using RF Communication
 
IRJET- Adaptive Headlights System for Vehicle using Arduino
IRJET- Adaptive Headlights System for Vehicle using ArduinoIRJET- Adaptive Headlights System for Vehicle using Arduino
IRJET- Adaptive Headlights System for Vehicle using Arduino
 
Embeded system
Embeded systemEmbeded system
Embeded system
 
Speed checkers for highways
Speed checkers for highwaysSpeed checkers for highways
Speed checkers for highways
 
IRJET - Construction of "One Belt and One Road" Intelligent Analysis System
IRJET -  	  Construction of "One Belt and One Road" Intelligent Analysis SystemIRJET -  	  Construction of "One Belt and One Road" Intelligent Analysis System
IRJET - Construction of "One Belt and One Road" Intelligent Analysis System
 

Más de Amit Upadhye (8)

SAP_CRM
SAP_CRMSAP_CRM
SAP_CRM
 
Organisational culture
Organisational cultureOrganisational culture
Organisational culture
 
Kaizen
KaizenKaizen
Kaizen
 
Gap analysis
Gap analysisGap analysis
Gap analysis
 
E logistics
E logisticsE logistics
E logistics
 
SAP BI case study
SAP BI case studySAP BI case study
SAP BI case study
 
Road logistics india
Road logistics indiaRoad logistics india
Road logistics india
 
Pune
PunePune
Pune
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

Line following robot - Mini project

  • 1. Line Following Robot Amit Upadhye Atik Shaikh
  • 3. INTRODUCTION What is Line Follower? Line follower is a machine that can follow a path. The path can be visible like a black line on a white surface (or viceversa) or it can be invisible like a magnetic field. Why to built a Line follower? Applications:Automated cars running on roads with embedded magnets(ESC electronic stability control), guidance system for industrial robots moving on shop floor etc.
  • 5. ALGORITHM 1. L= leftmost sensor which reads 0; R= rightmost sensor which reads 0. If no sensor on Left (or Right) is 0 then L (or R) equals 0 2. If all sensors read 1 go to step 3, else, If L>R Move Left If L<R Move Right If L=R Move Forward Goto step 4
  • 6. ALGORITHM 3. Move Clockwise if line was last seen on Right Move Counter Clockwise if line was last seen on Left Repeat step 3 till line is found. 4. Goto step 1.
  • 7. COMPONENTS AVR SERIES MICROCONTROLLER ATMEGA16 DUAL FULL BRIDGE DRIVER L298 LOW POWER QUAD OPERATIONAL AMPLIFIER LM324 THREE TERMINAL POSITIVE VOLTAGE REGULATOR 7805 SINGLE PHASE BRIDGE RECTIFIER IC INFRARED TRANSMITTER RECIEVER
  • 9. IMPLEMENTATION OF SENSOR CIRCUIT The resistance of the sensor decreases when IR light falls on it. A good sensor will have near zero resistance in presence of light and a very large resistance in absence of light. We have used this property of the sensor to form a potential divider. The potential at point ‘2’ is Rsensor / (Rsensor + R1). Again, a good sensor circuit should give maximum change in potential at point ‘2’ for no-light and brightlight conditions.
  • 10. OBJECT DETECTION USING IR It is the same principle in ALL Infra-Red proximity sensors. The basic idea is to send infra red light through IRLEDs,which is then reflected by any object in front of the sensor. This is an electrical property of Light Emitting Diodes (LEDs) which is the fact that a led Produce a voltage difference across its leads when it is subjected to light. As if it was a photo-cell, but with much lower output current. In other words, the voltage generated by the leds can't be in any way used to generate electrical power from light, It can barely be detected. that's why as you will notice in the schematic, we are going to use a Op-Amp (operational Amplifier) to accurately detect very small voltage changes
  • 12. CIRCUIT DESCRIPTION The 8 sensors are connected to PORTA. The L298 Motor Driver has 4 inputs to control the motion of the motors and two enable inputs which are used for switching the motors on and off. To control the speed of the motors a PWM waveform with variable duty cycle is applied to the enable pins. Rapidly switching the voltage between Vs and GND gives an effective voltage between Vs and GND whose value depends on the duty cycle of PWM. 100% duty cycle corresponds to voltage equal to Vs, 50 % corresponds to 0.5Vs and so on The 1N4004 diodes are used to prevent back EMF of the motors from disturbing the remaining circuit. L298 is used as a coil driver instead of l293D L298 as it has current capacity of 2A per channel @ 45V compared to 0.6 A @ 36 V of a L293D. L293D’s package is not suitable for attaching a good heat sink, practically you can’t use it above 16V without frying it. L298 on the other hand works happily at 16V without a heat sink, though it is always better to use one.
  • 13. PROGRAMING PART  WRITING A CODE IN C  COMPILING CODE USING CODEVISION AVR  CONVERTING IT TO HEX USING CODEVISION AVR  SIMULATION OF THE HEX FILE IN THE AVR STUDIO 4.0  DOWNLOADING THE PORGRAMIN TO MICROCONTROLLER USING XELTEK’S UNIVERSAL PROGRAMMER
  • 14. VIDEO OF PROGRAMMING AND SIMULATION PART
  • 15. DESIGN OF MECHANICAL STRUCTURE
  • 16. APPLICATION Automated Stability control  Much like antilock brakes work to allow the driver to steer while braking on slippery surfaces, stability control works to help the vehicle stay on its driverintended path in turns. Sometimes a driver will enter a curve too quickly and exceed the tire's ability to hold the road through the turn. When this happens, the vehicle begins to spin or skid. Stability control pulsates the brakes of individual wheels to help "rotate" the vehicle to the driver's intended path.
  • 17.  Steering wheel angle sensor : determines the driver's intended rotation; i.e. where the driver wants to steer. This kind of sensor is often based on AMR-elements. Yaw rate sensor : measures the rotation rate of the car; i.e how much the car is actually turning. The data from the yaw sensor is compared with the data from the steering wheel angle sensor to determine regulating action.  Numerous studies around the world confirm that ESC is highly effective in helping the driver maintain control of the car and saving lives and reducing the severity of crashes.[3] In the fall of 2004 in the U.S., the National Highway and Traffic Safety Administration confirmed the international studies, releasing results of a field study in the U.S. of ESC effectiveness. NHTSA concluded that ESC reduces crashes by 35%. Additionally, Sport utility vehicles (SUV's) with stability control are involved in 67% fewer accidents than SUVs without the system. The Insurance Institute for Highway Safety (IIHS) issued its own study results in 2004 concluding that universal use of ESC could save 7,000 lives a year in the United States. In June 2006, the IIHS released a second study showing that up to 10,000 fatal US crashes could be avoided annually if all vehicles were equipped with ESC [4] The 2006 study concluded that ESC reduces the likelihood of all fatal crashes by 43%, fatal singlevehicle crashes by 56%, and fatal single-vehicle rollovers by 77-80%.
  • 18. APPLICATION AGV(Automated guided vehicles) Transbotics Corporation is a publicly held corporation specializing in tailor-made Automated Guided Vehicles (AGVs) integrated into a total automation solution.  AGVs are driverless, computer-controlled vehicles that are programmed to transport materials through designated pickup and delivery routines within a particular facility (usually a manufacturing or distribution facility) and to transmit information concerning system status, inventory tracking, and system controls to a system controller. The Company's AGV system products and services have been used in a variety of industries, including textiles, automotive, entertainment, newspaper publishing, and electronics.
  • 19.  These control products are designed to be of such general applicability as to be incorporated into many kinds of material handling vehicles. Consequently, they are used not only in custom-designed AGV vehicles and systems, but also to automate conventional material handling equipment such as forklifts and pallet jacks.  Automatic guided vehicles can be guided between pick-up and delivery points by several methods. The traditional method is an inductive loop, called a wire guide path, which is embedded in the floor of the facility when the AGV system is installed. The vehicles in a traditional AGV system are equipped with a sensor and guidance equipment that causes them to follow the guide path. The Company promotes an advanced laser guidance technology, (LGV), that employs a rotating laser beam emitted from a vehicle to sweep the room and calculate angles to detected reflectors. The vehicle's computer uses the data gathered in this manner to determine its location and progress towards its destination. The vehicle can be rerouted remotely by computer. In most cases, laser guidance is superior to inductive loop technology because it permits the end user to alter the designated routines of AGVs without extensive reconfiguration of the facility.
  • 20. RESOURCES Atmel Corp. Makers of the AVR microcontroller http://www.atmel.com AVRbeginners.net http://www.avrbeginners.net/ AVR assembler tutorial Tutorial for learning assembly language for the AVR-Single-Chip-Processors ATMEL with practical examples. http://www.avr-asm-tutorial.net/ One of the best sites AVR sites http://www.avrfreaks.net
  • 21. Basic Electronics http://www.kpsec.freeuk.com/ Williamson Labs Nice animated tutorials, articles and project ideas. http://www.williamson-labs.com/home.htm Small Robot Sensors http://www.andrew.cmu.edu/user/rjg/websensors/robot_sensors2.html Robotics India An Indian site devoted to robotics. http://www.roboticsindia.com/