Log in

View Full Version : IR/ultrasound sensing angle


tilky
24-07-2012, 09:21
how do these sensors work? Is it a distance directly in front of it, or does it "fan out" and return whatever the closest is?

Mark McLeod
24-07-2012, 09:39
The sonar fans out and returns the distance to the closest object in the fan within detection range. The detection fan of the LZ-MaxSonar-EZ1 that came in the KOP is about 4 or 5 feet across when it gets out 4 or 5 feet. Other models have different detection fans, but they all spread out to varying extents.

The IR sensor is more directed. It spreads out a little, but not much. It's affected more by how reflective the target is and the angle the IR beam hits it at (bounce).

tilky
24-07-2012, 17:23
a little as in how much?

Mark McLeod
24-07-2012, 19:29
It depends on the model/make, but as an example I'd say the beam from a Banner QS18VN6LV widens 6mm or so per foot of distance. The beam is about 8mm at 6", 11mm wide at 12", 14mm at 18", etc.

A Sharp GP2Y0A02YK0F beam is about 6mm wide at 12", 12mm wide at 18", etc.

tilky
25-07-2012, 10:16
so there is no such thing as a "straight" sensor?

Mark McLeod
25-07-2012, 10:17
Laser

tilky
25-07-2012, 22:03
but does that return distance?

Mark McLeod
25-07-2012, 22:54
Just some of the applications they are used for include measuring the range to a golf hole, or the distance between interior walls. They are usually based on a class 1 laser that might be FRC legal depending on the rules (not guaranteed though). Class II lasers are probably right out for FRC use. They tend to be expensive devices and are difficult and complicated to integrate with a control system. Real expensive ones can be had with Bluetooth (not FRC legal).

http://en.wikipedia.org/wiki/Laser_rangefinder

You can also develop a DIY cheaper alternative by coupling a cheap laser pointer with a detector as a retro-reflective sensor.