Carrier with GP2Y1D811Z1F Sharp Sensor Fitted, 1134

£11.12 £9.27

This small digital distance sensor detects objects between 2 and 10 cm (0.8" and 4") away. With its quick response time, small size, and low current draw, this sensor is a good choice for non-contact object detection, and our compact carrier PCB makes it easy to integrate into your project.


The GP2Y0D810Z0F is Sharp’s smallest and fastest distance sensor, and our tiny carrier board for this sensor includes all of the external components required to make it work. With a sample rate of almost 400 Hz and a sensing distance to 10 cm, this sensor provides an attractive alternative to shorter-range LED-phototransistor reflectance pairs and longer-range but slower sensors such as the Sharp GP2Y0A21YK0F analog distance sensor.

The output (OUT) is driven low when the sensor detects an object 2 cm to 10.25 cm away from it, and the output is otherwise high. There is approximately ±0.25 cm of hysteresis around the 10.25 cm threshold, meaning that the detected object will have to get to approximately 10.0 cm before the output goes low, and once low, the object will have to get to 10.5 cm before it goes high. There is no hysteresis at the 2 cm threshold. Note that this sensor will not tell you how far away an object is, only if there is an object within 10 cm along its line of sight.

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


Using the Sensor

Sharp GP2Y0D810Z0F digital distance sensor 10 cm measuring characteristics

The Pololu carrier board lets you interface with the GP2Y0D810 sensor using a three-pin 0.100" connector, such as the included 3×1 straight male header strip and 3×1 right-angle male header strip. The square pad is ground, the middle pad is VIN (2.7 – 6.2 V), and the remaining pad is the sensor output (OUT). Depending on your power source, you might notice an increase in performance by placing a large (>10 uF) capacitor between power and ground somewhere near the sensor.

A red LED on the back of the PCB lights when the output is low, indicating that the sensor is detecting something. If so desired, you can disable this LED by cutting the trace between it and the OUT pin where it is marked on the silkscreen or by desoldering the LED.

The GP2Y0D810Z0F has an optional enable input that can be used to put the sensor into low-power mode. The Pololu carrier board connects this input to Vcc so that the sensor is always enabled, but you can solder a wire to the pad labeled “enable” on the back of the PCB if you want control over this input. Note that you will need to cut the trace that connects the enable line to Vcc on the PCB if you want to be able to disable the sensor. This trace is marked on the silkscreen, and there is a caret that indicates where we suggest you make the cut.

The carrier board has a 0.086" mounting hole for a #2 screw. You can make the module more compact by cutting or grinding off this portion of the PCB if you do not need the mounting hole.

Feature summary

  • Operating voltage: 2.7 V to 6.2 V
  • Average current consumption: 5 mA (typical)
  • Distance measuring range: 2 cm to 10 cm (0.8" to 4")
  • Output type: digital voltage
  • Steady state response time: 2.56 ms typical (3.77 ms max)
  • Module size: 21.6 x 8.9 x 10.4 mm (0.85" x 0.35" x 0.41")
  • Weight without header pins: 1.3 g (0.05 oz)

Pololu carrier for Sharp GP2Y0D810Z0F and GP2Y0D805Z0F sensors schematic diagram

Pololu carrier for Sharp GP2Y0D810Z0F and GP2Y0D805Z0F sensors schematic diagram.

Note: This product comes with the GP2Y0D810Z0F soldered into the carrier PCB.