Difference between revisions of "Infrared Distance Sensor"

Line 21: Line 21:
  
 
==Products==
 
==Products==
[##ITEM1868## Sharp GP2Y0A60SZLF IR Sensor with Carrier]<br>
+
<sdr item id=1868> Sharp GP2Y0A60SZLF IR Sensor with Carrier</sdr item><br>
[##ITEM1557## Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm]<br>
+
<sdr item id=1557> Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm</sdr item><br>
[##ITEM1558## Sharp GP2Y0A02YK0F Analog Distance Sensor 20-150cm]<br>
+
<sdr item id=1558> Sharp GP2Y0A02YK0F Analog Distance Sensor 20-150cm</sdr item><br>
  
 
[[Category:Sensors]]
 
[[Category:Sensors]]

Revision as of 18:17, 15 February 2021

Infrared distance sensors measure the distance to the closest obstacle in a straight, narrow beam of light. These sensors work by emitting a pulse of light (wavelength range of 850nm +/-70nm) which is then reflected (or not reflected at all). When the light returns, it comes back at an angle that is dependent on the distance of the reflecting object. By knowing the angle, distance can then be determined. These sensors are commonly used to prevent robots from driving into walls and general object avoidance. Please note that accuracy will usually be reduced when used outdoors due to interactions with sunlight.

Sensor Overview

Obstacle Detection: Detects obstacles in a straight, narrow beam of light. IR sensors have a decent detection range (maybe 10-15 ft max).

Ideal operating conditions: IR sensors can become erratic when exposed to sunlight interference. Some sensors will work perfectly outside while others may be fine with ambient sunlight and have problems only when pointed towards the sun. The rest range from slightly noisy to completely unusable outside.

Sensor Pros:

  • Data is easily processed, allowing the use of cheaper microcontrollers
  • Less expensive than 1D/2D Lidar
  • Good detection range and update rate
  • Can be used for 1D positioning or following applications

Sensor Cons:

  • IR sensors often have discontinuous, nonlinear, and/or noisy output.
  • Only detects obstacles in a narrow beam. If these are the primary obstacle detection sensors on a robot then several of them are required and there will still be big gaps in the detection zone – between the beams and above/below them.
  • You may be tempted to sweep the sensor using an RC servo or something, but this generally doesn’t work very well. You’re better off buying a cheap 2D lidar at that point.
  • These sensors can be vulnerable to dirt/dust and scratches.

Products

Sharp GP2Y0A60SZLF IR Sensor with Carrier
Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm
Sharp GP2Y0A02YK0F Analog Distance Sensor 20-150cm