There are a few millimeters of hysteresis around the maximum range threshold and no hysteresis at the minimum range threshold. Note that these sensors will only tell you if there is an object within the detection range along their lines of sight; they will not tell you how far away the object is.
Please note that this sensor requires external components and has a non-standard 1.5 mm pitch, which can make it difficult to integrate into projects based on a 0.1″ pitch. We offer a carrier board for this sensor that makes it much easier to use by including these required components and providing a 0.1″-pitch, three-pin interface: ground, power, and digital output. The carrier board is available with these sensors pre-installed:
Alternatively, you can order the carrier board without any sensor and solder one in yourself. The pictures below show our bare carrier board (left) and the carrier board with the Sharp digital distance sensor installed (right).
Pololu carrier for Sharp GP2Y0D815Z0F, GP2Y0D810Z0F, and GP2Y0D805Z0F sensors.
Pololu carrier with Sharp GP2Y0D805Z0F, GP2Y0D810Z0F, or GP2Y0D815Z0F digital distance sensor.
Some example applications include:
break-beam sensor or photogate alternative
non-contact bumper or obstacle detector
a counter or timer of objects as they pass by
Operating voltage: 2.7 V to 6.2 V
Average current consumption: 5 mA (typical)
Distance measuring range
GP2Y0D805Z0F: 0.5 cm to 5 cm (0.2″ to 2″)
GP2Y0D810Z0F: 2 cm to 10 cm (0.8″ to 4″)
GP2Y0D815Z0F: 0.5 cm to 5 cm (0.2″ to 6″)
Output type: digital signal (low when detecting an object, high otherwise)
Steady state update period: 2.56 ms typical (3.77 ms max)
Package size: 13.6 mm × 7 mm × 7.96 mm (0.53″ × 0.27″ × 0.31″)
A variety of Sharp distance sensors. From left to right: GP2Y0A02, GP2Y0A21 or GP2Y0A41, GP2Y0A51, and GP2Y0D8xx.
We also carry the newer Sharp GP2Y0A60SZ analog distance sensor (10 – 150 cm), which outperforms the other analog Sharp distance sensors in almost all respects, offering a low minimum detection distance, high maximum detection distance, wide 3 V output voltage differential, high 60 Hz sampling rate, operation down to 2.7 V, and optional enable control, all in a smaller package.
Sharp GP2Y0A02YK0F Sensor 20-150cm (left) next to Pololu Carrier with Sharp GP2Y0A60SZLF Sensor 10-150cm (right).