Image not available
Illustrative purposes only
GP2Y0A21YK0F
Distance Measuring Sensor, Optoelectronic, 80 cm, Analogue, 4.5 V to 5.5 V
⚠️ Reference pricing provided. In case of supply shortages, we will connect you with our trusted procurement partners to ensure your project's continuity.
- Manufacturer: SHARP
- Product type:
- Sensing Range Max:80cm; Sensing Method:Retroreflective; Sensor Output:Analogue; Product Range:-; Connection Method:-; Supply Voltage DC Min:4.5V; Supply V; Available until stocks are exhausted
- SVHC: No SVHC (15-Jan-2019)
- Product Range: -
- Sensing Method: Infrared
- Connection Method: 3 Pin Connector
- Sensing Range Max: 80cm
- Sensor Output Type: Analogue
- Supply Voltage DC Max: 5.5V
- Supply Voltage DC Min: 4.5V
- Operating Temperature Max: 60°C
- Operating Temperature Min: -10°C
| Delivery and price | |
|---|---|
| Units per pack | 1000 |
| Price | 4.15 € |
| Current stock | 10+ |
| Lead time | 30 days |
**GP2Y0A21YK0F** ## **GP2Y0A21YK0F** ## **■Description** **GP2Y0A21YK0F** is a distance measuring sensor unit, composed of an integrated combination of PSD (position sensitive detector) , IRED (infrared emitting diode) and signal processing circuit. The variety of the reflectivity of the object, the environmental temperature and the operating duration are not influenced easily to the distance detection because of adopting the triangulation method. This device outputs the voltage corresponding to the detection distance. So this sensor can also be used as a proximity sensor. ## ■ **Features** ## **Distance Measuring Sensor Unit Measuring distance: 10 to 80 cm Analog output type** ## ■ **Agency approvals/Compliance** 1. Compliant with RoHS directive (2002/95/EC) ## ■ **Applications** 1. Touch-less switch (Sanitary equipment, Control of illumination, etc. ) 2. Robot cleaner 3. Sensor for energy saving - (ATM, Copier, Vending machine) 4. Amusement equipment - (Robot, Arcade game machine) 1. Distance measuring range : 10 to 80 cm 2. Analog output type 3. Package size : 29.5×13×13.5 mm 4. Consumption current : Typ. 30 mA 5. Supply voltage : 4.5 to 5.5 V Notice The content of data sheet is subject to change without prior notice. In the absence of confirmation by device specification sheets, SHARP takes no responsibility for any defects that may occur in equipment using any SHARP ~~PT~~ devices shown in catalogs, data books, etc. Contact SHARP in order to obtain the latest device specification sheets before using any SHARP device. Sheet No.: E4-A00201EN Date Dec.01.2006 ©SHARP Corporation 1 **GP2Y0A21YK0F** ## ■ **Block diagram** **==> picture [256 x 175] intentionally omitted <==** **----- Start of picture text -----**<br> GND Vcc<br>PSD<br>Signal<br>processing circuit Voltage regulator<br>Oscillation circuit Vo<br>LED drive circuit Output circuit<br>LED<br>Distance measuring IC<br>**----- End of picture text -----**<br> ## ■ **Outline Dimensions** **==> picture [320 x 419] intentionally omitted <==** **----- Start of picture text -----**<br> (Stamp)<br>Stamp(Example)<br>2Y0A21 F 4 Z<br>Model name<br>Month(1 to 9,X,Y,Z)<br>Year(2005:5)<br>Light emitter 37<br>29.5 Light detector 6.3 Lens case<br>*4.5 * 20±0.1 2<br>3.75<br>Connector<br>10.1<br>PWB 1.2<br>14.75<br>(3.3)<br>7.5 4.15 16.3<br>①②③<br>Connector signal Materials<br>signal name Connector : Lens :Acrylic acid resin<br>VO J.S.T.TRADING COMPANY,LTD, (Visible light cut-off resin)<br>GND S3B-PH Case :Carbonic ABS<br>VCC (Conductive resin)<br> PWB :Paper phenol<br>Note 1. The dimensions marked * are described the dimensions of lens center position.<br>Note 2. Unspecified tolerances shall be ± 0.3 mm.<br>Note 3. The dimensions in parenthesis are shown for reference.<br>φ<br>3.2hole<br>φ<br>3.2hole<br>R3.75<br>R3.75<br>8.4 7.2 13 )<br>+0.5-0.3<br>(18.9<br>2-1.5 13.5<br>2Y0A21 F 4Z<br>**----- End of picture text -----**<br> (Unit : mm) Product mass : Approx. 3.6g Sheet No.: E4-A00201EN 2 **GP2Y0A21YK0F** ## ■ **Absolute Maximum Ratings** (Ta=25℃,VCC=5V) |Parameter|Symbol|Rating|Unit| |---|---|---|---| |Supply voltage|VCC|-0.3to+7|V| |Output terminalvoltage|VO|-0.3 to VCC+0.3|V| |Operatingtemperature|Topr|-10to+60|℃| |Storage temperature|Tstg|-40 to+70|℃| ## ■ **Electro-optical Characteristics** (Ta=25℃,VCC=5V) |Parameter|Symbol|Conditions|MIN.|TYP.|MAX.|Unit| |---|---|---|---|---|---|---| |Average supply current|ICC|L=80cm(Note1)|―|30|40|mA| |Distancemeasuring|ΔL|(Note1)|10|―|80|cm| |Outputvoltage|VO|L=80cm(Note1)|0.25|0.4|0.55|V| |Output voltage differential|ΔVO|Output voltage differece between<br>L=10cm and L=80cm(Note 1)|1.65|1.9|2.15|V| * L : Distance to reflective object Note 1 : Using reflective object : White paper (Made by Kodak Co., Ltd. gray cards R-27・white face, reflectance; 90%) ## ■ **Recommended operating conditions** |Parameter|Symbol|Rating|Unit| |---|---|---|---| |Supply voltage|VCC|4.5to 5.5|V| Sheet No.: E4-A00201EN 3 **GP2Y0A21YK0F** ## **Fig. 1 Timing chart** **==> picture [487 x 180] intentionally omitted <==** **----- Start of picture text -----**<br> Vcc(Power supply)<br>38.3ms±9.6ms<br>Second nth<br>Distance measuring operating First measurement measurement measurement<br>nth<br>Vo(Output) Unstable output First output Second output<br>output<br>MAX 5.0ms<br>**----- End of picture text -----**<br> Sheet No.: E4-A00201EN 4 **GP2Y0A21YK0F** ## **Fig. 2 Example of distance measuring characteristics(output)** **==> picture [311 x 527] intentionally omitted <==** **----- Start of picture text -----**<br> 3.5<br>White paper (Reflectance ratio 90%)<br>3 Gray paper (Reflectance ratio 18%)<br>2.5<br>2<br>1.5<br>1<br>0.5<br>0<br>0 10 20 30 40 50 60 70 80<br>Distance to reflective object L(cm)<br>3.5<br>6cm<br>5cm<br>3<br>7cm<br>8cm<br>2.5<br>10cm<br>2<br>1.5 15cm<br>20cm<br>25cm<br>1<br>30cm<br>40cm<br>50cm<br>0.5 White paper (Reflectance ratio 90%)<br>80cm Gray paper (Reflectance ratio 18%)<br>0<br>0 0.05 0.1 0.15 0.2<br>Inverse number of distance (1/cm)<br>Output voltage (V)<br>Output voltage (V)<br>**----- End of picture text -----**<br> Sheet No.: E4-A00201EN 5 **GP2Y0A21YK0F** ## **■Notes** ## **●Advice for the optics** - The lens of this device needs to be kept clean. There are cases that dust, water or oil and so on deteriorate the characteristics of this device. Please consider in actual application. - Please don’t do washing. Washing may deteriorate the characteristics of optical system and so on. - Please confirm resistance to chemicals under the actual usage since this product has not been designed against washing. ## **●Advice for the characteristics** - In case that an optical filter is set in front of the emitter and detector portion, the optical filter which has the most efficient transmittance at the emitting wavelength range of LED for this product (λ = 870 ± 70nm), shall be recommended to use. Both faces of the filter should be mirror polishing. Also, as there are cases that the characteristics may not be satisfied according to the distance between the protection cover and this product or the thickness of the protection cover, please use this product after confirming the operation sufficiently in actual application. - In case that there is an object near to emitter side of the sensor between sensor and a detecting object, please use this device after confirming sufficiently that the characteristics of this sensor do not change by the object. - When the detector is exposed to the direct light from the sun, tungsten lamp and so on, there are cases that it can not measure the distance exactly. Please consider the design that the detector is not exposed to the direct light from such light source. - Distance to a mirror reflector can not be sometimes measured exactly. In case of changing the mounting angle of this product, it may measure the distance exactly. - In case that reflective object has boundary line which material or color etc. are excessively different, in order to decrease deviation of measuring distance, it shall be recommended to set the sensor that the direction of boundary line and the line between emitter center and detector center are in parallel. (Incorrect) (Correct) **==> picture [226 x 47] intentionally omitted <==** - In order to decrease deviation of measuring distance by moving direction of the reflective object, it shall be recommended to set the sensor that the moving direction of the object and the line between emitter center and detector center are vertical. **==> picture [311 x 80] intentionally omitted <==** **----- Start of picture text -----**<br> (Incorrect) (Correct)<br>(Moving direction) (Moving direction)<br>**----- End of picture text -----**<br> ## **●Advice for the power supply** - In order to stabilize power supply line, we recommend to insert a by-pass capacitor of 10μF or more between Vcc and GND near this product. ## **●Notes on handling** - There are some possibilities that the internal components in the sensor may be exposed to the excessive mechanical stress. Please be careful not to cause any excessive pressure on the sensor package and also on the PCB while assembling this product. Sheet No.: E4-A00201EN 6 **GP2Y0A21YK0F** ## **●Presence of ODC etc.** This product shall not contain the following materials. And they are not used in the production process for this product. Regulation substances : CFCs, Halon, Carbon tetrachloride, 1.1.1-Trichloroethane (Methylchloroform) Specific brominated flame retardants such as the PBB and PBDE are not used in this product at all. This product shall not contain the following materials banned in the RoHS Directive (2002/95/EC). - Lead, Mercury, Cadmium, Hexavalent chromium, Polybrominated biphenyls (PBB), Polybrominated diphenyl ethers (PBDE). Sheet No.: E4-A00201EN 7 **GP2Y0A21YK0F** ## ■ **Package specification** ## Package composition **==> picture [461 x 374] intentionally omitted <==** **----- Start of picture text -----**<br> Pad<br>(2 sheeets/case: top and bottom)<br>Tray put products<br>Product (10-tray/case)<br>Pad<br>(10 sheeets/case)<br>Tray<br>(Fig.2) Packing case<br>Craft tape<br>(Fig.1)<br>(Fig.3) Model No.<br>Quantity<br>Date<br>**----- End of picture text -----**<br> ## Packaging method - 1.Put products of 100pcs. in tray. packing method is showed in the above fig.(Fig.1) - 2.Put them(10-tray) in the packing box. Put pads on their top and bottom. And put pads on each trays(Total 10 sheets) (Fig.2). - 3.Seal the packing box with craft tape. Print the model No.,quantity,inspection date (1000 pcs./a packing box)(Fig.3). Sheet No.: E4-A00201EN 8 **GP2Y0A21YK0F** ## ■ **Important Notices** · The circuit application examples in this publication are provided to explain representative applications of SHARP devices and are not intended to guarantee any circuit design or license any intellectual property rights. SHARP takes no responsibility for any problems related to any intellectual property right of a third party resulting from the use of SHARP's devices. · Contact SHARP in order to obtain the latest device specification sheets before using any SHARP device. SHARP reserves the right to make changes in the specifications, characteristics, data, materials, structure, and other contents described herein at any time without notice in order to improve design or reliability. Manufacturing locations are also subject to change without notice. · Observe the following points when using any devices in this publication. SHARP takes no responsibility for damage caused by improper use of the devices which does not meet the conditions and absolute maximum ratings to be used specified in the relevant specification sheet nor meet the following conditions: (i) The devices in this publication are designed for use in general electronic equipment designs such as: - --- Personal computers - --- Office automation equipment - --- Telecommunication equipment [terminal] - --- Test and measurement equipment - --- Industrial control - with equipment that requires higher reliability such as: --- Transportation control and safety equipment (i.e., aircraft, trains, automobiles, etc.) --- Traffic signals - --- Gas leakage sensor breakers - --- Alarm equipment - --- Various safety devices, etc. - (iii) SHARP devices shall not be used for or in connection with equipment that requires an extremely high level of reliability and safety such as: - --- Space applications - --- Telecommunication equipment [trunk lines] - --- Nuclear power control equipment - --- Medical and other life support equipment (e.g., scuba). · If the SHARP devices listed in this publication fall within the scope of strategic products described in the Foreign Exchange and Foreign Trade Law of Japan, it is necessary to obtain approval to export such SHARP devices. · This publication is the proprietary product of SHARP and is copyrighted, with all rights reserved. Under the copyright laws, no part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, in whole or in part, without the express written permission of SHARP. Express written permission is also required before any use of this publication may be made by a third party. --- Audio visual equipment --- Consumer electronics (ii) Measures such as fail-safe function and redundant design should be taken to ensure reliability and safety when SHARP devices are used for or in connection · Contact and consult with a SHARP representative if there are any questions about the contents of this publication. Sheet No.: E4-A00201EN 9
Updated at April 29, 2026
About Novapart
Novapart is a B2B electronic component broker specialising in stock shortages and cost reduction. We source hard-to-find parts and identify compliant alternatives across a catalogue of 410,000+ components from 500+ manufacturers.
Learn more →Stock Shortage Specialist
When a component is unavailable, discontinued or has an unacceptable lead time, we tap into our network of vetted European and Asian distributors to source what you need — without compromising on quality or traceability.
Request a quote →Compliant Alternatives
We identify pin-to-pin, electrically equivalent substitutes that meet the same certifications (RoHS, AEC-Q100, REACH) as your original specification — validated against datasheets, not just part numbers. Often at a lower cost.
BOM Analysis service →