SlideShare une entreprise Scribd logo
1  sur  7
EDGE DETECTOR AND AVOIDER ROBOT 
The purpose of this robot is to keep moving on a platform without 
falling from it. For this it detects the edge of the platform and avoid 
the edge by turning to opposite side for example if it detects an edge 
to its right, it turns to left and vice versa. 
Overview 
Edge Detector Robot
Hardware components required and their purpose: 
1. A microcontroller (ATMega8) 
2. IR Sensor 
3. Comparator 
4. DC motor 
5. Motor driver IC (L293D) 
6. Wheels 
7. Power adopter 
 Microcontroller (ATMega8): This is the brain of this robot in 
which the program is loaded to do the required functioning and 
is interfaced with sensors and the motor driver to make the 
system work as required. 
 IR sensor: This senses whether there is platform in front of the 
robot or an edge is arrived and sends the appropriate signal to 
the comparator. 
 Comparator: This gets input from the sensor, compare it with 
predefined voltage and send logic 1 to microcontroller if there is 
detected a still platform and logic 0 if edge of platform is there.
IR Sensor Circuit 
 DC Motor: This motor is controlled with DC voltages and can 
move in forward and backward direction according to the 
polarity of the voltage applied. 
 Motor driver IC (L293D): Microcontrollers can’t supply the 
current required by DC motor to run. So, to fulfill this 
requirement these motor driver ICs are used.
DC motors with Driver IC 
 Power adopter: This is used to give appropriate dc power 
supply to microcontroller, driver IC sensors and the other 
passive components of the robot. 
 Wheels: In it three wheels are employed, two at rear end and one 
at front end. Rear wheels are attached with the motors and also 
control the steering of robot. Front wheel is the loose steered 
wheel which moves in the direction of the pressure applied to it.
Block Diagram: 
Block Diagram: Edge Detector 
Description 
The sensors are mounted at front end of the robot at both left and 
right side. The sensors are designed to detect the light reflecting from 
the platform on which it is moving and at the edge, sensors don’t get 
this light. The robot starts moving on platform and until it is on the 
platform it is receiving the reflected light and robot keeps moving. As 
soon as it reaches the edge (say left edge), the left sensor doesn’t
receives the light and the comparator sends logic 0 to the 
microcontroller for the left sensor. On getting this condition the 
microcontroller make the robot to turn right by turning only the left 
motor ON and making the right side motor OFF. Reverse will happen 
if the right sensor detects the edge. 
In this way the robot keeps moving on the platform and doesn’t fall 
by avoiding the edges. 
Programming I/O port of ATMega8: 
Each port has three i/o registers associated with it which are 
designated as DDRx, PORTx, PINx. 
Port Registers in ATMega8
DDRx register: 
It stands for data direction register. This register is of 8 bits. Value of this 
register decides whether the port will act as input port or as output port. 
To make any port as input port, the contents of the associated DDRx 
register are made 0x00 and to make any port as output port, the contents 
of the associated DDRx register are made 0xff. 
PORTx register: 
This register is responsible for outputting any data to the port. Data to be 
outputted to any port is loaded to the corresponding PORTx register after 
making the direction of that port as output. 
For example: 
To send 0x14 to PORTA:- 
DDRA=0xFF; 
PORTA=0x14; 
PINx register: 
This register is responsible for inputting data from any port. Data to be 
inputted from any port is taken from the corresponding PINx register 
after making the direction of that port as input. 
For example: 
To get data from PORTB:- 
DDRA=0x00; 
var=PINB; //’var’ is a character type variable

Contenu connexe

Tendances

Line Following Robot
Line Following RobotLine Following Robot
Line Following RobotSelf-employed
 
Line follower robot
Line follower robotLine follower robot
Line follower robotPriya Hada
 
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 obstacle avoidance robot
Arduino obstacle avoidance robotArduino obstacle avoidance robot
Arduino obstacle avoidance robotSteven Radigan
 
Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding RobotRasheed Khan
 
line following robot ppt
line following robot pptline following robot ppt
line following robot pptSuchit Moon
 
