Store

SparkFun

$30.45 |
In stock
No reviews yet

The Sharp GP2Y0A21YK is an infrared proximity sensor with an analogue voltage output that varies with distance — from 3.1 V at 10 cm to 0.4 V at 80 cm. It us...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The Sharp GP2Y0A21YK is an infrared proximity sensor with an analogue voltage output that varies with distance — from 3.1 V at 10 cm to 0.4 V at 80 cm. It uses an IR emitter and position-sensitive detector to measure distance, making it unaffected by the colour or reflectivity of most objects.

The sensor terminates in a 3-pin JST connector. Use a JST pigtail cable for easy connection, or solder wires directly to the back of the module.

Specifications

  • Part Number: GP2Y0A21YK
  • Detection Range: 10–80 cm
  • Output: Analogue voltage (0.4–3.1 V)
  • Supply Voltage: 4.5–5.5 V
  • Connector: 3-pin JST
  • Manufacturer: Sharp

Ideal For

  • Obstacle avoidance on robots
  • Distance measurement projects
  • Object detection and proximity sensing
  • Arduino and microcontroller projects

Jargon buster

Plain-language definitions for the technical terms used above.

microcontroller
A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
Proximity sensor
A sensor that detects when an object is nearby without needing physical contact. For this product it matters because the useful detection range is short, up to about 200 mm, so it suits touch-free triggers and close object detection rather than long-distance measuring.

GP2Y0A21YK Datasheet

Datasheet · 69.5 KB · Click any page to view full size

Download PDF

Supplier page — sparkfun.com

Supplier Description · 567.3 KB · Click any page to view full size

Download PDF

Related Tutorials

Free guides on learn.littlebird.com.au

Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.