{"title":"IR distance sensor includes cable (10cm-80cm) [GP2Y0A21YK0F]","handle":"ir-distance-sensor-includes-cable-10cm-80cm-gp2y0a21yk0f","url":"/products/ir-distance-sensor-includes-cable-10cm-80cm-gp2y0a21yk0f","description":"The Sharp GP2Y0A21YK0F is an infrared distance sensor that measures distances from 10 cm to 80 cm by bouncing IR light off objects. It outputs an analogue voltage proportional to distance — approximately 3 V at 10 cm and 0.4 V at 80 cm — which can be read directly by an Arduino or other microcontroller's ADC input.\n\nIncludes a 30 cm (12\") JST interface cable with three wires: red (5 V), black (GND), and white (analogue output).\n\nKey Features\n\n\nSensing Range – 10 cm to 80 cm\n\nOutput – Analogue voltage (0.4 V to 3 V)\n\nSupply Voltage – 4.5 V to 5.5 V\n\nCurrent Consumption – Approximately 30 mA\n\nCable Included – 3-pin JST connector, 30 cm length\n\n\nIdeal For\n\nRobot obstacle detection and avoidance\nProximity sensing and object detection\nArduino and microcontroller projects\n\n\nPackage Contents\n\n1× Sharp GP2Y0A21YK0F IR distance sensor\n1× 3-pin JST interface cable\n\n\nResources\n\nDatasheet (PDF)\n","vendor":"Adafruit","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":11506,"title":"Default Title","sku":"AF-164","price":30.29,"on_sale":false,"in_stock":true,"available_quantity":24,"option1":"Default Title"}]}