Sharp GP2Y0A02YK0F IR Range Sensor - 20 cm to 150 cm
Description
- Infrared range finder 20cm (~8") to 150cm (~60")
- Analog interface
- United with PSD
- Lead free, ROHS compliant
Read the distance of the object in front of your robot. The Sharp GP2Y0A02YK0F IR Range Sensor - 20 cm to 150 cm takes a continuous distance reading and reports the distance as an analog voltage with a distance range of 20cm (~8") to 150cm (~60"). The interface is 3-wire with power, ground and the output voltage and requires a SIRC-01 Sharp GP2 IR Sensor Cable - 8" .
It 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.
We also carry mouting brackets (

Features:
- Distance measuring range: 20 to 150 cm
- Analog output type
- Consumption current : Typ. 33 mA
- Supply voltage : 4.5 to 5.5 V

Applications:
- Touch-less switch (Sanitary equipment, Control of illumination, etc. )
- Sensor for energy saving (ATM, Copier, Vending machine, Laptop computer, LCD monitor)
- Amusement equipment (Robot, Arcade game machine)
- 44.5 mm × 18.9 mm × 21.6 mm (1.75″ × 0.75″ × 0.85″)
- Weight: 5 g (0.18 oz)
PDF File
- Operating voltage: 4.5 V to 5.5 V
- Average current consumption: 33 mA
- Output type: analog voltage
- Output voltage differential over distance range: 2.05 V (typical)
- Update period: 38 ± 10 ms
Good product, robust and well made, works across the supply voltage range, one little niggle the product specification diagram, would be more helpful for people if the supply + and - where to be given a red and black colour name. Also, the pinout leads on the circuit board are long and there is a worry that they could touch any metal support bracket, that is the reason I suggested worth getting the support bracket, as I suspect it removes that worry (nice touch if it was to be supplied free!). It is worthwhile, buying the support bracket for this product as it would make mounting a lot easier. The range is accurate but is proportional to voltage.
It does what it says and I like that there are several versions for different distance ranges. The analog output is easier to deal with than reading a pulse width on a sonic ranger type sensor. Also, and this never occured to me beforehand but sonic rangers have a hard time dealing with clothing so if its peeps your ranging then infrared is the choice. OTOH since its analog you need some kind of interface for a raspberry pi.
This type of sensors from Sharp shares two issues: One is that their output is noisy, not quite random but occasional jump style noise. Median averaging can be helpful in this case but it limits the maximum bandwidth of the sensor. Second issue is more tricky. When the object is out of range, i.e. too near or too far then it produces unexpected value. For example object at 2m (out of range) produces the same output as object 1m (in range). When it comes to environmental effect, i.e. surface condition of the object or effect of day light, etc., it is more robust than other type of sensors such as ultrasonic type.
I have used Sharp IR range finders all the way back to the 90's They have always been a great reliable sensor. They are often used in commercial and production level robots. You have to understand the nature of how it works, to understand its limitations. It is simply sending out an IR blast than looks for a return, of any level, to gather how far the object is based on the amount of returned light. So the surface, shape, and size, of the object can change the results you get from the sensor. So like with any object tracking of this nature it is best to take the average of multiple sensors, and or multiple samples of a single sensor to get a better overall average, and remove anomalies. NOTE: These sensors work great in groups and do not interfere with each-other. With that said, the consistency across the sensors I have ordered over the years has always been the same, the notes mentioned above, are known, and apply to all sensors equally, so knowing this, you can allow for it in your application. For known variability is much better than pure random. For the most recent install, I picked up 8 of these for a leg detection system, and at 4-7 Feet I found this sensor was able to get reliable data that was very usable. For people may not often think of these as good 'human' detectors, but they have a very fast response, limited beam width and fast 'resets' Unlike other sensors like PIR, and SONAR. One tip I will give is get the harness, you will thank me later, when you try to source the proper connector and wire combination. The one available here by the Robot shop, is a perfect mate. I would recommend this sensor to those who have it in mind. You can not beat the price, even for just a test prototype.
Estimate shipping
WARNING: This product can expose you to chemicals including lead and lead compounds, which are known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go to: www.P65Warnings.ca.gov.
Refund Policy
If you are not satisfied with a product purchased from the Site, you may request a return within 30 days from the delivery date, unless the product is listed under the Return Exceptions below or is subject to specific return conditions noted on the product page.
This return policy also applies, as a minimum standard, to products sold and fulfilled by third-party vendors through the Marketplace.
Please review the Return Conditions, Return Exceptions and the process on How to Request a Return Authorization (RA) before initiating a return request.
Returns under this policy concern non-defective products. In the case of a confirmed manufacturing defect, remedies are handled under the Warranty terms, at the Vendor's discretion. See the Warranty section.
Return Conditions
To qualify for a refund under the 30-day return policy, all of the following conditions must be met:
- A valid Return Authorization (RA) number must be obtained prior to returning the product. Returns without an RA number will be refused.
- The RA number is valid for 30 days. The returned item must be received within that period.
- The RA number must be included with the return.
- Products must be returned in unused, unmodified condition (e.g., no scratches, alterations, missing parts, or signs of installation/use) and in their original packaging, suitable for resale.
- Shipping fees are non-refundable. Return shipping costs are the responsibility of the customer, except in cases of a product confirmed defective through RobotShop's troubleshooting process or of a verified shipping error by RobotShop.
- Refunds are processed within 7 days after receipt and inspection of the returned item.
- A $100 cleaning fee may apply to domestic robots returned in used or unclean condition.
- A 20% restocking fee may apply to large-quantity returns of items ordered specifically for the customer from the manufacturer or not part of RobotShop's standard inventory.
Return Exceptions
The following products are not eligible for return or refund under this policy:
- Used, damaged, or modified products — Items that show signs of use, wear, or alteration, making them unsuitable for resale.
- Consumables — Use and wear-and-tear components, altered or depleted through use (e.g., batteries, belts, brushes, gears, filament, tires, disposable bags, lubricants, greases, waxes, etc.). Not eligible for return once opened or used.
- Perishables — Goods liable to deteriorate or expire rapidly. Not eligible for return.
- Sealed goods (health or hygiene) — Items sealed for health-protection or hygiene reasons (e.g., masks, gloves, odor-absorbing products). Not eligible for return once unsealed.
- Build-it-yourself products and items requiring customer assembly — Including robots & kits, robot parts, and other products requiring assembly or soldering. Not eligible for return once assembled, soldered, or installed.
- Digital Goods, Software, and Apps — Final sale only, due to licensing restrictions.
- Clearance Items — Products identified as clearance or final sale, including end-of-life or discontinued items.
- Custom-made, personalized, or special-order items — Products manufactured, configured, adapted, or built to the customer's own specifications and requirements.
- On-Demand Items — Standard catalogue products not stocked by RobotShop and ordered specifically to fulfill a customer request.
- Professional & Specialized Equipment — See the Professional & Specialized Equipment Warranty page and Professional & Institutional Buyers (B2B) section in the Terms & Conditions.
How to Request a Return Authorization (RA)
While the same return policy applies, these orders require a separate contact process for returns.
- RobotShop Fulfilled Orders → submit a support ticket from your account under My Support Tickets.
- Marketplace Vendor Orders → submit a ticket from your account under My Marketplace Tickets to contact the vendor directly.
Note: Marketplace vendor products are normally labelled with SKUs starting with RM, and identified on the product page with the mention "Sold and fulfilled by [Vendor Name]".