Society of Robots - Robot Forum

General Misc => Misc => Topic started by: macbook on June 26, 2009, 12:24:19 AM

Title: Abt proximity sensors
Post by: macbook on June 26, 2009, 12:24:19 AM
Are there such proximity sensors available which can detect an obstacle in some range specified? That is, we feed a distance in the sensor say 5cm and it detects any obstacle that comes in its way in the range 0-5cm.

Also I feel that the sensor we have in an optical mouse does the same thing. Is it so? Plz correct me if i am wrong.
Title: Re: Abt proximity sensors
Post by: awally88 on June 26, 2009, 01:09:29 AM
You could use an Sharp Rangefinder and say "if {Distance from sensor} < 5cm do blah"
If that something is magnetic a Hall Effect Sensor will work too but the Sharp Rangefinder is better if you want something general purpose.
Title: Re: Abt proximity sensors
Post by: SmAsH on June 26, 2009, 03:11:53 AM
you could also use a sharp ir sensor and calibrate it when it starts up?
so it turns on, takes a reading of whats in front of it and says if anything is in that range do something.
say you hold your hand 5cm in front of it when it starts, then it will only pay attention to things less than 5cm...
Title: Re: Abt proximity sensors
Post by: macbook on June 28, 2009, 05:42:02 AM
What abt the sensor in an optical mouse? isnt there any way we can use it as a proximity sensor?
Title: Re: Abt proximity sensors
Post by: SmAsH on June 28, 2009, 05:46:16 AM
not a very good one, it has to be pretty close to get decent readings.