{"title":"Sharp GP2Y0A21YK0F Analog Distance Sensor 10-80cm","handle":"sharp-gp2y0a21yk0f-analog-distance-sensor-10-80cm","url":"/products/sharp-gp2y0a21yk0f-analog-distance-sensor-10-80cm","description":"The Sharp GP2Y0A21YK0F is an infrared distance sensor that outputs an analogue voltage corresponding to the distance of the nearest object within its 10–80 cm detection range. Using IR triangulation, it provides reliable distance measurements independent of the target object's colour or reflectivity.\n\nThe sensor connects via a 3-pin JST PH connector and operates from a 4.5–5.5 V supply, making it compatible with most microcontroller platforms including Arduino and Raspberry Pi (with an ADC).\n\nKey Features\n\n\nIR Triangulation – Measures distance using infrared light, not affected by target colour\n\nAnalogue Voltage Output – 1.9 V typical differential across the detection range\n\n10–80 cm Range – Reliable detection of objects within this window\n\nFast Update Rate – 38 ± 10 ms measurement period\n\nCompact &amp; Lightweight – Only 3.5 g\n\n\nSpecifications\n\n\nOperating Voltage: 4.5–5.5 V\n\nCurrent Consumption: 30 mA average\n\nDetection Range: 10–80 cm\n\nOutput: Analogue voltage\n\nUpdate Period: 38 ± 10 ms\n\nConnector: 3-pin JST PH\n\nDimensions: 44.5 × 18.9 × 13.5 mm\n\nWeight: 3.5 g\n\nCompliance: RoHS (lead-free)\n\n\n\nTip: Place a 10 µF (or larger) bypass capacitor across the power and ground pins close to the sensor, as it draws current in short bursts.\n\n\nIdeal For\n\nObstacle avoidance on mobile robots\nProximity and motion detection\nObject distance measurement\n\n\nPackage Contents\n\n1× Sharp GP2Y0A21YK0F analogue distance sensor with JST PH cable\n","vendor":"Pololu","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":13440,"title":"Default Title","sku":"PL-136","price":19.75,"compare_at_price":23.38,"on_sale":true,"in_stock":true,"available_quantity":4,"option1":"Default Title"}]}