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

More Related Content

What's hot

Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
Sudhanshu Janwadkar
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
Amarjeetsingh Thakur
 
Project report on arduino based parking lot system
Project report on arduino based parking lot systemProject report on arduino based parking lot system
Project report on arduino based parking lot system
United International University
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
UVSofts Technologies
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
SARITHA REDDY
 
Seven segment display
Seven segment displaySeven segment display
Seven segment display
Suman Bargav
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
vishalgohel12195
 
Maze Solver Robot Poster
Maze Solver Robot PosterMaze Solver Robot Poster
Maze Solver Robot Poster
Naveed Ahmed
 
Seven Segment Display
Seven Segment DisplaySeven Segment Display
Seven Segment Display
Kshitij Wagle
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
KanchanPatil34
 
light follower robot
light follower robotlight follower robot
light follower robotanuragyadav94
 
Ppt on interfacing led and 7 segmentwith 8951
Ppt on interfacing led  and 7 segmentwith 8951Ppt on interfacing led  and 7 segmentwith 8951
Ppt on interfacing led and 7 segmentwith 8951
pooja jaiswal
 
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
 
I o ports.ppt
I o ports.pptI o ports.ppt
I o ports.ppt
Pradeep V Dev
 
Fingerprint Based Security System
Fingerprint Based Security SystemFingerprint Based Security System
Fingerprint Based Security System
Trijendra Singh
 
Fingerprint base security system
Fingerprint base security systemFingerprint base security system
Fingerprint base security system
praful borad
 
The line follower robot
The line follower robotThe line follower robot
The line follower robotPoonam Narang
 
Interrupts of 8085
Interrupts of 8085Interrupts of 8085
Interrupts of 8085
ShivamSood22
 
Arduino line follower robot
Arduino line follower robot Arduino line follower robot
Arduino line follower robot
Dimuth C Bandara
 

What's hot (20)

Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
 
Project report on arduino based parking lot system
Project report on arduino based parking lot systemProject report on arduino based parking lot system
Project report on arduino based parking lot system
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
 
8051 data types and directives
8051 data types and directives8051 data types and directives
8051 data types and directives
 
Seven segment display
Seven segment displaySeven segment display
Seven segment display
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
Maze Solver Robot Poster
Maze Solver Robot PosterMaze Solver Robot Poster
Maze Solver Robot Poster
 
Seven Segment Display
Seven Segment DisplaySeven Segment Display
Seven Segment Display
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
 
light follower robot
light follower robotlight follower robot
light follower robot
 
Ppt on interfacing led and 7 segmentwith 8951
Ppt on interfacing led  and 7 segmentwith 8951Ppt on interfacing led  and 7 segmentwith 8951
Ppt on interfacing led and 7 segmentwith 8951
 
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
 
I o ports.ppt
I o ports.pptI o ports.ppt
I o ports.ppt
 
Fingerprint Based Security System
Fingerprint Based Security SystemFingerprint Based Security System
Fingerprint Based Security System
 
Fingerprint base security system
Fingerprint base security systemFingerprint base security system
Fingerprint base security system
 
The line follower robot
The line follower robotThe line follower robot
The line follower robot
 
Interrupts of 8085
Interrupts of 8085Interrupts of 8085
Interrupts of 8085
 
Arduino line follower robot
Arduino line follower robot Arduino line follower robot
Arduino line follower robot
 
Introduction to stm32-part2
Introduction to stm32-part2Introduction to stm32-part2
Introduction to stm32-part2
 

Viewers also liked

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
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
Ratan Srikanth
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Abhijeet kapse
 
Sensores de robots
Sensores de robotsSensores de robots
Sensores de robotsOmar 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
 

Viewers also liked (9)

Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robot
 
Obstacle Detctor Robot report
Obstacle Detctor Robot reportObstacle Detctor Robot report
Obstacle Detctor Robot report
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Obstacle Avoidance Robot
Obstacle Avoidance RobotObstacle Avoidance Robot
Obstacle Avoidance Robot
 
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 detector robot

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
 
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
 
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
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot
saiharsha41
 

Similar to Edge detector robot (20)

Line follower robot
Line follower robotLine follower robot
Line follower robot
 
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
 
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
 
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
 
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
 

More from UVSofts Technologies

Arduino dtmf controlled robot
Arduino dtmf controlled robotArduino dtmf controlled robot
Arduino dtmf 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
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
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
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
 

More from UVSofts Technologies (11)

Arduino dtmf controlled robot
Arduino dtmf controlled robotArduino dtmf controlled robot
Arduino dtmf 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 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