{"product_id":"4050-pololu-digital-distance-sensor-5cm","title":"Pololu Digital Distance Sensor 5cm","description":"\u003cp\u003e This small lidar-based distance sensor detects the presence of objects within \u003cstrong\u003e5 cm (2″)\u003c\/strong\u003e . It has a single digital output that drives low when an object is being detected; otherwise, it is high. It 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\n\u003cbr\u003e\u003ch2\u003e Overview\u003c\/h2\u003e\n\n\u003cp\u003e This compact sensor is a great way to quickly detect the presence of nearby objects. As 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\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n \u003ctd\u003e\n\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11151.1200.png?b02a8da83a71fe7a440b3f5dbfea7860\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11151\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11151.500.jpg?b02a8da83a71fe7a440b3f5dbfea7860\"\u003e\u003c\/a\u003e \u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\n\n\u003ctr\u003e\u003ctd style=\"max-width: 275px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11161.1200.jpg?b8962a932ef7070e013fdc4449c97c6b\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id camera with no ir filter shows the infrared light emitted by a pololu digital distance sensor. data-picture-id=\"0J11161\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11161.275.jpg?b8962a932ef7070e013fdc4449c97c6b\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 275px\"\u003e\u003cp\u003e A camera with no IR filter shows the infrared light emitted by a Pololu Digital Distance Sensor.\u003c\/p\u003e\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e Please 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. The sensor can detect objects within about 5 mm of the sensor face.\u003c\/p\u003e\n\n \u003cp\u003esimpler 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, Unlike 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 (although the range can be reduced for extremely low-reflectance objects).\u003c\/p\u003e\n\n\u003cp\u003e Some example applications include:\u003c\/p\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e break-beam sensor or photogate alternatives\u003c\/li\u003e\n\n\u003cli\u003e non-contact bumper or obstacle detector for a robot\u003c\/li\u003e\n\n\u003cli\u003e non-contact interface element for activating a device or process\u003c\/li\u003e\n\n\u003cli\u003e a counter or timer of objects as they pass by\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch3\u003e Specifications\u003c\/h3\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11142.1200.jpg?344c391035d421ce21c9ece27f3478a3\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor or bottom view with dimensions. data-picture-id=\"0J11142\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11142.300.jpg?344c391035d421ce21c9ece27f3478a3\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Operating voltage: 3.0 V to 5.5 V\u003c\/li\u003e\n\n\u003cli\u003e Current consumption: 30 mA (typical) when enabled, 0.4 mA when disabled\u003c\/li\u003e\n\n\u003cli\u003e Maximum range: 5 cm (2″)\u003c\/li\u003e\n\n\u003cli\u003e Minimum range: \u0026lt; 5 mm\u003c\/li\u003e\n\n\t \u003cli\u003eMinimum update rate: 145 Hz (6.9 ms period)\u003c\/li\u003e\n\n\u003cli\u003e Field of view (FOV): 15° typical; can vary with object reflectance and ambient conditions\u003c\/li\u003e\n\n\u003cli\u003e Output type: digital signal (low when detecting an object, high otherwise)\u003c\/li\u003e\n\n\u003cli\u003e Dimensions: 0.85″ × 0.35″ × 0.122″ (21.6 × 8.9 × 3.1 mm); see the \u003ca href=\"\/en\/file\/0J1798\/pololu-digital-distance-sensor-dimensions-irs16a.pdf\"\u003edimension diagram\u003c\/a\u003e (191k pdf) for more information\u003c\/li\u003e\n\n\u003cli\u003e Weight: 0.014 oz (0.4 g)\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch3\u003e Using the sensor\u003c\/h3\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11143.1200.jpg?fb143d174a0e21f71e27da32dd1ae9c4\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor or top view with labeled pinout. data-picture-id=\"0J11143\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11143.450.jpg?fb143d174a0e21f71e27da32dd1ae9c4\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\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 \u003ca href=\"https:\/\/www.pololu.com\/category\/134\/0.1-2.54-mm-male-headers\"\u003e0.1″ (2.54 mm) male headers\u003c\/a\u003e and \u003ca href=\"https:\/\/www.pololu.com\/product\/1013\"\u003e0.1″ female headers\u003c\/a\u003e (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\n\u003ctable class=\"side_by_side_pics\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11141.1200.jpg?562e78b7e0c43ae988e226f437dd613d\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor or bottom view. data-picture-id=\"0J11141\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11141.350.jpg?562e78b7e0c43ae988e226f437dd613d\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e \u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11136.1200.jpg?c65a9c7e01bb7bd51b679f31b80366cf\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor top view. data-picture-id=\"0J11136\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11136.350.jpg?c65a9c7e01bb7bd51b679f31b80366cf\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp\u003e The 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\n\u003cp\u003e The board has one mounting hole intended for use with #2 or M2 \u003ca href=\"https:\/\/www.pololu.com\/category\/101\/nuts-and-screws\"\u003escrews\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003ch3\u003e Jumper settings (irs16a)\u003c\/h3\u003e\n\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. This sensor can be converted into any other irs16a version as listed in the following table. (For more information about how the different output types work, see the product pages for representative versions.)\u003c\/p\u003e\n\n\u003ctable class=\"active_controller_comparison\"\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Item #\u003c\/th\u003e\n\n\u003cth\u003e Description\u003c\/th\u003e\n\n\u003cth\u003e Maximum\u003cbr\u003e range*\u003c\/th\u003e\n\n\u003cth\u003e Hysteresis\u003c\/th\u003e\n\n\u003cth\u003e Resolution\u003c\/th\u003e\n\n\u003cth\u003e Minimum\u003cbr\u003e update\u003cbr\u003e installments\u003c\/th\u003e\n\n\u003cth\u003e Jumper\u003cbr\u003e settings\u003cbr\u003e (4321)\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4050\"\u003e\u003cstrong\u003e#4050\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 5cm\u003c\/td\u003e\n\n\u003ctd\u003e 5cm\u003c\/td\u003e\n\n\u003ctd\u003e 16mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 145 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0000\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 5cm (high sensitivity)\u003c\/td\u003e\n\n\u003ctd\u003e 5cm\u003c\/td\u003e\n\n\u003ctd\u003e 16mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 65 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0001\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4052\"\u003e\u003cstrong\u003e#4052\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 10cm\u003c\/td\u003e\n\n\u003ctd\u003e 10cm\u003c\/td\u003e\n\n\u003ctd\u003e 20 mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\t\t \u003ctd\u003e115 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0010\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 10cm (high sensitivity)\u003c\/td\u003e\n\n\u003ctd\u003e 10cm\u003c\/td\u003e\n\n\u003ctd\u003e 20 mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 30 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0011\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4054\"\u003e\u003cstrong\u003e#4054\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 15cm\u003c\/td\u003e\n\n\u003ctd\u003e 15cm\u003c\/td\u003e\n\n\u003ctd\u003e 24mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 95 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0100\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 15cm (high sensitivity)\u003c\/td\u003e\n\n\u003ctd\u003e 15cm\u003c\/td\u003e\n\n\u003ctd\u003e 24mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 15Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0101\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 20cm\u003c\/td\u003e\n\n\u003ctd\u003e 20cm\u003c\/td\u003e\n\n\u003ctd\u003e 28mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 70Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0110\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 20cm (high sensitivity)\u003c\/td\u003e\n\n\u003ctd\u003e 20cm\u003c\/td\u003e\n\n\u003ctd\u003e 28mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 15Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0111\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 30cm\u003c\/td\u003e\n\n\u003ctd\u003e 30cm\u003c\/td\u003e\n\n\u003ctd\u003e 36mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 37 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 1000\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, 30cm (high sensitivity)\u003c\/td\u003e\n\n\u003ctd\u003e 30cm\u003c\/td\u003e\n\n\u003ctd\u003e 36mm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 15Hz\u003c\/td\u003e\n\n\u003ctd\u003e 1001\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, any detect\u003c\/td\u003e\n\n\u003ctd\u003e ~50cm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 50Hz\u003c\/td\u003e\n\n\u003ctd\u003e 1010\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Digital output, any detect\u003c\/td\u003e\n\n\u003ctd\u003e ~100cm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 15Hz\u003c\/td\u003e\n\n\u003ctd\u003e 1011\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Pulse width output, 15cm max\u003c\/td\u003e\n\n\u003ctd\u003e ~15cm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 1 mm\u003cbr\u003e (= 4 µs)\u003c\/td\u003e\n\n\u003ctd\u003e 145 Hz\u003cbr\u003e (190Hz max)\u003c\/td\u003e\n\n\u003ctd\u003e 1100\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Pulse width output, 35cm max\u003c\/td\u003e\n\n\u003ctd\u003e ~35cm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 2 mm\u003cbr\u003e (= 4 µs)\u003c\/td\u003e\n\n\u003ctd\u003e 95 Hz\u003cbr\u003e (165Hz max)\u003c\/td\u003e\n\n\u003ctd\u003e 1101\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4064\"\u003e\u003cstrong\u003e#4064\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Pulse width output, 50cm max\u003c\/td\u003e\n\n\u003ctd\u003e ~50cm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 3 mm\u003cbr\u003e (= 4 µs)\u003c\/td\u003e\n\n\u003ctd\u003e 50Hz \u003cbr\u003e(110Hz max)\u003c\/td\u003e\n\n\u003ctd\u003e 1110\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Pulse width output, 100cm max\u003c\/td\u003e\n\n\u003ctd\u003e ~100cm\u003c\/td\u003e\n\n\u003ctd\u003e -\u003c\/td\u003e\n\n\u003ctd\u003e 3 mm\u003cbr\u003e (= 4 µs)\u003c\/td\u003e\n\n\u003ctd\u003e 15Hz\u003cbr\u003e (110Hz max)\u003c\/td\u003e\n\n\u003ctd\u003e 1111\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cp class=\"small\"\u003e * Effective range depends on object reflectivity and ambient lighting conditions.\u003c\/p\u003e\n\n\u003cp class=\"note\"\u003e Item numbers in this table indicate versions that we offer for sale as standard products, but we can manufacture the other versions on demand (or even make sensors with custom firmware for you). If you are interested in customization, please \u003ca href=\"\/en\/contact\"\u003econtact us\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003ch3\u003e The Pololu Digital Distance Sensor family\u003c\/h3\u003e\n\n\u003cp\u003e We have several different versions of Pololu Digital Distance Sensors, all with the same dimensions and pinout: \u003c\/p\u003e\n\n\u003ctable class=\"active_controller_comparison\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"background: #DDFFDD;\" colspan=\"7\"\u003e\n\n \u003cstrong\u003eDigital output\u003c\/strong\u003e\u003cbr\u003e (does not provide distance measurement)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Sensor\u003c\/th\u003e\n\n\u003cth\u003e Maximum\u003cbr\u003e range \u003csup\u003e1\u003c\/sup\u003e\n\n\u003c\/th\u003e\n\n\u003cth\u003e Minimum\u003cbr\u003e range\u003c\/th\u003e\n\n\u003cth\u003e Minimum\u003cbr\u003e update\u003cbr\u003e installments\u003c\/th\u003e\n\n\u003cth\u003e Jumper\u003cbr\u003e settings\u003cbr\u003e (4321)\u003c\/th\u003e\n\n\u003cth\u003e PCB ID\u003c\/th\u003e\n\n\u003cth class=\"price\"\u003e Price\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4050\"\u003e\u003cstrong\u003e#4050: Digital output, 5cm\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e 5cm\u003c\/td\u003e\n\n\u003ctd\u003e \u0026lt; 5 mm\u003c\/td\u003e\n\n\u003ctd\u003e 145 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0000\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\" rowspan=\"3\"\u003e irs16a\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\" rowspan=\"3\"\u003e \u003cspan class=\"price\"\u003e$12.95\u003c\/span\u003e\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\t\t \u003ctd style=\"text-align:left;\"\u003e\u003ca href=\"https:\/\/www.pololu.com\/product\/4052\"\u003e\u003cstrong\u003e#4052: Digital output, 10cm\u003c\/strong\u003e\u003c\/a\u003e\u003c\/td\u003e\n\n\u003ctd\u003e 10cm\u003c\/td\u003e\n\n\u003ctd\u003e \u0026lt; 5 mm\u003c\/td\u003e\n\n\u003ctd\u003e 115 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0010\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4054\"\u003e\u003cstrong\u003e#4054: Digital output, 15cm\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e 15cm\u003c\/td\u003e\n\n\u003ctd\u003e \u0026lt; 5 mm\u003c\/td\u003e\n\n\u003ctd\u003e 95 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0100\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4066\"\u003e\u003cstrong\u003e#4066: Digital output, 25cm\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e 25cm\u003c\/td\u003e\n\n\u003ctd\u003e \u0026lt; 1 mm\u003c\/td\u003e\n\n\u003ctd\u003e 100Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0000\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\" rowspan=\"4\"\u003e irs17a\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\" rowspan=\"4\"\u003e \u003cspan class=\"price\"\u003e$17.95\u003c\/span\u003e\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4067\"\u003e\u003cstrong\u003e#4067: Digital output, 50cm\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e 50cm\u003c\/td\u003e\n\n\u003ctd\u003e \u0026lt; 1 mm\u003c\/td\u003e\n\n\u003ctd\u003e 100Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0001\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4069\"\u003e\u003cstrong\u003e#4069: Digital output, 100cm\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e 100cm\u003c\/td\u003e\n\n\u003ctd\u003e \u0026lt; 1 mm\u003c\/td\u003e\n\n\u003ctd\u003e 100Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0011\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4077\"\u003e\u003cstrong\u003e#4077: Digital output, 200cm\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e 200cm\u003c\/td\u003e\n\n\u003ctd\u003e \u0026lt; 1 mm\u003c\/td\u003e\n\n\u003ctd\u003e 30 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 1011 \u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cbr\u003e\u003ctable class=\"active_controller_comparison\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"background: #DDDDFF;\" colspan=\"8\"\u003e\n\n \u003cstrong\u003ePulse width output\u003c\/strong\u003e\u003cbr\u003e (provides distance measurement)\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003cth\u003e Sensor\u003c\/th\u003e\n\n\u003cth\u003e Maximum\u003cbr\u003e range \u003csup\u003e1\u003c\/sup\u003e\n\n\u003c\/th\u003e\n\n\u003cth\u003e Minimum\u003cbr\u003e range \u003csup\u003e2\u003c\/sup\u003e\n\n\u003c\/th\u003e\n\n\u003cth\u003e Resolution\u003c\/th\u003e\n\n\u003cth\u003e Minimum\u003cbr\u003e update\u003cbr\u003e installments\u003c\/th\u003e\n\n\u003cth\u003e Jumper\u003cbr\u003e settings \u003cbr\u003e(4321)\u003c\/th\u003e\n\n\u003cth\u003e PCB ID\u003c\/th\u003e\n\n\u003cth class=\"price\"\u003e Price\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4064\"\u003e\u003cstrong\u003e#4064: Pulse width output, 50cm max\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e ~50cm\u003c\/td\u003e\n\n\u003ctd\u003e 1 cm\u003c\/td\u003e\n\n\u003ctd\u003e 3 mm\u003c\/td\u003e\n\n\u003ctd\u003e 50Hz\u003c\/td\u003e\n\n\u003ctd\u003e 1110\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\"\u003e irs16a\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\"\u003e \u003cspan class=\"price\"\u003e$12.95\u003c\/span\u003e\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4071\"\u003e\u003cstrong\u003e#4071: Pulse width output, 130cm max\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e ~130cm\u003c\/td\u003e\n\n\u003ctd\u003e 4cm\u003c\/td\u003e\n\n\u003ctd\u003e 1 mm\u003c\/td\u003e\n\n\u003ctd\u003e 100Hz\u003c\/td\u003e\n\n\u003ctd\u003e 0101\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\" rowspan=\"2\"\u003e irs17a\u003c\/td\u003e\n\n\u003ctd style=\"background: white;\" rowspan=\"2\"\u003e \u003cspan class=\"price\"\u003e$17.95\u003c\/span\u003e\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e \u003ca href=\"https:\/\/www.pololu.com\/product\/4079\"\u003e\u003cstrong\u003e#4079: Pulse width output, 300cm max\u003c\/strong\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003ctd\u003e ~300cm\u003c\/td\u003e\n\n\u003ctd\u003e 4cm\u003c\/td\u003e\n\n\u003ctd\u003e 2 mm\u003c\/td\u003e\n\n\u003ctd\u003e 30 Hz\u003c\/td\u003e\n\n\u003ctd\u003e 1101\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003cbr\u003e\u003cp class=\"small\"\u003e \u003csup\u003e\u003cstrong\u003e1\u003c\/strong\u003e\u003c\/sup\u003e Effective range depends on object reflectivity and ambient lighting conditions.\u003cbr\u003e\n \u003csup\u003e\u003cstrong\u003e2\u003c\/strong\u003e\u003c\/sup\u003e Objects closer than the minimum distance can still be detected, but the measured distance might be inaccurate. The minimum detection range is \u0026lt; 5 mm for irs16a boards and \u0026lt; 1 mm for irs17a boards.\u003c\/p\u003e\n\n\u003cp\u003e\u003cbr\u003e\n These are the output graphs for the digital output versions that just report if an object is in their detection range: \u003c\/p\u003e\n\n\u003ctable class=\"side_by_side_pics\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e \u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11151.1200.png?b02a8da83a71fe7a440b3f5dbfea7860\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11151\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11151.400.jpg?b02a8da83a71fe7a440b3f5dbfea7860\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11152.1200.png?7395493d1abcf1a8675d41001d65ec9c\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11152\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11152.400.jpg?7395493d1abcf1a8675d41001d65ec9c\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11153.1200.png?c44a2bf252e8f0434784c2092604d9ec\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11153\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11153.400.jpg?c44a2bf252e8f0434784c2092604d9ec\"\u003e\u003c\/a\u003e \u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11270.1200.png?0923c53006650231028108e65e639c26\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11270\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11270.400.jpg?0923c53006650231028108e65e639c26\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11271.1200.png?5ff20d012a32e877bd1105f68c120852\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11271\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11271.400.jpg?5ff20d012a32e877bd1105f68c120852\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11272.1200.png?0dace58713642d7b3e7eeb720155c36f\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11272\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11272.400.jpg?0dace58713642d7b3e7eeb720155c36f\"\u003e\u003c\/a\u003e \u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11273.1200.png?c57b4f656bda384793eca9fbff5720db\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id digital distance sensor output signal behavior. data-picture-id=\"0J11273\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11273.400.jpg?c57b4f656bda384793eca9fbff5720db\"\u003e\u003c\/a\u003e\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n \u003cp\u003eThe output graph is a bit different for the versions that use a pulse width to encode the measured distance. The output for these versions is similar to hobby servo control signals and is shown below as a function of time:\u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11154.1200.png?317c1bd99642d39c901be45632d627f6\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id distance sensor with pulse width output signal diagram. data-picture-id=\"0J11154\" data-picture-longest_side=\"600\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11154.400.jpg?317c1bd99642d39c901be45632d627f6\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003ch3\u003e Comparison to Sharp Digital Distance Sensors\u003c\/h3\u003e\n\n \u003cp\u003eThese Pololu Digital Distance Sensors have the same form factor and pinout as our \u003ca href=\"https:\/\/www.pololu.com\/product\/1132\"\u003ecarrier boards\u003c\/a\u003e for the Sharp\/Socle \u003ca href=\"https:\/\/www.pololu.com\/product\/1131\"\u003eGP2Y0D8x\u003c\/a\u003e digital distance sensors. They are available in the same 5 cm, 10 cm, and 15 cm ranges, in addition to longer ranges of up to several meters. This means they can be used as replacements for these older modules, which are based on sensors from Sharp\/Socle that are no longer in production, and the longer-range versions can serve as upgrades that provide enhanced detection and measurement capabilities. The sensors on these newer units are much thinner than the Sharp modules, so the zero-range point is approximately 7 mm closer to the PCB, and the beam angle of the newer units is wider. The pictures below show side-by-side comparisons of the two: \u003c\/p\u003e\n\n\u003ctable class=\"side_by_side_pics\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11148.1200.jpg?2670870a698033055bdbcd3b89dc66fc\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id of a pololu carrier with sharp gp2y0d8x digital distance sensor and data-picture-id=\"0J11148\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11148.375.jpg?2670870a698033055bdbcd3b89dc66fc\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e \u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11149.1200.jpg?9960173543bb29e9d68aad4dd54699dc\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id of a pololu carrier with sharp gp2y0d8x digital distance sensor and data-picture-id=\"0J11149\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11149.200.jpg?9960173543bb29e9d68aad4dd54699dc\"\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J11150.1200.jpg?c1e473dfab301d46d4d507f0b411ecdb\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id of a pololu carrier with sharp gp2y0d8x digital distance sensor and data-picture-id=\"0J11150\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J11150.200.jpg?c1e473dfab301d46d4d507f0b411ecdb\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696683303257,"sku":"POL-4050","price":18.96,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47885992853849,"sku":"POL-4050\/A","price":18.96,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J11132.1200.jpg?v=1705456044","url":"https:\/\/xernuqvalzi.pro\/en\/products\/4050-pololu-digital-distance-sensor-5cm","provider":"Robot Italy","version":"1.0","type":"link"}