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

More Related Content

What's hot (20)

Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
Abhishek Neb
 
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
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Abhishekvb
 
Single AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINO
Single AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINOSingle AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINO
Single AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINO
asadur babu
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
Priya Hada
 
Metal Detector Robotic Vehicle
Metal Detector Robotic VehicleMetal Detector Robotic Vehicle
Metal Detector Robotic Vehicle
Edgefxkits & Solutions
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
" Its-CooL " is said " Iskool "
 
OBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAROBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAR
Shubham Thakur
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Board
swarnimmaurya
 
CIM unit-5
CIM unit-5CIM unit-5
CIM unit-5
Dr.PERIASAMY K
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower Robot
Hassan Raza
 
Embedded system
Embedded systemEmbedded system
Embedded system
Vinod Srivastava
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
Ratan Srikanth
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
BIRLA VISHVAKARMA MAHAVIDYALAY
 
wireless E notice board
wireless E notice boardwireless E notice board
wireless E notice board
Ganesh Gani
 
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Abhishekvb
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23
Abhijeet kapse
 
Electronics Notice Board Notice board using Wi-Fi Report
Electronics Notice Board Notice board using Wi-Fi ReportElectronics Notice Board Notice board using Wi-Fi Report
Electronics Notice Board Notice board using Wi-Fi Report
Vaibhav Pandey
 
automatic streetlight control using ldr ppt
automatic streetlight control using ldr pptautomatic streetlight control using ldr ppt
automatic streetlight control using ldr ppt
anand kumar maurya
 
Initial and final condition for circuit
Initial and final condition for circuitInitial and final condition for circuit
Initial and final condition for circuit
vishalgohel12195
 
Voice Control Home Automation
Voice Control Home AutomationVoice Control Home Automation
Voice Control Home Automation
Abhishek Neb
 
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
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Abhishekvb
 
Single AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINO
Single AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINOSingle AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINO
Single AXIs Smart SOLAR TRACKING SYSTEM USING ARDUINO
asadur babu
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
Priya Hada
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Board
swarnimmaurya
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower Robot
Hassan Raza
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
Ratan Srikanth
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
BIRLA VISHVAKARMA MAHAVIDYALAY
 
wireless E notice board
wireless E notice boardwireless E notice board
wireless E notice board
Ganesh Gani
 
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
A Report on Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Abhishekvb
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23
Abhijeet kapse
 
Electronics Notice Board Notice board using Wi-Fi Report
Electronics Notice Board Notice board using Wi-Fi ReportElectronics Notice Board Notice board using Wi-Fi Report
Electronics Notice Board Notice board using Wi-Fi Report
Vaibhav Pandey
 
automatic streetlight control using ldr ppt
automatic streetlight control using ldr pptautomatic streetlight control using ldr ppt
automatic streetlight control using ldr ppt
anand kumar maurya
 
Initial and final condition for circuit
Initial and final condition for circuitInitial and final condition for circuit
Initial and final condition for circuit
vishalgohel12195
 

Viewers also liked (7)

Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robot
Rahuldey1991
 
Obstacle Detctor Robot report
Obstacle Detctor Robot reportObstacle Detctor Robot report
Obstacle Detctor Robot report
Nikita Kaushal
 
Edge detection
Edge detectionEdge detection
Edge detection
Ishraq Al Fataftah
 
Sensores de robots
Sensores de robotsSensores de robots
Sensores de robots
Omar Sanchez
 
EDGE DETECTION
EDGE DETECTIONEDGE DETECTION
EDGE DETECTION
VIKAS SINGH BHADOURIA
 
Obstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic VehicleObstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic Vehicle
Edgefxkits & Solutions
 
Line following robot - Mini project
Line following robot - Mini projectLine following robot - Mini project
Line following robot - Mini project
Amit Upadhye
 
Ad

Similar to Edge detector robot (20)

Line follower robot
Line follower robotLine follower robot
Line follower robot
UVSofts Technologies
 
LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010
Journal For Research
 
340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdf340211628-Line-Follower-Robot-Presentation.pdf
340211628-Line-Follower-Robot-Presentation.pdf
divyanshuranjan9973
 
Obstacle observing
Obstacle observingObstacle observing
Obstacle observing
Lokendra Singh
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
UVSofts Technologies
 
Pc controlled robot
Pc controlled robotPc controlled robot
Pc controlled robot
UVSofts Technologies
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
UVSofts Technologies
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
Ahmed A. Arefin
 
371275588.pptx
371275588.pptx371275588.pptx
371275588.pptx
AnandVerma529372
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
Self-employed
 
Obstacle avoiding robot
Obstacle avoiding robotObstacle avoiding robot
Obstacle avoiding robot
Electronics - Embedded System
 
Obstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro ControllerObstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro Controller
Electronics - Embedded System
 
pdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docxpdf-obstacle-avoiding-robot.docx
pdf-obstacle-avoiding-robot.docx
maheshwaran79
 
Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
Bikram Prasad
 
Electronic system line follower Rrrobot.pdf
Electronic system line follower Rrrobot.pdfElectronic system line follower Rrrobot.pdf
Electronic system line follower Rrrobot.pdf
xxkokikifanxx
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
Oli ullah
 
Newppt major
Newppt majorNewppt major
Newppt major
Shivangi Jain
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16
Ramadan Ramadan
 
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
SyedMohiuddin62
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot
saiharsha41
 
Ad

More from UVSofts Technologies (11)

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

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