GP2Y0A21YK0F Sharp Distance Measuring Sensor 10 to 80 cm
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 a12″ 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 the black wire to the ground, the red wire to 5V, and the white wire to the 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.
Note: This sensor draws current in large, short bursts, and the manufacturer recommends putting a 10 µF capacitor or larger across power and ground close to the sensor to stabilize the power supply line.
GP2Y0A21YK0F Sharp Distance Measuring Sensor 10 to 80 cm
Available:Out of Stock
- Product SKU: KG726
₹ 399
₹ 513

Specification
Description
GP2Y0A21YK0F Sharp Distance Measuring Sensor 10 to 80 cm
This is a Sharp Distance Measuring Sensor unit 10 to 80 cm – GP2Y0A21YK0F.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 a12″ 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 the black wire to the ground, the red wire to 5V, and the white wire to the 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.
Note: This sensor draws current in large, short bursts, and the manufacturer recommends putting a 10 µF capacitor or larger across power and ground close to the sensor to stabilize the power supply line.
Technical Details
- Model Type: Distance Measuring Sensor
- Distance Measuring Range: 0.1 to 0.8m
- Model: GP2Y0A21YK0F (10 to 80 cm)
- Operating Voltage: 4.5 ~ 5.5V DC
- Screw Hole Size: 37mm apart, 3mm diameter
- Cable Length: 15cm
- Length: 44mm
- Width: 18mm
- Height: 13mm
- Weight: 4g
- UPC: 602716546003
Features
- Transmitting Power: ≤ 20 dBm.
- 2.4G Mode: The second generation of an enhanced version of the automatic FM digital system.
- Model Type : Airplane / Glider / Helicopter
- Compatible Transmitter: Compatible with FS-i4, FS-i6, FS-i10, FS-GT2E, FS-GT2G etc.
Applications :
- Robotics: Used for obstacle detection and navigation in robots.
- Proximity Sensing: Helps in measuring distances to nearby objects for automation systems.
- Liquid Level Sensing: Monitors the level of liquids in containers or tanks.
- Security Systems: Employed in motion detection for alarm systems.
- Smart Home Automation: Integrated in touchless control systems like automatic doors or lights.
- Industrial Applications: Utilized for distance measurement in industrial machinery and monitoring systems.
- Consumer Electronics: In devices like digital cameras for auto-focus or gesture-based control.
- DIY Projects: A common sensor for hobbyists in creating distance-sensitive systems.
Integration with Arduino

Sample Code
Useful Links
Physical Attributes
- L x W x H (mm): 44 x 18 x 13
- Weight (gm) : 4
Package Includes
- 1 x Sharp Distance Measuring Sensor (10 to 80 cm)
- 1 x Connecting Cable