What sensor should i use for my robot?

Right now my robot has a twin motor tamiya gearbox and 2 wheels in back and a servo with 2 wheels hot glued to it in front for steering and an arduino duomilanove for the brain and it works pretty good except there are no sensors so its not really a robot at all! What I want to do now is buy a sensor that will be able to make my robot avoid obstacles and my track my hand or something. I have ben looking at some sonar sensors, ping sensors, and those sharp ir sensors but i don't know what to pick. It would be great if someone could help me out also I am just getting started so something not tooooo hard to use i mean im up to the challenge though.

frollard7 years ago
Ultrasonic 'ping' sensors are easy to interface and really easy to add; with that and a servo you can have 'eyes' for your bot, meaning it will at least not constantly run into stuff.

Other good sensors are as you suggest infrared proximity sensors, and visual sensors for line following and the like - again, all are easy to implement.

I highly recommend http://myworld.ebay.ca/sureelectronics/ for electronics components and sensor boards like these.

Passive infrared is ...not huge use, but could be used to detect if someone was in the room with the bot.

Visual systems are possible, but hard to implement with arduino (not enough power).
Grathio7 years ago
It sort of depends what you want the robot to do, how fast it is, what kind of environment it's in, etc.

Some of the simplest are pressure switches that are triggered when it runs into something.  (You can also take lever switches, stick a wire on them and use them like cat whiskers. )

Active infrared sensors (ie: they shoot out IR and read back the result) are good for line following and edge detection (so it won't fall of a table or down the stairs)  They're generally short range (a few inches).

Ultraosonic sensors are pretty common in room roving robots.  Put one on top and put it on a servo to have it sweep the room radar style and you can use a single sensor to get 180 degree view of the room's obstacles.  These are pretty common, I don't think you should have much trouble finding schematics and Arduino code to support them.