GP2Y0A21 IR Distance Measurement Sensor

SKU: SEN0014

The Sharp distance sensors are a popular choice for many projects that require accurate distance measurements. This IR sensor is more economical than sonar rangefinders, yet it provides much better performance than other IR alternatives. Interfacing to most microcontrollers is straightforward: the single analog output can be connected to an analog-to-digital converter for taking distance measurements, or the output can be connected to a comparator for threshold detection. The detection range of this version is approximately 10 cm to 80 cm (4" to 32").

Angled shot of back of Sharp GP2Y0A21 IR distance sensor showing white connector and circular openings for Arduino integration.-DFRobot product sku:SEN0014 image.

Downloadable Resources

  • Docs
  • Tech Specs
  • Specification

    Parameter Value
    operating voltage 4.5 V to 5.5 V
    average current consumption 30 mA (typical)
    distance measuring range 10 cm to 80 cm (4" to 32")
    output type analog voltage
    output voltage differential over distance range 1.9 V (typical)
    response time 38 ± 10 ms
    package size 29.5×13.0×13.5 mm (1.16×0.5×0.53")
    weight 3.5 g (0.12 oz)

    Pinout

    When looking at the back of the sensor, the three connections from left to right are:

    1. Power (VCC)
    2. Ground (GND)
    3. Output Signal (Analog)

    Was this article helpful?

    TOP