Skip to content

use HC-SR04 ultrasonic sensor to make a robot avoid obstacles and adjust distances when negotiating corners

License

Notifications You must be signed in to change notification settings

gathangamaryann/obstacle-avoider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Obstacle Avoidance Using Ultrasonic sensors

Introduction

A project was proposed to make an Robocar that should detect obstacles and avoid them using arduino uno.

Solution

Make the default motion to forward motion while the desired distance limit has not been reached,
If the immediate obstacle is at the limit distance from the car , it turns left and right and checks which side has a less distance to an obstacle therefore avoiding it, This is recursive and repeats until there is a clear path

About

use HC-SR04 ultrasonic sensor to make a robot avoid obstacles and adjust distances when negotiating corners

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%