EYE BLINK SENSOR TO CONTROL ACCIDENTPpt main
EYE BLINK SENSOR TO CONTROL ACCIDENTPpt mainEYE BLINK SENSOR TO CONTROL ACCIDENTPpt main
EYE BLINK SENSOR TO CONTROL ACCIDENTPpt mainGourav Srivastava
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot PresentationOli ullah
 
line following robot
line following robotline following robot
line following robotRehnaz Razvi
 
The line follower robot
The line follower robotThe line follower robot
The line follower robotPoonam Narang
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNOViswanadh Ivaturi
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMJOLLUSUDARSHANREDDY
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance RobotYash Sati
 
Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semsteraqeel shoukat
 
GESTURE CONTROL ROBOT
GESTURE CONTROL ROBOTGESTURE CONTROL ROBOT
GESTURE CONTROL ROBOTSatyam Kumar
 
HAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIRHAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIRNoufal Nechiyan
 

Tendances (20)

Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Obstacle Avoidance Robot Summer training Presentation
Obstacle Avoidance Robot Summer training Presentation Obstacle Avoidance Robot Summer training Presentation
Obstacle Avoidance Robot Summer training Presentation
 
Obstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic VehicleObstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic Vehicle
 
Obstacle avoiding robot.doc
Obstacle avoiding robot.docObstacle avoiding robot.doc
Obstacle avoiding robot.doc
 
Arduino obstacle avoidance robot
Arduino obstacle avoidance robotArduino obstacle avoidance robot
Arduino obstacle avoidance robot
 
Obstacle avoiding Robot
Obstacle avoiding RobotObstacle avoiding Robot
Obstacle avoiding Robot
 
line following robot ppt
line following robot pptline following robot ppt
line following robot ppt
 
EYE BLINK SENSOR TO CONTROL ACCIDENTPpt main
EYE BLINK SENSOR TO CONTROL ACCIDENTPpt mainEYE BLINK SENSOR TO CONTROL ACCIDENTPpt main
EYE BLINK SENSOR TO CONTROL ACCIDENTPpt main
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
 
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 Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
 
SMART BLIND STICK
SMART BLIND STICK SMART BLIND STICK
SMART BLIND STICK
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semster
 
GESTURE CONTROL ROBOT
GESTURE CONTROL ROBOTGESTURE CONTROL ROBOT
GESTURE CONTROL ROBOT
 
HAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIRHAND GESTURE CONTROLLED WHEEL CHAIR
HAND GESTURE CONTROLLED WHEEL CHAIR
 

Similaire à Edge Avoiding Robot

Similaire à Edge Avoiding Robot (20)

LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010
 
340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdf340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdf
 
Obstacle observing
Obstacle observingObstacle observing
Obstacle observing
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Pc controlled robot
Pc controlled robotPc controlled robot
Pc controlled robot
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
 
371275588.pptx
371275588.pptx371275588.pptx
371275588.pptx
 
Obstacle avoiding robot
Obstacle avoiding robotObstacle avoiding robot
Obstacle avoiding robot
 
Obstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro ControllerObstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro Controller
 
pdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docxpdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docx
 
Newppt major
Newppt majorNewppt major
Newppt major
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16
 
Fire Fighter Robot with Night Vision Camera (1).pptx
Fire Fighter Robot with Night Vision Camera (1).pptxFire Fighter Robot with Night Vision Camera (1).pptx
Fire Fighter Robot with Night Vision Camera (1).pptx
 
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
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot
 
Robotic Hand
Robotic HandRobotic Hand
Robotic Hand
 
DLD-LAB-PROPOSAL
DLD-LAB-PROPOSALDLD-LAB-PROPOSAL
DLD-LAB-PROPOSAL
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOT
 
Understanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIITUnderstanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIIT
 

Plus de UVSofts Technologies (12)

Arduino dtmf controlled robot
Arduino dtmf controlled robotArduino dtmf controlled robot
Arduino dtmf controlled robot
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
 
