These sensors are a great way to quickly detect the presence of nearby objects. It consists of a Sharp GP2Y0D805, GP2Y0D810, or GP2Y0D815 sensor module installed on our tiny carrier board for these sensors, which includes all of the external components required to make them work. The available versions offer three different sensing ranges:
- Carrier with GP2Y0D805Z0F: 0.5 cm to 5 cm
- Carrier with GP2Y0D810Z0F: 2 cm to 10 cm
- Carrier with GP2Y0D815Z0F: 0.5 cm to 15 cm
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 narrow lines of sight; they will not tell you how far away the object is.
With detection distances up to 150 mm and a typical sampling rate of almost 400 Hz, these sensors provides an attractive alternative to shorter-range LED-phototransistor reflectance pairs and longer-range but slower sensors such as the Sharp GP2Y0A41SK0F analog distance sensor. The output, Vo, is driven low when the sensor detects an object; otherwise, the output is high.