The GP2Y0A51SK0F is the shortest-range Sharp analog distance sensor we carry, featuring a detection range of 0.8″ to 6″ (2 cm to 15 cm). The shorter range gives you higher resolution measurements, and the low minimum detection distance makes this sensor great for detecting very close objects. The distance is indicated by an analog voltage, making this sensor very easy to use.
The GP2Y0A51 uses a 1.5mm-pitch 3-pin JST ZH connector (the cable is not included).