Vehicle tracting system
Vehicle tracting systemVehicle tracting system
Vehicle tracting system
 
GPS based tracking system
GPS based tracking systemGPS based tracking system
GPS based tracking system
 
Password based door locksystem
Password  based door locksystemPassword  based door locksystem
Password based door locksystem
 
Calculator
CalculatorCalculator
Calculator
 
Basic standard calculator
Basic standard calculatorBasic standard calculator
Basic standard calculator
 
Password based door locksystem
Password  based door locksystemPassword  based door locksystem
Password based door locksystem
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Pc controlled robot
Pc controlled robotPc controlled robot
Pc controlled robot
 
Mobile controll robot
Mobile controll robotMobile controll robot
Mobile controll robot
 
Mobile controlled robot
Mobile controlled robotMobile controlled robot
Mobile controlled robot
 

Edge Avoiding Robot

  • 1. EDGE DETECTOR AND AVOIDER ROBOT The purpose of this robot is to keep moving on a platform without falling from it. For this it detects the edge of the platform and avoid the edge by turning to opposite side for example if it detects an edge to its right, it turns to left and vice versa. Overview Edge Detector Robot
  • 2. Hardware components required and their purpose: 1. A microcontroller (ATMega8) 2. IR Sensor 3. Comparator 4. DC motor 5. Motor driver IC (L293D) 6. Wheels 7. Power adopter  Microcontroller (ATMega8): This is the brain of this robot in which the program is loaded to do the required functioning and is interfaced with sensors and the motor driver to make the system work as required.  IR sensor: This senses whether there is platform in front of the robot or an edge is arrived and sends the appropriate signal to the comparator.  Comparator: This gets input from the sensor, compare it with predefined voltage and send logic 1 to microcontroller if there is detected a still platform and logic 0 if edge of platform is there.
  • 3. IR Sensor Circuit  DC Motor: This motor is controlled with DC voltages and can move in forward and backward direction according to the polarity of the voltage applied.  Motor driver IC (L293D): Microcontrollers can’t supply the current required by DC motor to run. So, to fulfill this requirement these motor driver ICs are used.
  • 4. DC motors with Driver IC  Power adopter: This is used to give appropriate dc power supply to microcontroller, driver IC sensors and the other passive components of the robot.  Wheels: In it three wheels are employed, two at rear end and one at front end. Rear wheels are attached with the motors and also control the steering of robot. Front wheel is the loose steered wheel which moves in the direction of the pressure applied to it.
  • 5. Block Diagram: Block Diagram: Edge Detector Description The sensors are mounted at front end of the robot at both left and right side. The sensors are designed to detect the light reflecting from the platform on which it is moving and at the edge, sensors don’t get this light. The robot starts moving on platform and until it is on the platform it is receiving the reflected light and robot keeps moving. As soon as it reaches the edge (say left edge), the left sensor doesn’t
  • 6. receives the light and the comparator sends logic 0 to the microcontroller for the left sensor. On getting this condition the microcontroller make the robot to turn right by turning only the left motor ON and making the right side motor OFF. Reverse will happen if the right sensor detects the edge. In this way the robot keeps moving on the platform and doesn’t fall by avoiding the edges. Programming I/O port of ATMega8: Each port has three i/o registers associated with it which are designated as DDRx, PORTx, PINx. Port Registers in ATMega8
  • 7. DDRx register: It stands for data direction register. This register is of 8 bits. Value of this register decides whether the port will act as input port or as output port. To make any port as input port, the contents of the associated DDRx register are made 0x00 and to make any port as output port, the contents of the associated DDRx register are made 0xff. PORTx register: This register is responsible for outputting any data to the port. Data to be outputted to any port is loaded to the corresponding PORTx register after making the direction of that port as output. For example: To send 0x14 to PORTA:- DDRA=0xFF; PORTA=0x14; PINx register: This register is responsible for inputting data from any port. Data to be inputted from any port is taken from the corresponding PINx register after making the direction of that port as input. For example: To get data from PORTB:- DDRA=0x00; var=PINB; //’var’ is a character type variable