This IR range measurement sensor from Sharp has high resolution range detection for short distances.
These sensors are great for robot obstacle/object detection, navigation, localisation and measurement. These are fantastic for interactive experiences based on moving objects at varying distances.
We have several models of Sharp IR Range Sensors in our product range, each model has a different read range:
These sensors work by outputting an voltage that correlates to a particular distance. The voltage-to-distance curve is available in the corresponding sensor datasheet.
Because the unit has a built-in male JST connector, we have included a pigtail JST connector (female socket + solder wires) with it. That way, you can simply plug it into your breadboard and tinker away!