{"product_id":"ir-distance-sensor-includes-cable-10cm-80cm-gp2y0a21yk0f","title":"IR distance sensor includes cable (10cm-80cm) (GP2Y0A21YK0F)","description":"\u003cp\u003e\u003cstrong\u003eThe SHARP distance sensor uses infrared reflection to measure distances from 10 cm to 80 cm, outputting an analogue voltage for simple integration, and includes a 12\" JST cable for quick connection to microcontroller projects.\u003c\/strong\u003e\u003c\/p\u003e\n\u003chr\u003e\n\u003cp\u003eThis \u003cstrong\u003eSHARP distance sensor\u003c\/strong\u003e bounces IR off objects to determine how far away they are. It returns an analogue voltage that can be used to determine how close the nearest object is. Comes with \u003cstrong\u003e12\" long 3-JST interface wire\u003c\/strong\u003e. These sensors are good for short-range detection. For over 1 m distance, we suggest using sonar sensors\u003c\/p\u003e\n\u003cp\u003eTo use, connect black wire to ground, red wire to \u003cstrong\u003e5V \u003c\/strong\u003eand white wire to analog input. The analogue voltage out will range from \u003cstrong\u003e3V\u003c\/strong\u003e when an object is only 4\" (10 cm) away and \u003cstrong\u003e0.4V\u003c\/strong\u003e when the object is 32\" (80 cm) away\u003c\/p\u003e\n\u003cp\u003eFor more information, please see the Sharp website (link in our resources section). Note that it's not well documented but the case is conductive! So if you're mounting to a metal chassis, use a rubber gasket to isolate it.\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInfrared distance sensor with analogue voltage output\u003c\/li\u003e\n\u003cli\u003eDetects objects between 4\" (10 cm) and 32\" (80 cm)\u003c\/li\u003e\n\u003cli\u003e3V output at 4\" distance, 0.4V output at 32\" distance\u003c\/li\u003e\n\u003cli\u003eIncludes 12\" long 3-JST interface wire\u003c\/li\u003e\n\u003cli\u003eConnect black wire to ground, red wire to 5V, white wire to analogue input\u003c\/li\u003e\n\u003cli\u003eIdeal for short-range object detection\u003c\/li\u003e\n\u003cli\u003eFor distances over 1 meter, sonar sensors recommended\u003c\/li\u003e\n\u003cli\u003eConductive case - use rubber gasket when mounting to metal chassis\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eSpecifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLength: 13.53mm\u003c\/li\u003e\n\u003cli\u003eWidth: 44.39mm\u003c\/li\u003e\n\u003cli\u003eHeight: 18.67mm\u003c\/li\u003e\n\u003cli\u003eWeight: 3.5g\u003c\/li\u003e\n\u003cli\u003eScrew holes are 37mm apart, 3.2mm diameter.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eResources\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLink to Sharp Global\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e1x IR distance sensor includes cable (10cm-80cm)\u003c\/li\u003e\n\u003cli\u003e1x 12\" long 3-JST interface wire\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":52217208275232,"sku":"oot1787257250492","price":8.64,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0946\/3231\/3120\/files\/ir-distance-sensor-includes-cable-10cm-80cm-gp2y0a21yk0f_1.jpg?v=1787257255","url":"https:\/\/www.elmwoodbasket.shop\/products\/ir-distance-sensor-includes-cable-10cm-80cm-gp2y0a21yk0f","provider":"My Store","version":"1.0","type":"link"}