Programming an Arduino Robot to Avoid Obstacles - Help Needed!

Harrison G
Messages
41
Reaction score
2
I need to program an arduino robot to execute a series of actions when there is an obstacle infront of him. Actions like: stop>go backwards>stop>shift left>go forward>stop>shift right> continue forward. With this the robot will avoid obstacles while keeping his original dirrection. The problem is that i am new in programing and don't know how to do it. Can anybody suggest some code that i can use?
 
Is this an arduino robot that you are building? Or is it a pre-made robot that is in need of some instructions?

If you're building it yourself, what sort of sensors are you using to detect any obstructions in the robots path?
 
Joppy said:
Is this an arduino robot that you are building? Or is it a pre-made robot that is in need of some instructions?

If you're building it yourself, what sort of sensors are you using to detect any obstructions in the robots path?
Im building it myself, using Ultrasonic sensor to detect obstacles and H bridges to shift the polarity of the motors.
 
Link works from my PC . If you still can't get to it directly try here
 
  • Like
Likes   Reactions: Harrison G
No, its okay, all the links work. Thank you verry much for the answers, i know what i must do now :-)
 
Strange, i guess my internet dropped out or something, sorry about that.

Anyways, all the best!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
Replies
2
Views
3K
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K