{"product_id":"2475-pololu-carrier-for-sharp-gp2y0a60szlf-analog-distance-sensor-5v","title":"Pololu Carrier for Sharp GP2Y0A60SZLF Analog Distance Sensor, 5V","description":"\u003cp\u003eThis compact carrier board makes it easy to integrate a Sharp GP2Y0A60SZLF analog distance sensor (not included) into your project by providing all of the required external components and a 0.1″-pitch, four-pin interface to the sensor.  This version of the carrier board is configured for \u003cstrong\u003e5V\u003c\/strong\u003e mode.\u003c\/p\u003e\n\u003cbr\u003e\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5886.1200.jpg?99902b1c53db8895d41250b7fe6e0664\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id carrier for sharp gp2y0a60szlf analog distance sensor back view with dimensions. data-picture-id=\"0J5886\" data-picture-longest_side=\"525\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5886.250.jpg?99902b1c53db8895d41250b7fe6e0664\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003ch2\u003eOverview\u003c\/h2\u003e\n\u003cp\u003eThe \u003ca href=\"https:\/\/www.pololu.com\/product\/2467\"\u003eGP2Y0A60SZLF analog distance sensor\u003c\/a\u003e from Sharp is small and affordable, making it an attractive alternative to sonar rangefinders, while its wide sensing range (10 cm to 150 cm) and resistance to interference from ambient IR set it apart from other IR distance sensors.\u003c\/p\u003e\n\u003cp\u003eHowever, this sensor requires external components and has a non-standard 1.5 mm pitch, which can make it difficult to integrate into projects based on a 0.1″ pitch.  This carrier board includes these components and provides a 0.1″-pitch, four-pin interface: ground, power, output, and enable.  Two versions are available, one \u003ca href=\"https:\/\/www.pololu.com\/product\/2475\"\u003econfigured for 5V mode\u003c\/a\u003e and one \u003ca href=\"https:\/\/www.pololu.com\/product\/2477\"\u003econfigured for 3V mode\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp class=\"note clear\"\u003e\u003cstrong\u003eNote:\u003c\/strong\u003e this product requires a \u003ca href=\"https:\/\/www.pololu.com\/product\/2467\"\u003eSharp GP2Y0A60SZLF sensor module\u003c\/a\u003e (not included).  We also offer the two versions of this board assembled with a GP2Y0A60SZLF: \u003ca href=\"https:\/\/www.pololu.com\/product\/2474\"\u003e\u003cstrong\u003e5V version with sensor\u003c\/strong\u003e\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/2476\"\u003e\u003cstrong\u003e3V version with sensor\u003c\/strong\u003e\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch2\u003eUsing the Carrier Board\u003c\/h2\u003e\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5782.1200.jpg?d0dc29ca33bde495d7507411e2fa3a8d\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id carrier with sharp gp2y0a60szlf analog distance sensor data-picture-id=\"0J5782\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5782.200.jpg?d0dc29ca33bde495d7507411e2fa3a8d\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eYou will need to solder the sensor to the carrier board so that the solder connections are made on the component-side of the board and the sensor package presses against the component-free side of the board.  Once the sensor is soldered in, the Pololu carrier board lets you interface with the GP2Y0A60SZLF sensor using a four-pin 0.1″ connector:\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5785.1200.jpg?3d921f2a9d2b676d542f4e3011299b3a\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id carrier with sharp gp2y0a60szlf analog distance sensor front view labeled pinout. data-picture-id=\"0J5785\" data-picture-longest_side=\"1199\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5785.401.jpg?3d921f2a9d2b676d542f4e3011299b3a\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eInterfacing to most microcontrollers is straightforward: the single analog output, OUT, 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 sensor automatically updates the output approximately every 16 ms.  The enable pin, EN, can be driven low to disable the IR emitter and put the sensor into a low-current stand-by mode.  This pin is pulled high on the carrier board through a 10 kΩ pull-up resistor to enable the sensor by default.\u003c\/p\u003e\n\u003cp\u003eA 1×4 strip of \u003ca href=\"https:\/\/www.pololu.com\/product\/965\"\u003e0.1″ header pins\u003c\/a\u003e and a 1×4 strip of \u003ca href=\"https:\/\/www.pololu.com\/product\/967\"\u003e0.1″ right-angle header pins\u003c\/a\u003e are included, as shown in the picture below.  You can solder the header strip of your choice to the board for use with \u003ca href=\"https:\/\/www.pololu.com\/category\/70\/crimp-connector-housings\"\u003ecustom cables\u003c\/a\u003e or solderless breadboards, or you can solder wires directly to the board itself for more compact installations.  The board features one 0.125″ mounting hole that works with #4 or M3 \u003ca href=\"https:\/\/www.pololu.com\/category\/101\/nuts-and-screws\"\u003escrews\u003c\/a\u003e (not included); if you do not need the mounting hole, you can cut that part of the board off to reduce its size.\u003c\/p\u003e\n\u003ch2\u003e5V and 3V versions\u003c\/h2\u003e\n\u003cp\u003eThe GP2Y0A60SZ supports two operating modes: 5V and 3V.  In 5V mode, the recommended operating voltage is 2.7 V to 5.5 V, and the output voltage differential over the full distance range is approximately 3 V, varying from around 3.6 V at 10 cm to 0.6 V at 150 cm.  In 3V mode, the recommended operating voltage is 2.7 V to 3.6 V, and the output voltage differential over the full distance range is approximately 1.6 V, varying from around 1.9 V at 10 cm to 0.3 V at 150 cm.  The \u003ca href=\"\/file\/0J812\/gp2y0a60szxf_e.pdf\"\u003eGP2Y0A60SZ datasheet\u003c\/a\u003e (701k pdf) contains a plot of analog output voltage as a function of the distance for the two modes.\u003c\/p\u003e\n\u003cp\u003eOur GP2Y0A60SZLF carrier board is available configured for 5V mode (\u003ca href=\"https:\/\/www.pololu.com\/product\/2474\"\u003ewith\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/product\/2475\"\u003ewithout the sensor\u003c\/a\u003e) or configured for 3V mode (\u003ca href=\"https:\/\/www.pololu.com\/product\/2476\"\u003ewith\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/product\/2477\"\u003ewithout the sensor\u003c\/a\u003e):\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5791.1200.jpg?473906d7fe9a066a59bc8091a9a82446\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id carrier with sharp gp2y0a60szlf analog distance sensor back view comparison of and versions. data-picture-id=\"0J5791\" data-picture-longest_side=\"1600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5791.400.jpg?473906d7fe9a066a59bc8091a9a82446\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThe only difference between the two versions is the presence or absence of a zero ohm resistor as shown in the picture above (the component location is marked by a rectangle on the silkscreen).  You can convert a 5V version to 3V by removing the resistor, and you can convert a 3V version to 5V by shorting across the two pads.\u003c\/p\u003e\n\u003cp\u003eNote that the 5V version can be powered all the way down to 2.7 V, and the relationship between the sensor output voltage and distance is mostly independent of the supply voltage.  The main drawback to powering the 5V version at a lower voltage is the output voltage will not exceed the supply voltage, so the effective minimum detection distance might increase (i.e. for distances that would result in output voltages above your supply voltage, the output will instead be capped at the supply voltage).  On the other hand, if you mostly care about measuring distances closer to the maximum end of the range, you could benefit from the increased output voltage differential of the 5V version even if you are only powering it at 3.3 V.\u003c\/p\u003e\n\u003ch2\u003eFeature summary (with GP2Y0A60SZLF installed)\u003c\/h2\u003e\n\u003cul\u003e\n\t\u003cli\u003eOperating voltage:\n\t\u003cul\u003e\n\t\t\u003cli\u003e5V version: 2.7 V to 5.5 V\u003c\/li\u003e\n\t\t\u003cli\u003e3V version: 2.7 V to 3.6 V\u003c\/li\u003e\n\t\u003c\/ul\u003e\n\u003c\/li\u003e\n\t\u003cli\u003eAverage current consumption: 33 mA (typical)\u003c\/li\u003e\n\t\u003cli\u003eDistance measuring range: 10 cm to 150 cm (4″ to 60″)\u003c\/li\u003e\n\t\u003cli\u003eOutput type: analog voltage\u003c\/li\u003e\n\t\u003cli\u003eOutput voltage differential over distance range:\n\t\u003cul\u003e\n\t\t\u003cli\u003e5V version: 3.0 V (typical)\u003c\/li\u003e\n\t\t\u003cli\u003e3V version: 1.6 V (typical)\u003c\/li\u003e\n\t\u003c\/ul\u003e\n\u003c\/li\u003e\n\t\u003cli\u003eUpdate period: 16.5 ± 4 ms\u003c\/li\u003e\n\t\u003cli\u003eEnable pin can optionally be used to disable the emitter and save power\u003c\/li\u003e\n\t\u003cli\u003eSize without header pins: 33 mm × 10.4 mm × 10.2 mm (1.3″ × 0.41″ × 0.4″)\u003c\/li\u003e\n\t\u003cli\u003eWeight without header pins: 2.5 g (0.09 oz)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eSchematic diagram\u003c\/h2\u003e\n\u003ctable class=\"picture_with_caption center wide\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5790.1200.png?1e50ebc398c69ce20ea12b684e08a269\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id carrier for sharp gp2y0a60szlf analog distance sensor schematic. data-picture-id=\"0J5790\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5790.600.jpg?1e50ebc398c69ce20ea12b684e08a269\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003cp\u003eThe above schematic shows the additional components the carrier board incorporates to make the GP2Y0A60SZLF easier to use.  This schematic is also available as a \u003ca href=\"\/file\/0J811\/sds02a-schematic.pdf\"\u003edownloadable pdf\u003c\/a\u003e (142k pdf).\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J9463.1200.jpg?50d730311632c48777c9f60ed0a75f27\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id of output voltage vs distance to reflective object from the sharp gp2y0a60szlf datasheet. data-picture-id=\"0J9463\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J9463.320.jpg?50d730311632c48777c9f60ed0a75f27\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\n\u003ch2\u003eLinearizing the output\u003c\/h2\u003e\n\u003cp\u003eThe relationship between the sensor’s output voltage and the inverse of the measured distance is approximately linear over the sensor’s usable range. A graph of the output voltage over the usable distance to a reflective object can be found in the \u003ca href=\"\/file\/0J812\/gp2y0a60szxf_e.pdf\"\u003eGP2Y0A60SZLF datasheet\u003c\/a\u003e (701k pdf). You can convert the sensor output voltage to an approximate distance by constructing a best-fit line that relates the inverse of the output voltage (V) to distance (cm).\u003c\/p\u003e\n\u003ch2\u003eAlternative Sharp distance sensors\u003c\/h2\u003e\n\u003cp\u003eWe carry several other Sharp distance sensors, including the shorter range \u003ca href=\"https:\/\/www.pololu.com\/product\/2464\"\u003eSharp GP2Y0A41SK0F analog distance sensor\u003c\/a\u003e (4 – 30 cm) and \u003ca href=\"https:\/\/www.pololu.com\/product\/136\"\u003eSharp GP2Y0A21YK0F analog distance sensor\u003c\/a\u003e (10 – 80 cm).  With regard to performance, this GP2Y0A60SZ is most similar to the \u003ca href=\"https:\/\/www.pololu.com\/product\/1137\"\u003eSharp GP2Y0A02YK0F analog distance sensor\u003c\/a\u003e (20 – 150 cm), but the GP2Y0A60SZ offers a lower minimum detection distance and more than twice the sampling rate in a much smaller package:\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 470px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J5788.1200.jpg?e76bc7fce22d2bbb4667acc943debf0e\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id gp2y0a02yk0f sensor next to pololu carrier with sharp gp2y0a60szlf data-picture-id=\"0J5788\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J5788.470.jpg?e76bc7fce22d2bbb4667acc943debf0e\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 470px\"\u003e\u003cp\u003eSharp GP2Y0A02YK0F Sensor 20-150cm (left) next to Pololu Carrier with Sharp GP2Y0A60SZLF Sensor 10-150cm (right).\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003cp\u003eWe also carry three digital Sharp distance sensors that have lower minimum detection distances, quicker response times, lower current draws, and much smaller packages; they are available with a \u003ca href=\"https:\/\/www.pololu.com\/product\/1132\"\u003e5 cm\u003c\/a\u003e, \u003ca href=\"https:\/\/www.pololu.com\/product\/1134\"\u003e10 cm\u003c\/a\u003e, or \u003ca href=\"https:\/\/www.pololu.com\/product\/2465\"\u003e15 cm\u003c\/a\u003e maximum detection distance and simply tell you if something is in their detection range, not how far away it is.\u003c\/p\u003e\n\u003ctable class=\"picture_with_caption center\"\u003e\n\u003ctr\u003e\n\u003ctd style=\"max-width: 300px\"\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J1126.1200.jpg?2991e29d334ea5e7d9b4a953236c6041\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id variety of sharp distance sensors. data-picture-id=\"0J1126\" data-picture-longest_side=\"800\" src=\"https:\/\/a.pololu-files.com\/picture\/0J1126.300.jpg?2991e29d334ea5e7d9b4a953236c6041\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003cp\u003e\u003c\/p\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003cth style=\"max-width: 300px\"\u003e\u003cp\u003eA variety of Sharp distance sensors.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\u003c\/table\u003e","brand":"Pololu","offers":[{"title":"2-4 Settimane","offer_id":47696732651865,"sku":"POL-2475","price":4.32,"currency_code":"EUR","in_stock":true},{"title":"1 Giorno","offer_id":47886007861593,"sku":"POL-2475\/A","price":4.32,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J5885.1200.jpg?v=1705456957","url":"https:\/\/xernuqvalzi.pro\/products\/2475-pololu-carrier-for-sharp-gp2y0a60szlf-analog-distance-sensor-5v","provider":"Robot Italy","version":"1.0","type":"link"}