The Sharp GP2Y0A21YK0F measures distance by optical triangulation: reflected infrared light moves across a position-sensitive detector with target angle…
A breakdown of infrared sensors into four main categories by function: motion sensors, obstacle-avoidance sensors, remote-control receivers, and distance-measuring sensors.