One of the most favored IR range sensors on the market. Detects distances
from 4" to 30" (10cm-80cm).
Note: The sensor sold here is actually a Sharp IR GP2Y0A21YK0F. It has the same distance range as a GP2D12 and very similar analog output properties. The GP2D12 is extremely difficult to source currently, so these sensors provide a great alternative. For more information on the minor differences, please refer to the datasheets for each sensor:
This IR sensor delivers an analog output as seen in the chart.

Do you want to...
...use this sensor with a computer?
You'll need the following items:
...use this sensor with a microcontroller or robot controller board?
You'll need the following items:
-
Sharp IR Sensor to Servo Cable (Terminates in standard 3-pin servo-style
connector. Cut off the connector and splice in a connector of
your choice, if necessary.)