1031 IR distance sensor GP2Y0A02YK includes cable (20cm-150cm)

In stock
Add to wish list

The 1031 from Adafruit is a infared sensor GP2Y0A02YK which includes a small cable attachment.

 This SHARP distance sensor bounces IR off objects to determine how far away they are. It returns an analog voltage that can be used to determine how close the nearest object is. Comes with 12" long 3-JST interface wire. These sensors are good for detection between 20cm-150cm. For over 1 m distance, we suggest using sonar sensors. 

To use, connect black wire to ground, red wire to 5V and white wire to analog input. The analog voltage out will range from 3V when an object is only 4" (10 cm) away and 0.4V when the object is 32" (80 cm) away.


  • Length: 21.66mm/0.85in
  • Width: 44.39mm/1.75in
  • Height: 18.67mm/0.75in

Screw holes are 37mm apart, 3.2.mm diameter.

Datasheet GP2Y0A02YK

NETduino driver code


Notice for California Residents: Warning symbolWARNING: Cancer and Reproductive Harm - www.P65Warnings.ca.gov