Sharp GP2D12 SensorThe Sharp GP2D12 is an infrared ranging sensor that uses triangulation to determine distance with a range of 10 to 80cm. The sensor comes with a JST 3 pin connector. The output of the GP2D12 is not linear. Therefore, a little math is required to determine the distance.

Sharp GP2D12 Sensor
See more details at madlabs.info

 
Sharp GP2D12 Sensor