shop/ pololu/ pololu carrier w/ sharp gp2y0d805z0f distance

Detect Nearby Objects Without Contact

The Distance Sensor 5cm GP2Y0D805Z0F Carrier Sharp is an infrared distance sensor designed for distance measurement, obstacle detection, level checks, and basic automation. It is a practical fit for makers, students, and engineers who want reliable sensor data in embedded builds.

Key details include Maximum range: 5 cm; Minimum operating voltage: 2.7 V; Maximum operating voltage: 6.2 V.

Important: Infrared and optical readings change with target color, surface finish, distance, and strong ambient light. Test with your real target before final mounting.

Why you’ll love it

  • Key feature: Low when detecting an object, high otherwise.
  • Controller output: digital
  • Sensing range: 5 cm
  • Power range: 2.7 V
  • Current draw: 5 mA
  • Compact size: 0.85" x 0.35" x 0.41"

Compare with similar products

Product Sensor style Standout
Distance Sensor 5cm GP2Y0D805Z0F Carrier Sharp infrared distance sensor Current item
Distance Sensor 10cm GP2Y0D810Z0F Carrier Sharp infrared distance sensor motion sensing
Distance Sensor 15cm GP2Y0D810Z0F Carrier Sharp infrared distance sensor with digital output digital output, motion sensing
Distance Sensor 10-150cm GP2Y0A60SZLF Sharp 3V infrared distance sensor with analog output analog output, motion sensing

What you can build

This sensor is a good fit for robot obstacle avoidance, tank level checks, parking aids, object counters, and range alarms.

Starter bundles

Pair it with an Arduino-compatible board, ESP32, or Raspberry Pi, plus a breadboard and jumper wires for quick setup and testing.

Recommended add-ons

Useful add-ons include a microcontroller board, jumper wires, and pull-up or pull-down support when needed, depending on how you plan to power, mount, and log the sensor.

Technical specifications

Product Distance Sensor 5cm GP2Y0D805Z0F Carrier Sharp
Output type digital
Maximum range 5 cm
Minimum range 0.5 cm
Minimum operating voltage 2.7 V
Maximum operating voltage 6.2 V
Supply current 5 mA
Size 0.85" x 0.35" x 0.41"
Weight 1.5 g

Wiring & usage notes

Connect power and ground, then wire the output pin to a digital GPIO input. Check whether the module uses active-high or active-low logic in your code. Infrared and optical readings change with target color, surface finish, distance, and strong ambient light. Test with your real target before final mounting.

What’s in the box

1 × Distance Sensor 5cm GP2Y0D805Z0F Carrier Sharp

Frequently Asked Questions

What does the Distance Sensor 5cm GP2Y0D805Z0F Carrier Sharp measure? It is designed to measure distance or object presence.
Can I use it with Arduino, ESP32, or Raspberry Pi? Yes. It is well suited for common maker and embedded platforms, as long as you power it at the correct voltage and match the signal level to your controller.
How do I connect this Digital GPIO sensor? This sensor provides a digital switching-style signal that is easy to read from a GPIO pin.
What affects accuracy? Power quality, wiring, mounting, target material, and the real environment can all affect the reading. It is best to test and calibrate in the final setup.
Is it good for prototyping? Yes. It is a practical choice for learning, proof-of-concept builds, and small automation projects.

Build with this board

// from learn.circuit.rocks

Notes from the bench

// from blog.circuit.rocks

Ask the community

// from forum.circuit.rocks