IR distance sensor includes cable (10cm-80cm) - GP2Y0A21YK0F

Product ID: 164
$14.95
Qty Discount
1-9 $14.95
10-99 $13.46
100+ $11.96

Description

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 short-range detection. 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

For more information, please see the datasheet! Note that it's not well documented but the case is conductive! So if you're mounting to a metal chassis, use a rubber gasket to isolate it.

Technical Details

Dimensions:

  • Length: 13.53mm/0.53in
  • Width: 44.39mm/1.75in
  • Height: 18.67mm/0.75in
  • Weight: 3.5g/0.12oz

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

NETduino driver code

RoHS 2 2011 65 EU Compliant
RoHS 2 2015 863 EU Compliant

Learn

This terrifying illuminated bowl will give trick-or-treaters quite a scare when they reach for candy and trip the distance sensor!