Distance sensor using optical measurement, with analogue output. Uses triangulation with an integrated PSD chip. Simple control: just connect to +5 V & earth. The positive analogue voltage at pin 1 varies with the object distance, from 0.4 V to -2.8 V. The change in voltage is nonlinear.