The GP2Y0A21 Sharp distance sensor is a great way to add obstacle avoidance or motion sensing to your robot or any other project. With a detection range of 4″ to 32″ (10 cm to 80 cm) and an analog voltage indicating the distance, this sensor is very easy to use.
The Sharp distance sensors are a popular choice for many projects that require accurate distance measurements. This IR sensor is more economical than sonar rangefinders, yet it provides much better performance than other IR alternatives. Interfacing to most microcontrollers is straightforward: the single analog output can be connected to an analog-to-digital converter for taking distance measurements, or the output can be connected to a comparator for threshold detection. The detection range of this version is approximately 10 cm to 80 cm (4″ to 32″).
The GP2Y0A21 uses a 3-pin JST PH connector that works with our 3-pin JST PH cables for Sharp distance sensors (not included), as shown in the upper picture on the right.
Specifications
Measuring Detecting distance is 10 to 80 cm
The maximum allowable Angle : > 40 °
The power supply voltage : 4.5 to 5.5 V
The average power consumption : 35 mA
Peak power consumption : about 200 mA
The frequency of updates/cycle : 25 Hz/40 ms
Analog output noise : < 200 mV
Less influence on the color of reflective objects, reflectivity
Line-up of distance output/distance judgement type :
Distance output type (analog voltage) : GP2Y0A21YK
Distance judgement type : GP2Y0D21YK
Judgement distance is 24cm
Adjustable within the range of 10 to 80cm [Optionally available])
Use left/right arrows to navigate the slideshow or swipe left/right if using a mobile device
Choosing a selection results in a full page refresh.
Press the space key then arrow keys to make a selection.
Shopping Cart
{"id":6629457166422,"title":"Sharp Infrared Proximity Sensor (10-80 cm)","handle":"sharp-infrared-proximity-sensor-10-80-cm","description":"\u003cp data-mce-fragment=\"1\"\u003e\u003cmeta charset=\"UTF-8\"\u003e\u003cspan\u003eThe GP2Y0A21 Sharp distance sensor is a great way to add obstacle avoidance or motion sensing to your robot or any other project. With a detection range of 4″ to 32″ (10 cm to 80 cm) and an analog voltage indicating the distance, this sensor is very easy to use.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe Sharp distance sensors are a popular choice for many projects that require accurate distance measurements. This IR sensor is more economical than sonar rangefinders, yet it provides much better performance than other IR alternatives. Interfacing to most microcontrollers is straightforward: the single analog output can be connected to an analog-to-digital converter for taking distance measurements, or the output can be connected to a comparator for threshold detection. The detection range of this version is approximately 10 cm to 80 cm (4″ to 32″).\u003cbr data-mce-fragment=\"1\"\u003e\u003cbr data-mce-fragment=\"1\"\u003eThe GP2Y0A21 uses a 3-pin JST PH connector that works with our 3-pin JST PH cables for Sharp distance sensors (not included), as shown in the upper picture on the right. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong style=\"font-size: 1.4em;\"\u003eSpecifications\u003c\/strong\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eMeasuring Detecting distance is 10 to 80 cm\u003c\/li\u003e\n\u003cli\u003eThe maximum allowable Angle : \u0026gt; 40 °\u003c\/li\u003e\n\u003cli\u003eThe power supply voltage : 4.5 to 5.5 V\u003c\/li\u003e\n\u003cli\u003eThe average power consumption : 35 mA\u003c\/li\u003e\n\u003cli\u003ePeak power consumption : about 200 mA\u003c\/li\u003e\n\u003cli\u003eThe frequency of updates\/cycle : 25 Hz\/40 ms\u003c\/li\u003e\n\u003cli\u003eAnalog output noise : \u0026lt; 200 mV\u003c\/li\u003e\n\u003cli\u003eLess influence on the color of reflective objects, reflectivity\u003c\/li\u003e\n\u003cli\u003eLine-up of distance output\/distance judgement type :\u003c\/li\u003e\n\u003cli\u003eDistance output type (analog voltage) : GP2Y0A21YK\u003c\/li\u003e\n\u003cli\u003eDistance judgement type : GP2Y0D21YK\u003c\/li\u003e\n\u003cli\u003eJudgement distance is 24cm\u003c\/li\u003e\n\u003cli\u003eAdjustable within the range of 10 to 80cm [Optionally available])\u003c\/li\u003e\n\u003cli\u003eExternal control circuit is unnecessary\u003c\/li\u003e\n\u003cli\u003eLow cost\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/download_3_480x480.png?v=1592686311\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/Wiring_Schematic_480x480.jpg?v=1592686336\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eResources\u003c\/span\u003e\u003c\/h5\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/DATASHEET\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1066\"\u003e\u003cspan\u003eDatasheet\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/SAMPLE_CODE\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1066\"\u003e\u003cspan\u003eSample Code\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eTutorial\u003c\/span\u003e\u003c\/h5\u003e\n\u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/GL8dkw1NbMc\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e \u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/WQ3oFyF5qeY\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\n\u003cp\u003e \u003c\/p\u003e","published_at":"2022-12-06T11:09:45+05:30","created_at":"2021-09-13T16:14:35+05:30","vendor":"ThinkRobotics","type":"Sensor","tags":["10-80cm","10cm","80cm","Arduino Sensor","Arduino ultrasonic sensor","Distance Sensor","ELC1","GP2Y0A02YK0F","GP2Y0A21YK0F","Infrared body sensor","Infrared sensor","IR Reflective sensor","Laser sensor","LIDAR sensor","proximity","Proximity sensor","PRX-SNR","sensor","Sharp","ZOHO UPDATED"],"price":52999,"price_min":52999,"price_max":52999,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":39537947639894,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"ELC1066","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Sharp Infrared Proximity Sensor (10-80 cm)","public_title":null,"options":["Default Title"],"price":52999,"weight":40,"compare_at_price":null,"inventory_management":"shopify","barcode":"ELC1066","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/thinkrobotics.com\/cdn\/shop\/products\/HTB1Rr60bnHuK1RkSndVq6xVwpXad.jpg?v=1631530009","\/\/thinkrobotics.com\/cdn\/shop\/products\/Sharp-GP2Y0A21YK0F-IR-Distance-Sensor-600x600.jpg?v=1631530011"],"featured_image":"\/\/thinkrobotics.com\/cdn\/shop\/products\/HTB1Rr60bnHuK1RkSndVq6xVwpXad.jpg?v=1631530009","options":["Title"],"media":[{"alt":null,"id":21282466562134,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/HTB1Rr60bnHuK1RkSndVq6xVwpXad.jpg?v=1631530009"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/HTB1Rr60bnHuK1RkSndVq6xVwpXad.jpg?v=1631530009","width":1000},{"alt":null,"id":21282466594902,"position":2,"preview_image":{"aspect_ratio":1.0,"height":600,"width":600,"src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/Sharp-GP2Y0A21YK0F-IR-Distance-Sensor-600x600.jpg?v=1631530011"},"aspect_ratio":1.0,"height":600,"media_type":"image","src":"\/\/thinkrobotics.com\/cdn\/shop\/products\/Sharp-GP2Y0A21YK0F-IR-Distance-Sensor-600x600.jpg?v=1631530011","width":600}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp data-mce-fragment=\"1\"\u003e\u003cmeta charset=\"UTF-8\"\u003e\u003cspan\u003eThe GP2Y0A21 Sharp distance sensor is a great way to add obstacle avoidance or motion sensing to your robot or any other project. With a detection range of 4″ to 32″ (10 cm to 80 cm) and an analog voltage indicating the distance, this sensor is very easy to use.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThe Sharp distance sensors are a popular choice for many projects that require accurate distance measurements. This IR sensor is more economical than sonar rangefinders, yet it provides much better performance than other IR alternatives. Interfacing to most microcontrollers is straightforward: the single analog output can be connected to an analog-to-digital converter for taking distance measurements, or the output can be connected to a comparator for threshold detection. The detection range of this version is approximately 10 cm to 80 cm (4″ to 32″).\u003cbr data-mce-fragment=\"1\"\u003e\u003cbr data-mce-fragment=\"1\"\u003eThe GP2Y0A21 uses a 3-pin JST PH connector that works with our 3-pin JST PH cables for Sharp distance sensors (not included), as shown in the upper picture on the right. \u003c\/p\u003e\n\u003cp\u003e\u003cstrong style=\"font-size: 1.4em;\"\u003eSpecifications\u003c\/strong\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eMeasuring Detecting distance is 10 to 80 cm\u003c\/li\u003e\n\u003cli\u003eThe maximum allowable Angle : \u0026gt; 40 °\u003c\/li\u003e\n\u003cli\u003eThe power supply voltage : 4.5 to 5.5 V\u003c\/li\u003e\n\u003cli\u003eThe average power consumption : 35 mA\u003c\/li\u003e\n\u003cli\u003ePeak power consumption : about 200 mA\u003c\/li\u003e\n\u003cli\u003eThe frequency of updates\/cycle : 25 Hz\/40 ms\u003c\/li\u003e\n\u003cli\u003eAnalog output noise : \u0026lt; 200 mV\u003c\/li\u003e\n\u003cli\u003eLess influence on the color of reflective objects, reflectivity\u003c\/li\u003e\n\u003cli\u003eLine-up of distance output\/distance judgement type :\u003c\/li\u003e\n\u003cli\u003eDistance output type (analog voltage) : GP2Y0A21YK\u003c\/li\u003e\n\u003cli\u003eDistance judgement type : GP2Y0D21YK\u003c\/li\u003e\n\u003cli\u003eJudgement distance is 24cm\u003c\/li\u003e\n\u003cli\u003eAdjustable within the range of 10 to 80cm [Optionally available])\u003c\/li\u003e\n\u003cli\u003eExternal control circuit is unnecessary\u003c\/li\u003e\n\u003cli\u003eLow cost\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/download_3_480x480.png?v=1592686311\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0014\/4313\/5560\/files\/Wiring_Schematic_480x480.jpg?v=1592686336\" alt=\"\"\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eResources\u003c\/span\u003e\u003c\/h5\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/DATASHEET\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1066\"\u003e\u003cspan\u003eDatasheet\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/github.com\/thinkrobotics\/SAMPLE_CODE\/tree\/master\/ELECTRONIC_COMPONENTS\/ELC1066\"\u003e\u003cspan\u003eSample Code\u003c\/span\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cspan\u003eTutorial\u003c\/span\u003e\u003c\/h5\u003e\n\u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/GL8dkw1NbMc\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e \u003ciframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/WQ3oFyF5qeY\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"\u003e\u003c\/iframe\u003e\n\u003cp\u003e \u003c\/p\u003e"}
I had used a lots of LoRa module till now, but it's really the best among all of them! the 1262 is a great upgrade in terms of output power and configuration. we can configure the output power, bandwidth, spreading factor and a tons of other things, which are not possible to configure on previous modules. the radiolib library works preety good with it and it also supports rssi and snr like features, which are very crucial when you are seriously researching on antenna or range related works! that's why I eventually like this module more then ebyte LoRas. To me this is the best module in IN8 68MHz, which is completly legal and free to use in India upto 1W! And also thanks to thinkrobotics, I got it in just 1 working day, and your packaging was also too good! Love your service, and keep this modules available on your websight. Your pricing of this module is too good, and I'll buy many of these modules. Thank you!
I had used a lots of LoRa module till now, but it's really the best among all of them! the 1262 is a great upgrade in terms of output power and configuration. we can configure the output power, bandwidth, spreading factor and a tons of other things, which are not possible to configure on previous modules. the radiolib library works preety good with it and it also supports rssi and snr like features, which are very crucial when you are seriously researching on antenna or range related works! that's why I eventually like this module more then ebyte LoRas. To me this is the best module in IN8 68MHz, which is completly legal and free to use in India upto 1W! And also thanks to thinkrobotics, I got it in just 1 working day, and your packaging was also too good! Love your service, and keep this modules available on your websight. Your pricing of this module is too good, and I'll buy many of these modules. Thank you!
Team is suppotive and solves all the queries .
The product is good and will surely help me in my project...looking forward for more trades with think robotics.