SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot PresentationOli ullah
 
Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robotRahuldey1991
 
Radar Using Arduino
Radar Using ArduinoRadar Using Arduino
Radar Using ArduinoGolu Jain
 
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 unoselvalakshmi24
 
Line follower robot
Line follower robotLine follower robot
Line follower robotANU_110
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOjovin Richard
 
Sensor, Transducers and Actuator in Robotics
Sensor, Transducers and Actuator in RoboticsSensor, Transducers and Actuator in Robotics
Sensor, Transducers and Actuator in RoboticsIkram Arshad
 
Line follower Robot using PID algorithm
Line follower Robot using PID algorithmLine follower Robot using PID algorithm
Line follower Robot using PID algorithmIfaz Ahmed Aflan
 
line following robot ppt
line following robot pptline following robot ppt
line following robot pptSuchit Moon
 
Fire fighting robot ppt
Fire fighting robot pptFire fighting robot ppt
Fire fighting robot pptathmeg
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTMohit Kumar
 
Arduino based health monitoring system
Arduino based health monitoring systemArduino based health monitoring system
Arduino based health monitoring systemYousuf Shaikh
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance RobotYash Sati
 
Gesture Controlled Car_Project report
Gesture Controlled Car_Project reportGesture Controlled Car_Project report
Gesture Controlled Car_Project reportAshikapokiya12345
 
Line Following Robot Using Arduino
Line Following Robot Using ArduinoLine Following Robot Using Arduino
Line Following Robot Using ArduinoSamuel Manoj Palani
 

What's hot (20)

Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
 
Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Radar Using Arduino
Radar Using ArduinoRadar Using Arduino
Radar Using Arduino
 
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
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINO
 
Sensor, Transducers and Actuator in Robotics
Sensor, Transducers and Actuator in RoboticsSensor, Transducers and Actuator in Robotics
Sensor, Transducers and Actuator in Robotics
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
 
Line follower Robot using PID algorithm
Line follower Robot using PID algorithmLine follower Robot using PID algorithm
Line follower Robot using PID algorithm
 
line following robot ppt
line following robot pptline following robot ppt
line following robot ppt
 
Fire fighting robot ppt
Fire fighting robot pptFire fighting robot ppt
Fire fighting robot ppt
 
LINE FOLLOWER ROBOT
LINE FOLLOWER ROBOTLINE FOLLOWER ROBOT
LINE FOLLOWER ROBOT
 
SMART BLIND STICK
SMART BLIND STICK SMART BLIND STICK
SMART BLIND STICK
 
Arduino based health monitoring system
Arduino based health monitoring systemArduino based health monitoring system
Arduino based health monitoring system
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
Gesture Controlled Car_Project report
Gesture Controlled Car_Project reportGesture Controlled Car_Project report
Gesture Controlled Car_Project report
 
Parking sensor
Parking sensorParking sensor
Parking sensor
 
Line Following Robot Using Arduino
Line Following Robot Using ArduinoLine Following Robot Using Arduino
Line Following Robot Using Arduino
 

Viewers also liked

Viewers also liked (7)

Obstacle Detctor Robot report
Obstacle Detctor Robot reportObstacle Detctor Robot report
Obstacle Detctor Robot report
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23
 
Sensores de robots
Sensores de robotsSensores de robots
Sensores de robots
 
EDGE DETECTION
EDGE DETECTIONEDGE DETECTION
EDGE DETECTION
 
Obstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic VehicleObstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic Vehicle
 
Line following robot - Mini project
Line following robot - Mini projectLine following robot - Mini project
Line following robot - Mini project
 

Similar to Edge Avoiding Robot

Similar to 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
 
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
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
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
 
Understanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIITUnderstanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIIT
 
Mobile controll robot
Mobile controll robotMobile controll robot
Mobile controll robot
 

More from UVSofts Technologies (11)

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 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