GP2Y0A21YK0F Sharp

GP2Y0A21YK0F electronic component of Sharp
GP2Y0A21YK0F Sharp
GP2Y0A21YK0F Distance Sensor Modules - Enclosed
GP2Y0A21YK0F  Robotics and Prototyping
Images are for reference only, See Product Specifications

X-On Electronics has gained recognition as a prominent supplier of GP2Y0A21YK0F Distance Sensor Modules - Enclosed across the USA, India, Europe, Australia, and various other global locations. GP2Y0A21YK0F Distance Sensor Modules - Enclosed are a product manufactured by Sharp. We provide cost-effective solutions for Distance Sensor Modules - Enclosed, ensuring timely deliveries around the world.

Part No.GP2Y0A21YK0F
Manufacturer:Sharp
Category:Distance Sensor Modules - Enclosed
Description:Distance Sensor Modules - Enclosed Distnc Measurng Snsr Wde Beam 10-80cm
Sharp GP2Y0A21YK0F analog optical distance sensor module, 10–80 cm range, wide beam, integrated emitter and detector.
Datasheet:GP2Y0A21YK0F Datasheet (PDF)
Shipping Charges:Click here for details
AI Image
Price (USD)
  
2: USD 4.7271 ea
Line Total: USD 9.45 
Availability : 0
  
QtyUnit Price
2$ 4.7271
10$ 4.6749
100$ 4.625
250$ 4.5325
  

Availability0
Ship by Fri. 04 Dec to Tue. 08 Dec
MOQ : 1
Multiples : 1
QtyUnit Price
1$ 9.732
10$ 8.085
100$ 7.81
500$ 7.447
1000$ 7.447


Availability0
Ship by Tue. 08 Dec to Mon. 14 Dec
MOQ : 2
Multiples : 1
QtyUnit Price
2$ 4.7271
10$ 4.6749
100$ 4.625
250$ 4.5325

   
Manufacturer
Product Category
RoHS - XON
Icon ROHS
Sensing Distance
Sensing Method
Brand
Maximum Operating Temperature
Minimum Operating Temperature
Factory Pack Quantity :
Cnhts
Hts Code
Mxhts
Brand Category
LoadingGif
 
Notes:- Show Stocked Products With Similar Attributes.

We are delighted to provide the GP2Y0A21YK0F from our Distance Sensor Modules - Enclosed category, at competitive rates not only in the United States, Australia, and India, but also across Europe and beyond. A long established and extensive electronic component distribution network has enhanced our global reach and dependability, ensuring cost savings through prompt deliveries worldwide. Client satisfaction is at the heart of our business, where every component counts and every customer matters. Our technical service team is ready to assist you. From product selection to after-sales support, we strive to deliver a seamless and satisfying experience. Are you ready to experience the best in electronic component distribution? Contact X-ON Electronics today and discover why X-On are a preferred choice for the GP2Y0A21YK0F and other electronic components in the Distance Sensor Modules - Enclosed category and beyond.

The Sharp GP2Y0A21YK0F is an analog optical distance sensor module. It uses an infrared LED and position-sensitive detector with triangulation to measure distance. The output is a distance-dependent analog voltage, enabling simple range detection without complex signal processing.

Used in robots, AGVs, and consumer devices for obstacle detection and basic ranging. Common in line-following and wall-avoiding robots, proximity detection in kiosks, simple presence sensing, and distance-triggered controls in hobby, educational, and light industrial electronics.

