GP2Y0A21YK0F IR Proximity Sensor (10 to 80cm)

Part Number OPTDA-008012 Categories ,

The GP2Y0A21 Sharp distance sensor is a great way to add obstacle avoidance or motion sensing to your robot or any other project. With a detection range of 4 to 32 (10 cm to 80 cm) and an analog voltage indicating the distance, this sensor is very easy to use.


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 ).


  • Operating Voltage: 4.5 to 5.5V
  • Supply Current: 30mA
  • Measuring Range: 10 to 80cm
  • Update Period: 38ms
  • Output Voltage Differential: 1.9V
  • Output: Analog