Let's Make Robots!

obstacle

raspberry pi arduino,

So im pretty newish to robotics and programming in general, but ive done some reading and have started down my own path.

my robot(including a picture, description, wiring diagram and code) is posted here http://letsmakerobots.com/node/40350

The robot navigates around avoiding obstacles by ultrasound and choosing the best way to follow.
Using a
The robot navigates around avoiding obstacles by ultrasound and choosing the best way to follow. The programming code is attached here as a .txt file. Download it … Read more
Helps me learn AVR, Keeps me entertained, Avoids obstacles
Using a
UPDATE: attached code Hi, Meet the tintTableBot. It is called tiny because of 2 reasons- it uses an Attiny2313 and it is small. Although it is an obstacle … Read more
Avoids obstacles primarily but You'll have to watch the video to find out more
Using a
Continuing on with the robot revolution here on LMR, this here was my entry into the coasterbot competiton.As you can see.... Hey wait! What's going on?! Help! … Read more
So I'm new to LMR, and this is my first robot. For now, it's just an Arduino Uno, a motor driver circuit, and two motors. The motor driver circuit I got from here: … Read more

Avoiding obstacles code.

Hi all.

I have started making a small robot the RMOAR http://letsmakerobots.com/node/20422

but im having some problems with the code i tried to made in order to get this thing working.

I dont know if that code will work and how can i improve it .

Here is the code:

Programming help, sharp IR mounted on servo

Hello

I am trying to control my bot using a sharp IR sensor mounted on hitec servo with arduino mega. The pseudocode i have so far is as follows:

1. Set servo at 90deg and read IR sensor value
2. If val > 200, then stop the bot for a second
  a. Turn servo 0 deg completely and read ir val
  b. if val < 200 then turn bot left
  c. else turn servo 180 deg and read ir val
  d. if val < 200 then turn bot right
  e. else if cant turn right or left, reverse a bit and then turn the bot 180 degree and go straight.

Super Brilliant Avoid Obstacle Strategies - Open Question

I have built a Bot with Arduino as MCU and wish to give it a life of its own.

Has anyone Created a "Super Brilliant" Strategy for avoiding obstacles ?.

So far my bot does this (rather On/Off control) :-

(1) When it detects an object Right it turns Left until the coast is clear and carries on with its original direction.

(2) When it detects an object Left it turns Right until coast is clear and carries on with its original direction.