Sharp IR Distance Sensor (GP2Y0A21YK0F)

You may also like:
1137 1137
Sharp Electronic Components
1696 1696
A1302KUA-T A1302KUA-T
Allegro Microsystems
555-28027 555-28027
Spectra Symbol
28015 28015
40TR12B-R 40TR12B-R
Jameco Valuepro

$13.95 ea

105 In Stock
More Available – 6 weeks

  • Web Exclusive
# of units Price
1+ $13.95
5+ $11.95
25+ $9.95

Request a Large Quantity Quote

Sharp IR Distance Sensor (GP2Y0A21YK0F)

Measurement range: 10cm to 80cm (3.9" to 31.5")

The Sharp GP2Y0A21YK0F infrared distance measuring sensor uses a beam of infrared light to reflect off an object to measure its distance. Because it uses triangulation of the beam of light to calculate the distance, it is able to provide consistent and reliable readings which are less sensitive to temperature variation or the object's reflectivity. The sensor outputs an analog voltage corresponding to the distance of the object, and can easily be read using an inexpensive analog to digital converter (ADC) chip.

The Sharp IR Sensor Stand kit (725-28995) provides a very convenient method of mounting the sensor, and the Sharp IR Sensor to Servo Cable (805-28995) makes it easy to wire up to a breadboard or microcontroller board.


  • Distance measurement range: 10 to 80 cm (3.9 to 31.5 inches)
  • Analog output voltage corresponds to distance
  • Operates on 5 V supply
  • Convenient 3-pin interface (use with JST connector P/N 2143419, not included)
  • Two mounting holes spaced 1.46 inches (37 mm) apart

Application Ideas:

  • Distance sensor for autonomous robots
  • Non-contact optical switch
  • Industrial automation and controls


  • Power requirements: 5 VDC, 30 mA (typ.)
  • Communication: Analog output voltage (typically 0.4 to 2.3 V range)
  • Overall Dimensions: 1.75 x 0.74 x 0.53 in (4.45 x 1.89 x 1.35 cm)
  • Operating temp range: +14 to +140 °F (-10 to +60 °C)

Downloads & Resources:

Report a problem
Suggest a product
Specification Value
Sensor TypeDistance, IR

Report a problem
Suggest a product