Electronics > Electronics
IR rangefinder minimum range problem
cybcode:
Hi,
I'm trying to build a robot similar to the 50$ robot with an IR rangefinder. I have a Sharp IR rangefinder with a range of 100cm-500cm (GP2Y0A700K0F). In order to solve the minimum range problem it has been suggested that the sensor be placed at the back of the robot. Unfortunately with a minimum range of 100cm I don't think this would be helpful.
My question is: would it be a good idea to use the derivative of the output (as a function of distance), in addition to the output itself, in order to measure distances under 100cm? I only need the sign of the derivative. If I understand correctly, it's positive if the object is inside the minimum range, and otherwise it's negative. Can anyone suggest an elegant way of estimating the derivative?
Thanks.
Tsukubadaisei:
How did you get this one? Because if you bought it specifically for the robot then you bought the wrong guy. I think the only solution is buy the right one: GP2D12.
Admin:
Yea Tsukubadaisei is right, there is no computational solution to this problem. You will need a different sensor.
cybcode:
It's true, I bought the wrong one, but I was still hoping to make some use of it anyway.
Is there no computational solution because the sensor gives unreliable/noisy readings inside the 100cm range? After looking at the distance-voltage graph, it seems that the sensor does give readings inside the minimum range, but they seem to indicate a very long distance instead of a very short one. Maybe I could make the robot move back and forth in order to estimate the derivative of the voltage, and if it's positive, I'd know I'm inside the minimum range. Why would this not work?
Thanks.
Admin:
--- Quote ---Maybe I could make the robot move back and forth in order to estimate the derivative of the voltage, and if it's positive, I'd know I'm inside the minimum range. Why would this not work?
--- End quote ---
It will work . . . but it would also make your robot look very silly . . . :P
Navigation
[0] Message Index
[#] Next page
Go to full version