ImagePart-Description
BSS138 Tokmas electronic componentBSS138 - Tokmas Price From: 0.0054 
Description :60V 300mA 350mW 2.5Ω@10V,500mA N Channel SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
2N3904 Yongyutai Electronics electronic component2N3904 - Yongyutai Electronics Price From: 0.0054 Stock:  16684
Description :450mW 400 1 NPN NPN 100mA 40V TO-92 Single Bipolar Transistors RoHS
AI Reason :NPN transistor that can be used to switch sensor power or enable/disable the sensor under microcontroller control.
2N3904 GOODWORK electronic component2N3904 - GOODWORK Price From: 0.0057 Stock:  76145
Description :40V 100 200mA 1 NPN NPN SOT-23 Single Bipolar Transistors
AI Reason :NPN transistor that can be used to switch sensor power or enable/disable the sensor under microcontroller control.
2N3904 JSMSEMI electronic component2N3904 - JSMSEMI Price From: 0.0073 Stock:  45008
Description : TO-92-3 Bipolar Transistors - BJT ROHS
AI Reason :NPN transistor that can be used to switch sensor power or enable/disable the sensor under microcontroller control.
2N3904 SLKORMICRO electronic component2N3904 - SLKORMICRO Price From: 0.0075 
Description :40V 625mW 10@10mA,1V 200mA NPN TO-92-3 Bipolar Transistors - BJT ROHS
AI Reason :NPN transistor that can be used to switch sensor power or enable/disable the sensor under microcontroller control.
BSS138 JSMSEMI electronic componentBSS138 - JSMSEMI Price From: 0.0085 Stock:  115527
Description : SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
BSS138 FUXINSEMI electronic componentBSS138 - FUXINSEMI Price From: 0.009 Stock:  2793
Description :SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
BSS138 High Diode electronic componentBSS138 - High Diode Price From: 0.0092 Stock:  2473
Description :SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
BSS138 HUASHUO electronic componentBSS138 - HUASHUO Price From: 0.0097 
Description :MOSFET N Channel 50V 0.23A 1.5V @ 250uA 3.4O @ 0.22A,10V SOT-23-3 RoHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
BSS138 ALJ electronic componentBSS138 - ALJ Price From: 0.0097 Stock:  84099
Description :SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
BSS138 Juxing Electronic Technology electronic componentBSS138 - Juxing Electronic Technology Price From: 0.0099 Stock:  174
Description :50V 220mA 3.5Ω@10V,0.22A 350mW 800mV@1mA null SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
BSS138 ElecSuper electronic componentBSS138 - ElecSuper Price From: 0.0101 Stock:  330285
Description :50V 300mA 1.5@10V,500mA 300mW 1V@250uA 1PCSNChannel SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
2N3904 luJing electronic component2N3904 - luJing Price From: 0.0108 Stock:  48
Description :40V 300 200mA 1 NPN NPN TO-92 Single Bipolar Transistors
AI Reason :NPN transistor that can be used to switch sensor power or enable/disable the sensor under microcontroller control.
BSS138 Yangjie electronic componentBSS138 - Yangjie Price From: 0.0109 
Description :Transistor: N-MOSFET; TRENCH POWER MV; unipolar; 50V; 0.272A
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
BSS138 Microdiode Electronics electronic componentBSS138 - Microdiode Electronics Price From: 0.0109 Stock:  121259
Description :null 500mA 0.9O@10V null SOT-23 MOSFETs ROHS
AI Reason :N‑channel MOSFET often used in level‑shifter circuits when interfacing the 5 V sensor output to 3.3 V logic systems.
ImagePart-Description
GP2Y0A51SK0F Sharp electronic componentGP2Y0A51SK0F - Sharp Price From: 4.2487 Stock:  69
Description :Sharp Microelectronics Photosensitive diode dust sensor-Modifd
AI Reason :Short‑range Sharp analog distance sensor with compatible power and output interface, usable where a different range profile is acceptable.
GP2Y0A710K0F Sharp electronic componentGP2Y0A710K0F - Sharp Price From: 4.6718 
Description :Distance Sensors Dist Meas Sensor Analog, 100-550cm
AI Reason :Long‑range Sharp analog distance sensor with similar analog voltage output behavior, interchangeable in systems tolerant of range differences.
GP2Y0A02YK0F Sharp electronic componentGP2Y0A02YK0F - Sharp Price From: 5.5496 
Description :Proximity Sensors Distance Measuring Sensor 20-150cm
AI Reason :Sharp analog distance sensor with similar interface and footprint but extended range, usable as a higher‑range substitute with recalibration.
GP2Y0A60SZLF Sharp electronic componentGP2Y0A60SZLF - Sharp Price From: 7.2924 
Description :Distance Sensors Dist Meas Sensor Analog, 10-150 cm
AI Reason :Sharp analog distance sensor using the same operating principle and analog output, replaceable with firmware and mounting adjustments.
GP2Y0A41SK0F Sharp electronic componentGP2Y0A41SK0F - Sharp Price From: 7.4316 Stock:  194
Description :Distance Sensors Dist Meas Sensor Analog, 4-30 cm
AI Reason :Sharp analog distance sensor with similar output characteristics and pinout, suitable for shorter‑range applications with minor mechanical changes.
ImagePart-Description
GP2A230LRS0F Sharp electronic componentGP2A230LRS0F
Sharp Microelectronics Optical Switches, Reflective, Photo IC Output Submini Photointrptr Reflective 2.0mm
Stock : 6
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
GP1A57HRJ00F Sharp electronic componentGP1A57HRJ00F
Optical Switches, Transmissive, Photo IC Output OPIC Photointerruptr Schmdt Gap 10.0mm
Stock : 941
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
PC123X5YUP1B Sharp electronic componentPC123X5YUP1B
Optocoupler; SMD; Channels:1; Out: transistor; Uinsul:5kV; Uce:80V
Stock : 0
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
PC3H7AJ0001H Sharp electronic componentPC3H7AJ0001H
Optocoupler; SMD; Channels:1; Out: transistor; Uinsul:2.5kV
Stock : 5
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
PC817X3NIP1B Sharp electronic componentPC817X3NIP1B
Transistor Output Optocouplers OPTOISOLATOR 5KV TRANS SMD, Optoisolator Transistor Output 1 Channel
Stock : 30200
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
PC925LENIP0F Sharp electronic componentPC925LENIP0F
Optocouplers SMD-8_6.3mm RoHS
Stock : 785
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
PC817X2CSZ9F Sharp electronic componentPC817X2CSZ9F
Transistor Output Optocouplers Photocoupler
Stock : 5
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
PC3H712NIP1H Sharp electronic componentPC3H712NIP1H
Transistor Output Optocouplers Photocoupler
Stock : 1
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
PC851XNNIP1H Sharp electronic componentPC851XNNIP1H
Transistor Output Optocouplers Photocoupler
Stock : 13
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
GP2Y0AF15XR Sharp electronic componentGP2Y0AF15XR
15mm~150mm Angle, Linear Position Measuring RoHS
Stock : 3
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
ImagePart-Description
SEN0340 DF Robot electronic componentSEN0340
Distance Sensor Modules - Enclosed TF-Luna ToF Single-Point Ranging Solid State LiDAR Sensor (8m, UART / I2C)
Stock : 1
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
DFR0728 DF Robot electronic componentDFR0728
Distance Sensor Modules - Enclosed HPS-3D160-U Area Array Lidar
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G203B-S-MK Panasonic electronic componentHL-G203B-S-MK
Distance Sensor Modules - Enclosed EtherNet/IP 30+/-5mm Laser Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G205B-A-MK Panasonic electronic componentHL-G205B-A-MK
Distance Sensor Modules - Enclosed Analog 50+/-10mm Laser Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G205B-S-MK Panasonic electronic componentHL-G205B-S-MK
Distance Sensor Modules - Enclosed EtherNet/IP 50+/-10mm Laser Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G208B-A-MK Panasonic electronic componentHL-G208B-A-MK
Distance Sensor Modules - Enclosed Analog 85+/-20mm Laser Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G212B-A-MK Panasonic electronic componentHL-G212B-A-MK
Distance Sensor Modules - Enclosed Analog 120+/-30mm Laser Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G212B-S-MK Panasonic electronic componentHL-G212B-S-MK
Distance Sensor Modules - Enclosed EtherNet/IP 120+/-30mm Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G225B-S-MK Panasonic electronic componentHL-G225B-S-MK
Distance Sensor Modules - Enclosed EtherNet/IP 250+/-150mm Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
HL-G203B-A-MK Panasonic electronic componentHL-G203B-A-MK
Distance Sensor Modules - Enclosed Analog 30+/-5mm Laser Displacement
Stock : 2
This product is classified as Large/Heavy, additional shipping charges may apply. A customer service representative may contact you after ordering to confirm exact shipping charges.
1.
What type of sensor is the GP2Y0A21YK0F?
It is an analog optical distance sensor module that uses an infrared LED and position-sensitive detector with a triangulation method to measure distance and output a corresponding analog voltage.
2.
What distance range can the GP2Y0A21YK0F typically detect?
It is designed for medium-range distance measurement, with a nominal operating range of approximately 10 cm to 80 cm, optimized for obstacle and proximity detection within that span.
3.
What kind of output does the GP2Y0A21YK0F provide?
The sensor provides a single analog voltage output whose level varies nonlinearly with target distance. This voltage can be read by an ADC on a microcontroller or other analog measurement circuitry.
4.
How does the GP2Y0A21YK0F measure distance?
It emits infrared light toward a target and receives the reflected light on a position-sensitive detector. Using optical triangulation, the position of the reflected spot on the detector is converted into a distance-dependent analog voltage.
5.
What supply voltage does the GP2Y0A21YK0F require?
The module is designed to operate from a single low-voltage DC supply. Refer to the official Sharp datasheet or your distributor’s technical documentation for the exact recommended supply voltage and limits.
6.
Is the GP2Y0A21YK0F output linear with distance?
No, the output voltage versus distance characteristic is nonlinear. Users typically apply a calibration curve, lookup table, or mathematical approximation to convert the analog voltage into an estimated distance.
7.
Can the GP2Y0A21YK0F be connected directly to a microcontroller?
Yes, in many designs the analog output is connected directly to a microcontroller ADC input, provided the supply and signal voltage levels are compatible and the circuit follows the datasheet’s recommended wiring and decoupling.
8.
What are common applications of the GP2Y0A21YK0F?
Typical uses include obstacle detection in mobile robots, simple range finding, presence sensing in consumer devices, distance-triggered switches, and educational projects requiring medium-range, non-contact distance measurement.
9.
How does target surface affect GP2Y0A21YK0F readings?
Distance readings can vary with target color, reflectivity, and texture. Dark or highly absorbent surfaces may reduce reflected IR, while very shiny or angled surfaces can cause measurement errors. Calibration in the intended environment is recommended.
10.
Is the GP2Y0A21YK0F suitable for outdoor use?
Strong ambient light, especially sunlight, can affect performance. While it may work in some outdoor conditions, it is primarily intended for indoor or controlled environments. Additional shielding or mechanical design may be needed outdoors.
11.
What mounting and alignment considerations are important?
The sensor should be mounted rigidly with its optical window unobstructed and aimed toward the target area. Proper orientation, stable mechanical support, and avoiding nearby reflective surfaces help improve measurement stability and repeatability.
12.
Can the GP2Y0A21YK0F be replaced with another Sharp distance sensor?
Sharp offers similar modules with different ranges and characteristics. Some have similar pinouts and form factors, but they are not universally drop-in compatible. Always compare datasheets and verify electrical, mechanical, and range compatibility before substitution.
Tariff Desc

