top of page

Sharp GP2Y0A21YK0F Infrared Distance Sensor – 10cm to 80cm Analog Output

Product Description

The Sharp GP2Y0A21YK0F Infrared Distance Sensor is a non-contact distance measurement sensor designed for robotics, automation, obstacle detection and embedded electronics projects. It uses infrared sensing technology to measure the distance to nearby objects within an approximate range of 10cm to 80cm.

The sensor provides an analog voltage output that varies with the detected distance, allowing compatible microcontrollers to read measurements through an analog input. It is suitable for integration with Arduino, ESP32, Raspberry Pi systems with an appropriate analog-to-digital converter (ADC), and other compatible development platforms.

With its compact design and practical sensing range, the GP2Y0A21YK0F is a useful choice for mobile robots, obstacle avoidance systems, smart devices, educational electronics and distance-monitoring applications.

Key Features

  • Infrared Distance Measurement: Detects objects without physical contact.

  • 10cm to 80cm Range: Suitable for short- to medium-range proximity sensing.

  • Analog Voltage Output: Provides a distance-dependent signal for microcontroller interfacing.

  • Sharp Sensor Model: GP2Y0A21YK0F.

  • Compact Design: Convenient for integration into robots and embedded systems.

  • Obstacle Detection: Helps robots detect nearby objects and obstacles.

  • Microcontroller Integration: Suitable for compatible Arduino and other development boards.

  • Versatile Applications: Useful for robotics, automation, educational projects and smart devices.

Technical Specifications

Parameter

Specification

Product Name

Sharp Infrared Distance Sensor

Model Number

GP2Y0A21YK0F

Sensing Technology

Infrared (IR)

Measurement Range

Approximately 10cm–80cm

Output Type

Analog voltage

Measurement Method

Non-contact distance sensing

Interface

Analog signal output

Suitable Applications

Robotics, obstacle detection, automation

Microcontroller Compatibility

Arduino, ESP32 and other compatible systems

Applications

  • Robot obstacle avoidance

  • Mobile robot navigation

  • Distance measurement projects

  • Smart automation systems

  • Embedded electronics development

  • Educational robotics and STEM projects

  • Object proximity detection

  • Interactive electronic devices

  • Industrial and experimental automation prototypes

Package Includes

  • 1 × Sharp GP2Y0A21YK0F Infrared Distance Sensor

Important Notes

  • ESP32 compatibility: Check the sensor's output voltage range before connecting it to an ESP32 ADC input. Use suitable voltage scaling if required.

  • Raspberry Pi compatibility: Most standard Raspberry Pi boards do not have a built-in analog input, so an external ADC is needed to read the sensor's analog output.

  • Measurement limitations: Readings can vary depending on the target's surface, reflectivity, angle and ambient lighting.

  • Minimum range: The sensor is not intended for reliable measurements below its specified minimum distance of approximately 10cm.

  • Verify the supplied sensor's connector, cable and power requirements against the manufacturer's datasheet before installation.

The Sharp GP2Y0A21YK0F is a practical distance-sensing solution for makers, students and developers building robotics and embedded electronics projects.

Sharp GP2Y0A21YK0F IR Distance Sensor 10–80cm

SKU: EC0118
₹599.00Price
Quantity
No Reviews YetShare your thoughts. Be the first to leave a review.

Related Products

Related Products

Special Offers

bottom of page