SlideShare a Scribd company logo
Obstacle
Avoidance Robot
Powered by Arduino
CircuitComponents Working Source Code Scope
Components
Components /
1. Chassis 2. Arduino UNO 3. DC Motor
4. Motor Driver 6. Servo Motor5. Ultrasonic Sensor
Components /
1. Chassis
• Good quality robotic chassis for DIY
projects
• Laser cut super smooth double layer
acrylic chassis
• Contains Ultrasonic Sensor and Servo
Motor holder
Components /
2. Arduino UNO
Microcontroller ATmega328P
Operating Voltage 5V
Input Voltage 7-12V (recommended)
6-20V (limit)
Digital I/O Pins 14
PWM Digital I/O Pins 6
Analog Input Pins 6
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
BUILTIN LED 13
Dimension 68.6 mm X 53.4 mm
Weight 25g
Components /
2. Arduino UNO
Open Source Hardware: Schematics
• Arduino Uno is open-source hardware! You
can build your own board
Programming
• The UNO is the best board to get started with
electronics and coding
• The Arduino Uno can be programmed with
the Arduino Software IDE
Power
• The Arduino Uno board can be powered via
the USB connection or with an external
power supply from 6 to 20 volts. The power
source is selected automatically
Components /
3. DC Motor
Voltage 3-6V DC
Reduction Ratio 1:48
Maximum torque 800k.cm
Material Plastic
Weight 2.4 ounces
Load Current 70mA (250mA MAX)
No-load Speed 1:48 (3V)
Components /
4. L298N Motor Driver
Driver Dual H Bridge Motor Driver IC
Operating
Voltage
7 to 35V
Peak Current 2A
Max Power
Consumption
20W (When the temperature
T = 75 °C
Weight 33g
Components /
5. HC-SR04 Ultrasonic Sensor
Operating Voltage 5V
Theoretical Measuring
Distance
2cm to 450cm
Practical Measuring
Distance
2cm to 80cm
Measuring Angle
Covered
<15°
Operating Current <15mA
Operating Frequency 40Hz
Components /
6. SG90 Micro Servo Motor
Operating Voltage 5V
Torque 2.5kg/cm
Operating Speed 0.1s/60°
Gear Type Plastic
Rotation 0°-240°
Weight 9g
Working
Working /
1. Calculating the Distance
• Ultrasonic signals travel at the speed of sound
• At 20°C the speed of sound is 343 m/s
• Time measured by HC-SR04 is for return trip
• Divide time in half to calculate distance
𝐷 = (Δt/2) × 𝑐
Δt = Time Delay
C = Speed of Sound
D = Distance Measured
Working /
2. Controlling the Speed and Direction of DC Motor
Motor A Enable:
• 5Volts = Enabled
• Ground = Disabled
• PWM = Speed Control
Motor A:
• Input 1: 5 Volts = Forward
• Input 2: Ground = Forward
Motor A:
• Input 1: Ground = Reversed
• Input 2: 5 Volts = Reversed
*Motor B Inputs work the same way
Pulse Width Modulation (PWM)
Working /
3. Using Servo Motor to Rotate Ultrasonic Sensor
• SG90 Micro Servos use DC motors
• Potentiometer is used as feedback sensor
• Internal controller board monitors and adjust position
• Position controlled using Pulse Width Modulation (PWM)
Torque
• Amount of force servo can apply to a lever
• Measured in kilogram centimetres (kg-cm)
• Rated Torque: 2.5 kg-cm
Circuit
Circuit /
Obstacle Avoidance Robot Schematic
Source
Code
Source Code </> /
Move Forward Function
Source Code </> /
Move Backward Function
Source Code </> /
Turn Right Function
Source Code </> /
Turn Left Function
Source Code </> /
Move Stop Function
Distance Calculator Function
Source Code </> /
Look Right Function
Look Left Function
Source Code </> /
Pin Declaration
Source Code </> /
Arduino Setup Code
Source Code </> /
Arduino Loop Code
Scope
Scope /
Further Improvements and Future Scope
1. Adding a Camera
• If interfaced with a camera, robot can be driven beyond line of sight
• Range becomes practically unlimited as network have a large range
2. Use as a fire fighter robot
• Addition of temperature sensor, water tank required
• Required some changes in programming
• It can work as an autonomous fire extinguisher
3. Obstacle detection for a Mining Vehicle
4. Driverless vehicles running along beams
5. Obstacle detecting system for a motor vehicle
6. Autonomous cleaning robot
Thank You

More Related Content

What's hot

Line Following Robot
Line Following RobotLine Following Robot
Line Following RobotVikram Jha
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Abhijeet kapse
 
Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robotRahuldey1991
 
Two wheel self balancing robot
 Two wheel self balancing robot Two wheel self balancing robot
Two wheel self balancing robotadeela aslam
 
Obstacle avoiding car project slide
Obstacle avoiding car project slideObstacle avoiding car project slide
Obstacle avoiding car project slideShourovSarkerJoy
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNOViswanadh Ivaturi
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot PresentationOli ullah
 
Line follower robot
Line follower robotLine follower robot
Line follower robotPriya Hada
 
Line follower robot
Line follower robotLine follower robot
Line follower robotANU_110
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following RobotSelf-employed
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOjovin Richard
 
GESTURE CONTROL ROBOT
GESTURE CONTROL ROBOTGESTURE CONTROL ROBOT
GESTURE CONTROL ROBOTSatyam Kumar
 

What's hot (20)

Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Obstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic VehicleObstacle Avoidance Robotic Vehicle
Obstacle Avoidance Robotic Vehicle
 
Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23Obstacle Avoiding Robot Report Robot23
Obstacle Avoiding Robot Report Robot23
 
Obstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro ControllerObstacle Avoiding Robot Using Micro Controller
Obstacle Avoiding Robot Using Micro Controller
 
Obstacle avoidance robot
Obstacle avoidance robotObstacle avoidance robot
Obstacle avoidance robot
 
Two wheel self balancing robot
 Two wheel self balancing robot Two wheel self balancing robot
Two wheel self balancing robot
 
Obstacle avoiding car project slide
Obstacle avoiding car project slideObstacle avoiding car project slide
Obstacle avoiding car project slide
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
 
Line Following Robot Presentation
Line Following Robot PresentationLine Following Robot Presentation
Line Following Robot Presentation
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Gesture control car
Gesture control carGesture control car
Gesture control car
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Obstacle avoiding robot
Obstacle avoiding robotObstacle avoiding robot
Obstacle avoiding robot
 
Obstacle Detection Robot
Obstacle Detection RobotObstacle Detection Robot
Obstacle Detection Robot
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINO
 
GESTURE CONTROL ROBOT
GESTURE CONTROL ROBOTGESTURE CONTROL ROBOT
GESTURE CONTROL ROBOT
 

Similar to Obstacle Avoidance Robot (Powered by Arduino)

Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Tawsif Rahman Chowdhury
 
Arduino Based Project.pptx
Arduino Based Project.pptxArduino Based Project.pptx
Arduino Based Project.pptxAbhishek Sharma
 
SMARTPHONE CONROL ROBOTIC CAR.pptx
SMARTPHONE CONROL ROBOTIC CAR.pptxSMARTPHONE CONROL ROBOTIC CAR.pptx
SMARTPHONE CONROL ROBOTIC CAR.pptxYUVAPRAJAN
 
Multi-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for ArduinoMulti-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for ArduinoWanita Long
 
Self Obstacle Avoiding Rover
Self Obstacle Avoiding RoverSelf Obstacle Avoiding Rover
Self Obstacle Avoiding RoverEmam Hasan
 
IRJET- Automatic Mini CNC Machine for PCB Drawing using Arduino
IRJET- Automatic Mini CNC Machine for PCB Drawing using ArduinoIRJET- Automatic Mini CNC Machine for PCB Drawing using Arduino
IRJET- Automatic Mini CNC Machine for PCB Drawing using ArduinoIRJET Journal
 
Bluetooth Home Automation
Bluetooth Home AutomationBluetooth Home Automation
Bluetooth Home AutomationApoorv Gupta
 
Exoskeleton arm ppt
Exoskeleton arm pptExoskeleton arm ppt
Exoskeleton arm pptVivekC37
 
Stepper motor control
Stepper motor controlStepper motor control
Stepper motor controlJatin Arora
 
Joystick Controlled Wheelchair
Joystick Controlled WheelchairJoystick Controlled Wheelchair
Joystick Controlled WheelchairIRJET Journal
 
Design and Development of a prototype of AGV
Design and Development of a prototype of AGVDesign and Development of a prototype of AGV
Design and Development of a prototype of AGVKUNJBIHARISINGH5
 
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...IRJET Journal
 
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWALJOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWALVaishnavi Agrawal
 
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWALJOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWALVaishnavi Agrawal
 
ACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARHarshit Jain
 
Human robot interaction based on gesture identification
Human robot interaction based on gesture identificationHuman robot interaction based on gesture identification
Human robot interaction based on gesture identificationRestin S Edackattil
 
Fundamentals of plc 1
Fundamentals of plc 1Fundamentals of plc 1
Fundamentals of plc 1Sachin Tupe
 

Similar to Obstacle Avoidance Robot (Powered by Arduino) (20)

Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
 
My minor project
My minor projectMy minor project
My minor project
 
Arduino Based Project.pptx
Arduino Based Project.pptxArduino Based Project.pptx
Arduino Based Project.pptx
 
SMARTPHONE CONROL ROBOTIC CAR.pptx
SMARTPHONE CONROL ROBOTIC CAR.pptxSMARTPHONE CONROL ROBOTIC CAR.pptx
SMARTPHONE CONROL ROBOTIC CAR.pptx
 
Multi-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for ArduinoMulti-Function Automatic Move Smart Car for Arduino
Multi-Function Automatic Move Smart Car for Arduino
 
Self Obstacle Avoiding Rover
Self Obstacle Avoiding RoverSelf Obstacle Avoiding Rover
Self Obstacle Avoiding Rover
 
IRJET- Automatic Mini CNC Machine for PCB Drawing using Arduino
IRJET- Automatic Mini CNC Machine for PCB Drawing using ArduinoIRJET- Automatic Mini CNC Machine for PCB Drawing using Arduino
IRJET- Automatic Mini CNC Machine for PCB Drawing using Arduino
 
Bluetooth Home Automation
Bluetooth Home AutomationBluetooth Home Automation
Bluetooth Home Automation
 
Exoskeleton arm ppt
Exoskeleton arm pptExoskeleton arm ppt
Exoskeleton arm ppt
 
Stepper motor control
Stepper motor controlStepper motor control
Stepper motor control
 
Joystick Controlled Wheelchair
Joystick Controlled WheelchairJoystick Controlled Wheelchair
Joystick Controlled Wheelchair
 
Design and Development of a prototype of AGV
Design and Development of a prototype of AGVDesign and Development of a prototype of AGV
Design and Development of a prototype of AGV
 
Final Design Presentation
Final Design PresentationFinal Design Presentation
Final Design Presentation
 
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
IRJET- Testing the Induction Motor Voltage, Current, Torque, Speed, Power and...
 
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWALJOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
 
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWALJOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
JOYSTICK BASED DC MOTOR SPEED CONTROL SYSTEM by VAISHNAVI AGRAWAL
 
ACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CARACCELEROMETER BASED GESTURE ROBO CAR
ACCELEROMETER BASED GESTURE ROBO CAR
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
 
Human robot interaction based on gesture identification
Human robot interaction based on gesture identificationHuman robot interaction based on gesture identification
Human robot interaction based on gesture identification
 
Fundamentals of plc 1
Fundamentals of plc 1Fundamentals of plc 1
Fundamentals of plc 1
 

Recently uploaded

Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Hyundai Motor Group
 
Essential Maintenance Tips For Commercial Vans.
Essential Maintenance Tips For Commercial Vans.Essential Maintenance Tips For Commercial Vans.
Essential Maintenance Tips For Commercial Vans.commercialvansolutions
 
The Future of Autonomous Vehicles | civilthings.com | Detailed information
The Future of Autonomous Vehicles | civilthings.com |  Detailed informationThe Future of Autonomous Vehicles | civilthings.com |  Detailed information
The Future of Autonomous Vehicles | civilthings.com | Detailed informationgettygaming1
 
Understanding BDA and BBMP: Key Players in Bangalore’s Urban Development
Understanding BDA and BBMP: Key Players in Bangalore’s Urban DevelopmentUnderstanding BDA and BBMP: Key Players in Bangalore’s Urban Development
Understanding BDA and BBMP: Key Players in Bangalore’s Urban Developmentdemocontentcheck
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc4thzenzstar
 
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理amvovau
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理psavhef
 
Advanced Technology for Auto Part Industry Inventory Solutions
Advanced Technology for Auto Part Industry Inventory SolutionsAdvanced Technology for Auto Part Industry Inventory Solutions
Advanced Technology for Auto Part Industry Inventory Solutionscontactcaysonandres
 

Recently uploaded (8)

Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
 
Essential Maintenance Tips For Commercial Vans.
Essential Maintenance Tips For Commercial Vans.Essential Maintenance Tips For Commercial Vans.
Essential Maintenance Tips For Commercial Vans.
 
The Future of Autonomous Vehicles | civilthings.com | Detailed information
The Future of Autonomous Vehicles | civilthings.com |  Detailed informationThe Future of Autonomous Vehicles | civilthings.com |  Detailed information
The Future of Autonomous Vehicles | civilthings.com | Detailed information
 
Understanding BDA and BBMP: Key Players in Bangalore’s Urban Development
Understanding BDA and BBMP: Key Players in Bangalore’s Urban DevelopmentUnderstanding BDA and BBMP: Key Players in Bangalore’s Urban Development
Understanding BDA and BBMP: Key Players in Bangalore’s Urban Development
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
 
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
一比一原版BC毕业证波士顿学院毕业证成绩单如何办理
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
Advanced Technology for Auto Part Industry Inventory Solutions
Advanced Technology for Auto Part Industry Inventory SolutionsAdvanced Technology for Auto Part Industry Inventory Solutions
Advanced Technology for Auto Part Industry Inventory Solutions
 

Obstacle Avoidance Robot (Powered by Arduino)

  • 4. Components / 1. Chassis 2. Arduino UNO 3. DC Motor 4. Motor Driver 6. Servo Motor5. Ultrasonic Sensor
  • 5. Components / 1. Chassis • Good quality robotic chassis for DIY projects • Laser cut super smooth double layer acrylic chassis • Contains Ultrasonic Sensor and Servo Motor holder
  • 6. Components / 2. Arduino UNO Microcontroller ATmega328P Operating Voltage 5V Input Voltage 7-12V (recommended) 6-20V (limit) Digital I/O Pins 14 PWM Digital I/O Pins 6 Analog Input Pins 6 SRAM 2 KB (ATmega328P) EEPROM 1 KB (ATmega328P) BUILTIN LED 13 Dimension 68.6 mm X 53.4 mm Weight 25g
  • 7. Components / 2. Arduino UNO Open Source Hardware: Schematics • Arduino Uno is open-source hardware! You can build your own board Programming • The UNO is the best board to get started with electronics and coding • The Arduino Uno can be programmed with the Arduino Software IDE Power • The Arduino Uno board can be powered via the USB connection or with an external power supply from 6 to 20 volts. The power source is selected automatically
  • 8. Components / 3. DC Motor Voltage 3-6V DC Reduction Ratio 1:48 Maximum torque 800k.cm Material Plastic Weight 2.4 ounces Load Current 70mA (250mA MAX) No-load Speed 1:48 (3V)
  • 9. Components / 4. L298N Motor Driver Driver Dual H Bridge Motor Driver IC Operating Voltage 7 to 35V Peak Current 2A Max Power Consumption 20W (When the temperature T = 75 °C Weight 33g
  • 10. Components / 5. HC-SR04 Ultrasonic Sensor Operating Voltage 5V Theoretical Measuring Distance 2cm to 450cm Practical Measuring Distance 2cm to 80cm Measuring Angle Covered <15° Operating Current <15mA Operating Frequency 40Hz
  • 11. Components / 6. SG90 Micro Servo Motor Operating Voltage 5V Torque 2.5kg/cm Operating Speed 0.1s/60° Gear Type Plastic Rotation 0°-240° Weight 9g
  • 13. Working / 1. Calculating the Distance • Ultrasonic signals travel at the speed of sound • At 20°C the speed of sound is 343 m/s • Time measured by HC-SR04 is for return trip • Divide time in half to calculate distance 𝐷 = (Δt/2) × 𝑐 Δt = Time Delay C = Speed of Sound D = Distance Measured
  • 14. Working / 2. Controlling the Speed and Direction of DC Motor Motor A Enable: • 5Volts = Enabled • Ground = Disabled • PWM = Speed Control Motor A: • Input 1: 5 Volts = Forward • Input 2: Ground = Forward Motor A: • Input 1: Ground = Reversed • Input 2: 5 Volts = Reversed *Motor B Inputs work the same way Pulse Width Modulation (PWM)
  • 15. Working / 3. Using Servo Motor to Rotate Ultrasonic Sensor • SG90 Micro Servos use DC motors • Potentiometer is used as feedback sensor • Internal controller board monitors and adjust position • Position controlled using Pulse Width Modulation (PWM) Torque • Amount of force servo can apply to a lever • Measured in kilogram centimetres (kg-cm) • Rated Torque: 2.5 kg-cm
  • 17. Circuit / Obstacle Avoidance Robot Schematic
  • 19. Source Code </> / Move Forward Function
  • 20. Source Code </> / Move Backward Function
  • 21. Source Code </> / Turn Right Function
  • 22. Source Code </> / Turn Left Function
  • 23. Source Code </> / Move Stop Function Distance Calculator Function
  • 24. Source Code </> / Look Right Function Look Left Function
  • 25. Source Code </> / Pin Declaration
  • 26. Source Code </> / Arduino Setup Code
  • 27. Source Code </> / Arduino Loop Code
  • 28. Scope
  • 29. Scope / Further Improvements and Future Scope 1. Adding a Camera • If interfaced with a camera, robot can be driven beyond line of sight • Range becomes practically unlimited as network have a large range 2. Use as a fire fighter robot • Addition of temperature sensor, water tank required • Required some changes in programming • It can work as an autonomous fire extinguisher 3. Obstacle detection for a Mining Vehicle 4. Driverless vehicles running along beams 5. Obstacle detecting system for a motor vehicle 6. Autonomous cleaning robot