> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Sharp GP2Y0D805Z0F Digital Distance Sensor 5cm

**Type:** Product page · **SKU:** POLOLU-1131 · **Brand:** [Pololu](https://core-electronics.com.au/brands/pololu-australia)
**Page:** https://core-electronics.com.au/sharp-gp2y0d805z0f-digital-distance-sensor-5cm.html ([markdown](https://core-electronics.com.au/sharp-gp2y0d805z0f-digital-distance-sensor-5cm.html.md))

## Retired product

This product is retired and no longer available for purchase. Search the catalogue for an alternative.

## How to buy

- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

| [![](https://a.pololu-files.com/picture/0J1122.200.jpg?38f1e803b209f1d42fe069ca4624593a)](https://a.pololu-files.com/picture/0J1122.1200.jpg?38f1e803b209f1d42fe069ca4624593a) |
|---|

These small and responsive sensors from Sharp are great way to quickly detect the presence of nearby objects. The available versions offer three different sensing ranges:

- [GP2Y0D805Z0F](https://core-electronics.com.au/sharp-gp2y0d805z0f-digital-distance-sensor-5cm.html): 0.5 cm to 5 cm
- [GP2Y0D810Z0F](https://core-electronics.com.au/sharp-gp2y0d810z0f-digital-distance-sensor-10cm.html): 2 cm to 10 cm
- [GP2Y0D815Z0F](https://core-electronics.com.au/sharp-gp2y0d815z0f-digital-distance-sensor-15cm.html): 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 lines of sight; they will not tell you how far away the object is.

With a detection distances up to 150 mm and a typical sampling rate of almost 400 Hz, these sensors provides attractive alternatives to shorter-range [LED-phototransistor reflectance pairs](https://core-electronics.com.au/qtr-1a-reflectance-sensor-2-pack.html) and longer-range but slower sensors such as the [Sharp GP2Y0A41SK0F analog distance sensor](https://core-electronics.com.au/sharp-gp2y0a41sk0f-analog-distance-sensor-4-30cm.html). The output, Vo, is driven low when the sensor detects an object; otherwise, the output is high.

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. Pololu 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:

- [**with the 5 cm GP2Y0D805Z0F**](https://core-electronics.com.au/pololu-carrier-with-sharp-gp2y0d805z0f-digital-distance-sensor-5cm.html)
- [**with the 10 cm GP2Y0D810Z0F**](https://core-electronics.com.au/pololu-carrier-with-sharp-gp2y0d810z0f-digital-distance-sensor-10cm.html)
- [**with the 15 cm GP2Y0D815Z0F**](https://core-electronics.com.au/pololu-carrier-with-sharp-gp2y0d815z0f-digital-distance-sensor-15cm.html)
 
Alternatively, you can order the [carrier board without any sensor](https://core-electronics.com.au/pololu-carrier-for-sharp-gp2y0d815z0f-gp2y0d810z0f-and-gp2y0d805z0f-sensors.html) and solder one in yourself. The pictures below show Pololu's bare carrier board (left) and the carrier board with the Sharp digital distance sensor installed (right).

 | \| [![](https://a.pololu-files.com/picture/0J1179.250.jpg?7c897676197a38323d6626cb3ed2fe57)](https://a.pololu-files.com/picture/0J1179.1200.jpg?7c897676197a38323d6626cb3ed2fe57) \| \|---\| \| Pololu carrier for Sharp GP2Y0D815Z0F, GP2Y0D810Z0F, and GP2Y0D805Z0F sensors. \| | \| [![](https://a.pololu-files.com/picture/0J1178.250.jpg?1e233381650c535ce602e6dd72552262)](https://a.pololu-files.com/picture/0J1178.1200.jpg?1e233381650c535ce602e6dd72552262) \| \|---\|---\| \| 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
 
**Feature summary**

- 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")
- Weight: 0.8 g (0.03 oz)
 
**Comparison to Pololu Digital Distance Sensors**

These sensors are no longer being produced by Sharp/Socle, so **Pololu do not recommend them for new designs** where continued availability is important. As an alternative, consider the newer [Pololu Digital Distance Sensors](https://core-electronics.com.au/category/283/pololu-digital-distance-sensors), which have the same form factor and pinout as Pololu's carrier board for these sensors.

The Pololu distance sensors are available in the same [5 cm](https://core-electronics.com.au/pololu-digital-distance-sensor-5cm.html), [10 cm](https://core-electronics.com.au/pololu-digital-distance-sensor-10cm.html), and [15 cm](https://core-electronics.com.au/pololu-digital-distance-sensor-15cm.html) ranges as the Sharp sensors, in addition to longer ranges of up to several meters. This means they can be used as replacements for these older modules, and the longer-range versions can serve as upgrades that provide enhanced detection and measurement capabilities. Also available are versions with pulse-width outputs that can provide quantitative distance measurements instead of simply indicating the presence of an object.

The sensors on these newer units are much thinner than the Sharp modules, so the zero-range point is approximately 7 mm closer to the PCB, and the beam angle of the newer units is wider. The pictures below show side-by-side comparisons of the two:

 | \| [![](https://a.pololu-files.com/picture/0J11148.375.jpg?2670870a698033055bdbcd3b89dc66fc)](https://a.pololu-files.com/picture/0J11148.1200.jpg?2670870a698033055bdbcd3b89dc66fc) \| \|---\| | \| [![](https://a.pololu-files.com/picture/0J11281.200.jpg?075500feb8a48a9cf42bc1ecf9341e77)](https://a.pololu-files.com/picture/0J11281.1200.jpg?075500feb8a48a9cf42bc1ecf9341e77) \| \|---\|---\| | \| [![](https://a.pololu-files.com/picture/0J11150.200.jpg?c1e473dfab301d46d4d507f0b411ecdb)](https://a.pololu-files.com/picture/0J11150.1200.jpg?c1e473dfab301d46d4d507f0b411ecdb) \| \|---\|---\| |
|---|

**Alternative Sharp distance sensors**

Pololu carry several analog Sharp distance sensors as well: the [Sharp GP2Y0A51SK0F 2 – 15 cm](https://core-electronics.com.au/sharp-gp2y0a51sk0f-analog-distance-sensor-2-15cm.html), the [Sharp GP2Y0A41SK0F 4 – 30 cm](https://core-electronics.com.au/sharp-gp2y0a41sk0f-analog-distance-sensor-4-30cm.html), the [Sharp GP2Y0A21YK0F 10 – 80 cm](https://core-electronics.com.au/sharp-gp2y0a21yk0f-analog-distance-sensor-10-80cm.html), and the [Sharp GP2Y0A02YK0F 20 – 150 cm](https://core-electronics.com.au/sharp-gp2y0a02yk0f-analog-distance-sensor-20-150cm.html). These analog distance sensors have longer minimum detection distances and much slower response times than the GP2Y0D805, GP2Y0D810, and GP2Y0D815, but they can see farther and report the distance to the detected object rather than simply *if* an object is detected.

 | [![](https://a.pololu-files.com/picture/0J6051.600.jpg?4567baeed058eeddf63955f8fdf44bde)](https://a.pololu-files.com/picture/0J6051.1200.jpg?4567baeed058eeddf63955f8fdf44bde) |
|---|
| A variety of Sharp distance sensors. From left to right: GP2Y0A02, GP2Y0A21 or GP2Y0A41, GP2Y0A51, and GP2Y0D8xx. |

Pololu also carry the newer [Sharp GP2Y0A60SZ analog distance sensor](https://core-electronics.com.au/pololu-carrier-with-sharp-gp2y0a60szlf-analog-distance-sensor-10-150cm-5v.html) (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.

 | [![](https://a.pololu-files.com/picture/0J5788.470.jpg?e76bc7fce22d2bbb4667acc943debf0e)](https://a.pololu-files.com/picture/0J5788.1200.jpg?e76bc7fce22d2bbb4667acc943debf0e) |
|---|
| Sharp GP2Y0A02YK0F Sensor 20-150cm (left) next to Pololu Carrier with Sharp GP2Y0A60SZLF Sensor 10-150cm (right). |

**Note:** This sensor requires external components, which are not included. Please see the datasheet or Pololu's [carrier board for Sharp GP2Y0D815Z0F, GP2Y0D810Z0F, and GP2Y0D805Z0F sensors](https://core-electronics.com.au/pololu-carrier-for-sharp-gp2y0d815z0f-gp2y0d810z0f-and-gp2y0d805z0f-sensors.html) or for details.

**People often buy this product together with:**

 | [![Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm](https://a.pololu-files.com/picture/0J149.100.jpg?1072490e4e4bbd08443c814c561dcf2c)](https://core-electronics.com.au/sharp-gp2y0a21yk0f-analog-distance-sensor-10-80cm.html) | [Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm](https://core-electronics.com.au/sharp-gp2y0a21yk0f-analog-distance-sensor-10-80cm.html) |
|---|---|

 | [![Pololu Carrier with Sharp GP2Y0D805Z0F Digital Distance Sensor 5cm](https://a.pololu-files.com/picture/0J1178.100.jpg?1e233381650c535ce602e6dd72552262)](https://core-electronics.com.au/pololu-carrier-with-sharp-gp2y0d805z0f-digital-distance-sensor-5cm.html) | [Pololu Carrier with Sharp GP2Y0D805Z0F Digital Distance Sensor 5cm](https://core-electronics.com.au/pololu-carrier-with-sharp-gp2y0d805z0f-digital-distance-sensor-5cm.html) |
|---|---|

 | [![Pololu Carrier for Sharp GP2Y0D815Z0F, GP2Y0D810Z0F, and GP2Y0D805Z0F Sensors](https://a.pololu-files.com/picture/0J1179.100.jpg?7c897676197a38323d6626cb3ed2fe57)](https://core-electronics.com.au/pololu-carrier-for-sharp-gp2y0d815z0f-gp2y0d810z0f-and-gp2y0d805z0f-sensors.html) | [Pololu Carrier for Sharp GP2Y0D815Z0F, GP2Y0D810Z0F, and GP2Y0D805Z0F Sensors](https://core-electronics.com.au/pololu-carrier-for-sharp-gp2y0d815z0f-gp2y0d810z0f-and-gp2y0d805z0f-sensors.html) |
|---|---|

**Dimensions**

 | Size: | 0.53" × 0.27" × 0.31" |
|---|---|
| Weight: | 0.8 g |

**General specifications**

 | Maximum range: | 5 cm |
|---|---|
| Minimum range: | 0.5 cm |
| Sampling rate: | 390 Hz[1](https://core-electronics.com.au/#note1) |
| Minimum operating voltage: | 2.7 V |
| Maximum operating voltage: | 6.2 V |
| Supply current: | 5 mA[2](https://core-electronics.com.au/#note2) |
| Output type: | digital[3](https://core-electronics.com.au/#note3) |

**Notes:**

1Typical; can be as low as 265 Hz.2Average; this sensor draws current in large, short bursts, so it might help to place 10 µF capacitor or larger across power and ground close to the sensor in some applications.3Low when detecting an object, high otherwise. **File downloads**

- **GP2Y0D815Z0F datasheet (374k pdf)**
    
    Datasheet for the GP2Y0D815 15cm Sharp digital distance sensor.
- **GP2Y0D810Z0F datasheet (374k pdf)**
    
    Datasheet for the GP2Y0D810 10cm Sharp digital distance sensor.
- **GP2Y0D805Z0F datasheet (374k pdf)**
    
    Datasheet for the GP2Y0D805 5cm Sharp digital distance sensor.

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/s/h/sharp_gp2y0d805z0f_digital_distance_sensor_5cm__pololu_1131__00.jpg)
