Adafruit
IR distance sensor includes cable (10cm-80cm) [GP2Y0A21YK0F]
The Sharp GP2Y0A21YK0F is an infrared distance sensor that measures distances from 10 cm to 80 cm by bouncing IR light off objects. It outputs an analogue vo...
Get notified when back in stock
The Sharp GP2Y0A21YK0F is an infrared distance sensor that measures distances from 10 cm to 80 cm by bouncing IR light off objects. It outputs an analogue voltage proportional to distance — approximately 3 V at 10 cm and 0.4 V at 80 cm — which can be read directly by an Arduino or other microcontroller's ADC input.
Includes a 30 cm (12") JST interface cable with three wires: red (5 V), black (GND), and white (analogue output).
Key Features
- Sensing Range – 10 cm to 80 cm
- Output – Analogue voltage (0.4 V to 3 V)
- Supply Voltage – 4.5 V to 5.5 V
- Current Consumption – Approximately 30 mA
- Cable Included – 3-pin JST connector, 30 cm length
Ideal For
- Robot obstacle detection and avoidance
- Proximity sensing and object detection
- Arduino and microcontroller projects
Package Contents
- 1× Sharp GP2Y0A21YK0F IR distance sensor
- 1× 3-pin JST interface cable
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- ADC
- An analogue-to-digital converter reads a changing voltage and turns it into a number the microcontroller can use. It matters when connecting analogue sensors such as light, sound, or variable-resistor sensors.
- GND
- GND is the ground or reference connection (0 V) for a circuit. When connecting two devices together, their grounds must be joined so both agree on what counts as a low or high signal.
- microcontroller
- A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
Find this product in
Brands
Related Tutorials
Free guides on learn.littlebird.com.au