{"product_id":"pololu-carrier-with-sharp-gp2y0a60szlf-analog-distance-sensor-10-150cm","title":"Pololu Carrier with Sharp GP2Y0A60SZLF Analog Distance Sensor 10-150cm","description":"\u003cp\u003eThe GP2Y0A60SZ distance sensor from Sharp offers a wide detection range of 4″ to 60″ (10 cm to 150 cm) and a high update rate of 60 Hz.\u003c\/p\u003e\n\u003cp\u003eThe distance is indicated by an analog voltage, so only a single analog input is required to interface with the module. The sensor ships installed on our compact carrier board, which makes it easy to integrate this great sensor into your project.\u003c\/p\u003e\n\u003cp\u003eSharp’s distance sensors are a popular choice for many projects that require accurate distance measurements. This particular sensor is small and affordable, making it an attractive alternative to sonar rangefinders, while its wide sensing range and resistance to interference from ambient IR set it apart from other IR distance sensors. It consists of a Sharp GP2Y0A60SZLF module installed on a compact carrier board, which includes all of the external components required to make it work and provides a 0.1″ pin spacing that is compatible with standard connectors, solderless breadboards, and perfboards. With an ability to measure distances from as close as four inches to as far as five feet (10 cm to 150 cm), this sensor has the widest range of any of our Sharp distance sensors, and its 60 Hz update rate is more than twice that of Sharp’s older \u003ca href=\"\/en-eu\/products\/sharp-gp2y0a02yk0f-analog-distance-sensor-20-150cm\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eGP2Y0A02YK0F analog distance sensor\u003c\/a\u003e that has a similar sensing range.\u003c\/p\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\u003eThe board features one 0.125″ mounting hole that works with #4 or M3 screws (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=\"https:\/\/www.pololu.com\/file\/0J812\/gp2y0a60szxf_e.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"\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\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/0J5791.1200_480x480.jpg?v=1581956618\" alt=\"\"\u003e\u003c\/p\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\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eOperating voltage:\n\u003cul\u003e\n\u003cli\u003e5V version: 2.7 V to 5.5 V\u003c\/li\u003e\n\u003cli\u003e3V version: 2.7 V to 3.6 V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eAverage current consumption: 33 mA (typical)\u003c\/li\u003e\n\u003cli\u003eDistance measuring range: 10 cm to 150 cm (4″ to 60″)\u003c\/li\u003e\n\u003cli\u003eOutput type: analog voltage\u003c\/li\u003e\n\u003cli\u003eOutput voltage differential over distance range:\n\u003cul\u003e\n\u003cli\u003e5V version: 3.0 V (typical)\u003c\/li\u003e\n\u003cli\u003e3V version: 1.6 V (typical)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eUpdate period: 16.5 ± 4 ms\u003c\/li\u003e\n\u003cli\u003eEnable pin can optionally be used to disable the emitter and save power\u003c\/li\u003e\n\u003cli\u003eSize without header pins: 33 mm × 10.4 mm × 10.2 mm (1.3″ × 0.41″ × 0.4″)\u003c\/li\u003e\n\u003cli\u003eWeight without header pins: 2.5 g (0.09 oz)\u003c\/li\u003e\n\u003c\/ul\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=\"https:\/\/www.pololu.com\/file\/0J812\/gp2y0a60szxf_e.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"\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","brand":"Pololu","offers":[{"title":"5V","offer_id":31547816607827,"sku":"POL-2474","price":11.95,"currency_code":"EUR","in_stock":false},{"title":"3V","offer_id":31547816640595,"sku":"POL-2476","price":11.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/0J5782.1200.jpg?v=1581960275","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/pololu-carrier-with-sharp-gp2y0a60szlf-analog-distance-sensor-10-150cm","provider":"Pimoroni Ltd","version":"1.0","type":"link"}