Electronics > Electronics

Obstacle Detection


I am into building a demining robot .

the problem is detecting and avoiding obstacles.

I plan to use ultrasonic sensors to detect an obstacle but have a problem with programing the controller to avoid it.

any help in this regard would be great.

Here is the algorithm you should use:

scan with sonar

if wall detected within X distance, turn left

else, drive straight


you should consider getting additional sonar, too . . .

for more info on sonar

The application of my robot is in rough terrain and basic obstacles are rocks.

Avoiding these rocks is based on getting around them , like left or right and to what angle the robo has to turn.

there is no wall as such


[0] Message Index

Go to full version