The operation of the GP2D120 is very simple. It emits and receives infrared light with its emitter and detector and the onboard circuitry outputs a voltage proportional to the distance of the object.
4 to 30 cm. range for GP2D120
Output voltage is 0.25 to 2.55V
Suitable supply voltage of +5Vdc
Comes with custom cable suitable for interfacing with INEX robot controller boards