{"product_id":"pololu-digital-distance-sensor","title":"Pololu Digital Distance Sensor","description":"\u003cp\u003eThis compact sensor is a great way to quickly detect the presence of nearby objects.\u003c\/p\u003e\n\u003cp\u003eAs long as the sensor is enabled, it takes continuous distance measurements and uses a single digital output to indicate if it detects an object within its detection range. The output is driven low when the sensor detects an object; otherwise, the output is high.\u003c\/p\u003e\n\u003cp\u003eIt works over an input voltage range of 3.0 V to 5.5 V, and the 0.1″ pin spacing makes it easy to use with standard solderless breadboards and 0.1″ perfboards.\u003c\/p\u003e\n\u003cp\u003ePlease note that this sensor will only tell you \u003cem\u003eif\u003c\/em\u003e there is an object within the detection range along its line of sight, not how far away it is. As shown in the diagram above, there is hysteresis at the maximum range threshold to help ensure a clean transition as objects cross the threshold.\u003c\/p\u003e\n\u003cp\u003eUnlike simpler optical sensors that use the intensity of reflected light to detect objects, this sensor uses a short-range lidar module to precisely measure how long it takes for emitted pulses of infrared, eye-safe laser light to reach the nearest object and be reflected back. This allows the sensor performance to be largely independent of object reflectivity and ambient lighting conditions (though the range can be reduced for extremely low-reflectance objects).\u003c\/p\u003e\n\u003cp\u003eSome example applications include:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003ebreak-beam sensor or photogate alternative\u003c\/li\u003e\n\u003cli\u003enon-contact bumper or obstacle detector for a robot\u003c\/li\u003e\n\u003cli\u003enon-contact interface element for activating a device or process\u003c\/li\u003e\n\u003cli\u003ea counter or timer of objects as they pass by\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eSpecifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eOperating voltage: 3.0 V to 5.5 V\u003c\/li\u003e\n\u003cli\u003eCurrent consumption: 30 mA (typical) when enabled, 0.4 mA when disabled\u003c\/li\u003e\n\u003cli\u003eField of view (FOV): 15° typical; can vary with object reflectance and ambient conditions\u003c\/li\u003e\n\u003cli\u003eOutput type: digital signal (low when detecting an object, high otherwise)\u003c\/li\u003e\n\u003cli\u003eDimensions: 0.85″ × 0.35″ × 0.122″ (21.6 × 8.9 × 3.1 mm): see the \u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/pololu-digital-distance-sensor-dimensions-irs17a.pdf?v=1624271800\" target=\"_blank\"\u003edimension diagram\u003c\/a\u003e for more information\u003c\/li\u003e\n\u003cli\u003eWeight: 0.014 oz (0.4 g)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eUsing the sensor\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eImportant note:\u003c\/strong\u003e This product might ship with a protective liner covering the sensor IC. The liner must be removed for proper sensing performance.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/0J11274.1200_480x480.jpg?v=1624271903\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eThree connections are necessary to use this module: VIN, GND, and OUT. These pins are accessible through a row of 0.1″-pitch through holes, which work with standard 0.1″ (2.54 mm) male headers and 0.1″ female headers (available separately). The VIN pin should be connected to a 3 V to 5.5 V source, and GND should be connected to 0 volts. The OUT pin drives low (0 V) when an object is being detected and it drives high (to the VIN level) when an object is not being detected. It is weakly pulled high when the sensor is disabled or waiting for its first reading to complete after power-up. A red LED on the back side of the board also lights whenever an object is detected.\u003c\/p\u003e\n\u003cp\u003eThe board has an optional ENABLE pin that can be driven low to put it into a low-power state that consumes approximately 0.4 mA. This pin can be accessed through a via or its neighboring surface-mount pad on the back side labeled “EN” on the silkscreen. The ENABLE pin is pulled up to VIN, enabling the sensor by default.\u003c\/p\u003e\n\u003cp\u003eThe board features four surface-mount configuration jumpers that determine its operation mode. Different versions of the Pololu Digital Distance sensors ship with the appropriate jumpers pre-populated with 0 Ω resistors. These resistors can be desoldered from the populated spots or solder bridges can be added across the unpopulated spots to convert one sensor version into another. The table in the section below shows the jumper settings for the different versions.\u003c\/p\u003e\n\u003cp\u003eThe board has one mounting hole intended for use with #2 or M2 screws.\u003c\/p\u003e\n\u003ch2\u003eThe Pololu Digital Distance Sensor family\u003c\/h2\u003e\n\u003cp\u003eWe have several different versions of Pololu Digital Distance Sensors, all with the same dimensions and pinout:\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eOutput type\u003c\/th\u003e\n\u003cth\u003eSensor\u003c\/th\u003e\n\u003cth\u003eMaximum range\u003c\/th\u003e\n\u003cth\u003eResolution\u003c\/th\u003e\n\u003cth\u003eMinimum update rate\u003c\/th\u003e\n\u003cth\u003eJumper settings (4321)\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd rowspan=\"7\"\u003e\n\u003cstrong\u003edigital\u003c\/strong\u003e\u003cbr\u003e(does not provide distance measurement)\u003c\/td\u003e\n\u003ctd\u003ePOL-4050: Digital output, 5cm\u003c\/td\u003e\n\u003ctd\u003e5 cm\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e145 Hz\u003c\/td\u003e\n\u003ctd\u003e0000\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePOL-4052: Digital output, 10cm\u003c\/td\u003e\n\u003ctd\u003e10 cm\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e115 Hz\u003c\/td\u003e\n\u003ctd\u003e0010\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePOL-4054: Digital output, 15cm\u003c\/td\u003e\n\u003ctd\u003e15 cm\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e95 Hz\u003c\/td\u003e\n\u003ctd\u003e0100\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePOL-4066: Digital output, 25cm\u003c\/td\u003e\n\u003ctd\u003e25 cm\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e100 Hz\u003c\/td\u003e\n\u003ctd\u003e0000\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePOL-4067: Digital output, 50cm\u003c\/td\u003e\n\u003ctd\u003e50 cm\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e100 Hz\u003c\/td\u003e\n\u003ctd\u003e0001\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePOL-4069: Digital output, 100cm\u003c\/td\u003e\n\u003ctd\u003e100 cm\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e100 Hz\u003c\/td\u003e\n\u003ctd\u003e0011\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePOL-4077: Digital output, 200cm\u003c\/td\u003e\n\u003ctd\u003e200 cm\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e30 Hz\u003c\/td\u003e\n\u003ctd\u003e1011\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd rowspan=\"3\"\u003e\n\u003cstrong\u003epulse width\u003c\/strong\u003e\u003cbr\u003e(provides distance measurement)\u003c\/td\u003e\n\u003ctd\u003e\u003ca href=\"\/en-eu\/products\/pololu-distance-sensor-with-pulse-width-output-50cm-max?variant=39377074847827\" target=\"_blank\" data-mce-href=\"\/en-eu\/products\/pololu-distance-sensor-with-pulse-width-output-50cm-max?variant=39377074847827\"\u003ePOL-4064: Pulse width output, 50cm max\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd\u003e50 cm\u003c\/td\u003e\n\u003ctd\u003e3 mm\u003c\/td\u003e\n\u003ctd\u003e50 Hz\u003c\/td\u003e\n\u003ctd\u003e1110\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"\/en-eu\/products\/pololu-distance-sensor-with-pulse-width-output-50cm-max?variant=39377074880595\" target=\"_blank\" data-mce-href=\"\/en-eu\/products\/pololu-distance-sensor-with-pulse-width-output-50cm-max?variant=39377074880595\"\u003ePOL-4071: Pulse width output, 130cm max\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd\u003e130 cm\u003c\/td\u003e\n\u003ctd\u003e1 mm\u003c\/td\u003e\n\u003ctd\u003e100 Hz\u003c\/td\u003e\n\u003ctd\u003e0101\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ca href=\"\/en-eu\/products\/pololu-distance-sensor-with-pulse-width-output-50cm-max?variant=39377074913363\" target=\"_blank\" rel=\"noopener noreferrer\"\u003ePOL-4079: Pulse width output, 300cm max\u003c\/a\u003e\u003c\/td\u003e\n\u003ctd\u003e300 cm\u003c\/td\u003e\n\u003ctd\u003e2 mm\u003c\/td\u003e\n\u003ctd\u003e30 Hz\u003c\/td\u003e\n\u003ctd\u003e1101\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e","brand":"Pololu","offers":[{"title":"5 cm","offer_id":39309440712787,"sku":"POL-4050","price":12.95,"currency_code":"EUR","in_stock":false},{"title":"10 cm","offer_id":39309440745555,"sku":"POL-4052","price":12.95,"currency_code":"EUR","in_stock":false},{"title":"15cm","offer_id":39309440778323,"sku":"POL-4054","price":12.95,"currency_code":"EUR","in_stock":false},{"title":"25cm","offer_id":39377040736339,"sku":"POL-4066","price":16.95,"currency_code":"EUR","in_stock":false},{"title":"50cm","offer_id":39377042309203,"sku":"POL-4067","price":16.95,"currency_code":"EUR","in_stock":false},{"title":"100cm","offer_id":39377042931795,"sku":"POL-4069","price":16.95,"currency_code":"EUR","in_stock":false},{"title":"200cm","offer_id":39377043095635,"sku":"POL-4077","price":16.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/0J11132.1200.jpg?v=1618296709","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/pololu-digital-distance-sensor","provider":"Pimoroni Ltd","version":"1.0","type":"link"}