Please note our offices will be closed for China National Day from the 1st to 7th Oct. Place PCB order 1 week earlier to make sure it can be shipped out before holiday. Thank you for understanding!


Suited for projects that require accurate distance measurements, this IR sensor will also add obstacle avoidance and motion sensing to the list of mods you're creating for your robot.

An alternative to sonar rangefinders, this GPY0A21YKOF Sharp sensor will provide accurate distance measurements at a more affordable price. This particular Sharp sensor will detect distances in a range of 4″ to 32″ (10-80 cm).

The GPY0A21YKOF uses a 3-pin JST PH connector that works with our 3-pin JST PH cables for Sharp distance sensors, also included is a 3-pin JST PH cable 7.87 in (20 cm) in length for each unit.

How it works: Infrared is sent out by the sensor which bounces off objects. The analog voltage that is returned determines how close the nearest object is. The closer it is, the higher voltage is returned.


  • Maximum range: 80 cm
  • Minimum range: 10 cm
  • Sampling rate: 26 Hz1
  • Minimum operating voltage: 4.5 V
  • Maximum operating voltage: 5.5 V
  • Supply current: 30 mA2
  • Output type: analog voltage
  • Output voltage differential: 1.9 V


  • Operating voltage: 4.5 V to 5.5 V
  • Average current consumption: 30 mA
  • 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)
  • Update period: 38 ± 10 ms
  • Size: 44.5 mm × 18.9 mm × 13.5 mm (1.75″ × 0.75″ × 0.53″)
  • Weight: 3.5 g (0.12 oz)



Write a review

Note: HTML is not translated!
    Bad           Good

IR Distance Sensor GP2Y0A21YK0F (Sharp, Analog, 10-80 cm)

  • Product Code: 101809
  • Availability: In Stock
  • $8.99
  • 5+$8.10
  • 10+$7.60
  • 50+$7.20

Tags: Sensor, Infrared