8543.70.00 - Other machines and apparatus Free
13 No Signal processors (graphic equalisers, crossovers etc.)
91 .. Other

9027.10.00 Instruments and apparatus for physical or chemical analysis (for example, polarimeters, refractometers, spectrometers, gas or smoke analysis apparatus); instruments and apparatus for measuring or checking viscosity, porosity, expansion, surface tension or the like; instruments and apparatus for measuring or checking quantities of heat, sound or light (including exposure meters); microtomes.

9031.80.00 - MEASURING OR CHECKING INSTRUMENTS, APPLIANCES AND MACHINES, NOT SPECIFIED OR INCLUDED ELSEWHERE IN THIS CHAPTER; PROFILE PROJECTORS Other instruments, appliances and machines Free
Sharp Electronics
Sharp Microelectronics
SharpMicroelectronics
SHP
MKP4-1.0/250/10 Film Capacitors by WIMA  – Buy at XON image

Sep 23, 2026
MKP4-1.0/250/10 by WIMA is a 1 µF polypropylene Film Capacitor with ±10% tolerance, 250 VDC rating, 160 VAC rating, radial leads and -55°C to +100°C operation.
PIC16F877A-I/P MCU by Microchip – Buy Online at XON image

Apr 24, 2026
The PIC16F877A-I/P 8-bit Microcontrollers - MCU by Microchip is a powerful and versatile microcontroller designed for embedded systems. Ideal for Semiconductors, Integrated Circuits - ICs, Embedded Processors & Controllers, Microcontrollers - MCU, 8-bit Microcontrollers - MCU , it delivers r
PSS-0020 Piezo Buzzer | KLAXON SIGNALS image

Oct 27, 2025
The PSS-0020 Piezo Buzzers & Audio Indicators by KLAXON SIGNALS offer reliable, loud alerts with low power use. Ideal for industrial and safety systems, available globally at Xon Electronics.
CF1/4W-10K Resistor by SR – Buy at XON image

Apr 2, 2026
CF1/4W-10K carbon film resistor by SR Passives offers 10K resistance, 1/4W rating, and reliable performance for general electronic and circuit applications.

Looking for help? Visit our FAQ's Section to answer to all your questions

 

X-ON Worldwide Electronics

Welcome To X-ON Electronics
For more than 30 years, we have championed innovation and helped shape the electronic components supply industry. Our management philosophy aligns with our global reach and unwavering commitment to quality. Built on a strong commercial foundation, we continue to drive innovation across everything we do. If you need a trustworthy reliable partner in electronic component supply – look no further.
 

Copyright ©2026  X-ON Electronics Services. All rights reserved.
Please ensure you have read and understood our Terms & Conditions before purchasing. All prices exclude GST.

Image for all the cards that are accepted Image for all the cards that are accepted Image for all the cards that are accepted Image for all the cards that are accepted Image for all the cards that are accepted AS9120 Certified