{"product_id":"3680-3-channel-wide-fov-time-of-flight-distance-sensor-for-ti-rslk-max-using-opt3101","title":"3-Channel Wide FOV Time-of-Flight Distance Sensor for TI-RSLK MAX Using OPT3101","description":"\u003cp\u003eThis board is a 3-channel time-of-flight proximity and distance sensor module based on the OPT3101 IC from Texas Instruments. It emits infrared light in one of three selectable directions with its six integrated LEDs and measures distance by measuring the time delay of the reflected signal. Distance measurements can be read through a digital I²C interface. The module is designed to mount to the front of the TI-RSLK MAX robot. The combined field of view of the three sensing zones is almost 180 degrees, and the maximum range is about one meter.\u003c\/p\u003e\n\n\u003cbr\u003e\u003ch2\u003e Overview\u003c\/h2\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10862.1200.jpg?1e1f8019a099eac65d724682d08ec70d\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id of the wide fov time-of-flight distance sensor for ti-rslk max using opt3101. data-picture-id=\"0J10862\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10862.200.jpg?1e1f8019a099eac65d724682d08ec70d\"\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\u003eThis board is a 3-channel time-of-flight proximity and distance sensor module based on the OPT3101 IC from Texas Instruments. conventional IR sensors that use the intensity of reflected light to estimate the distance to an object, this board emits 940 nm infrared light pulsed at 10 MHz, and Unlike then measures the phase (delay) of the reflected signal, which corresponds to the distance to the target object. It also measures the amplitude of the signal, which indicates how bright\/reflective\/close the object is.\u003c\/p\u003e\n\n\u003cp\u003e This board has three channels that each cover approximately 50° to 60°, giving the sensor a wide field of view (FOV). In favorable conditions, the sensor can measure objects at distances up to 1 m. Distance measurements are available through the sensor's I²C interface, which is also used to configure the sensor. \u003c\/p\u003e\n\n\u003ctable class=\"picture_with_caption center\"\u003e\n\n\u003ctr\u003e\n\n\u003ctd style=\"max-width: 500px\"\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10874.1200.jpg?de2fb8f34d95c2d76993503ab28246ae\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id channels and field of view the opt3101 distance sensor module. data-picture-id=\"0J10874\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10874.500.jpg?de2fb8f34d95c2d76993503ab28246ae\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\n\n\u003cp\u003e\u003c\/p\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\u003cth style=\"max-width: 500px\"\u003e \u003cp\u003eEmitter channels and field of view of the OPT3101 distance sensor module.\u003c\/p\u003e\n\u003c\/th\u003e\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ctable class=\"picture_with_caption right\"\u003e\u003ctr\u003e\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10868.1200.jpg?acb828698937632ea39c757659683238\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id distance sensor module installed on a ti-rslk max close view. data-picture-id=\"0J10868\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10868.250.jpg?acb828698937632ea39c757659683238\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\n\n\u003cp\u003e This module is designed to be mounted onto the 7-pin connector on the front of a \u003ca href=\"https:\/\/www.pololu.com\/product\/3671\"\u003eTI-RSLK MAX chassis board\u003c\/a\u003e , but it can be used with any I²C-capable device. The board can be powered from a 2.5 V to 5.5 V supply. On-board regulators supply the 3.3 V logic voltage to the OPT3101. The board includes a circuit that shifts the I²C clock and data lines to the same logic voltage level as the supplied VIN, making it simple to interface the board with 3.3 V or 5 V systems, and the board's 0.1″ pin spacing makes it easy to use with standard \u003ca href=\"https:\/\/www.pololu.com\/category\/28\/solderless-breadboards\"\u003esolderless breadboards\u003c\/a\u003e and 0.1″ perfboards.\u003c\/p\u003e\n\n\u003ch2\u003e\n\n Details for item #3680\n\n\u003c\/h2\u003e\n\n \u003cp\u003eThis product ships fully populated with its SMD components (including the OPT3101) and through-hole male header pins. A 7-pin female header and two mounting screws (#2-56, 5\/8″) and nuts are also included, as shown in the main product picture. We also carry a version of this module \u003ca href=\"https:\/\/www.pololu.com\/product\/3412\"\u003ewithout headers\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003ch3\u003e Mounting on the TI-RSLK MAX\u003c\/h3\u003e\n\n\u003cp\u003e The OPT3101 sensor board can be installed on a TI-RSLK MAX by simply plugging it into the 7-pin connector on the front of the robot. However, for additional stability and to help prevent the sensor from detecting unwanted ground reflections, there are a few things you can do to mount it more firmly.\u003c\/p\u003e\n\n\u003cp\u003e The included screws and nuts can be secured to the board's mounting holes so that they remain against the front edge of the TI-RSLK Max chassis board when the module is plugged in, as shown in the following pictures. \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\/0J10876.1200.jpg?e80567c4516000f8a674a3fa5d50f9d6\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id distance sensor module installed on a ti-rslk max with optional mounting screws. data-picture-id=\"0J10876\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10876.325.jpg?e80567c4516000f8a674a3fa5d50f9d6\"\u003e\u003c\/a\u003e\n\u003c\/td\u003e\u003c\/tr\u003e\u003c\/table\u003e\u003c\/td\u003e \n\u003ctd\u003e\u003ctable class=\"picture_with_caption center\"\u003e\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10878.1200.jpg?19ac8878c1f8f9441316ac2bd2a4ece0\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id distance sensor module installed on a ti-rslk max with optional mounting screws side view. data-picture-id=\"0J10878\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10878.225.jpg?19ac8878c1f8f9441316ac2bd2a4ece0\"\u003e\u003c\/a\u003e\u003c\/td\u003e\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 Alternatively, those with access to a 3D printer can download and print our \u003ca href=\"\/en\/file\/0J1759\/irs15j-board-mount-clip-set.stl\"\u003edesign for a 3D-printable clip set\u003c\/a\u003e (4MB stl) to mount the OPT3101 module to the TI-RSLK. These clips are designed to press-fit onto the corners of the sensor board and the front edge of the chassis board after the sensor module has been plugged into the robot.\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\/0J10889.1200.jpg?24470de6f8802ccdfe44205aabdee8d9\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id clip set included for mounting the opt3101 distance sensor module on a ti-rslk max. data-picture-id=\"0J10889\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10889.300.jpg?24470de6f8802ccdfe44205aabdee8d9\"\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=\"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\/0J10890.1200.jpg?649e3d0678b87fb265182c7f1547aaa1\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id distance sensor module mounted on a ti-rslk max with clips included data-picture-id=\"0J10890\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10890.325.jpg?649e3d0678b87fb265182c7f1547aaa1\"\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\/0J10891.1200.jpg?ec6fc1b560821d605309888c4103292c\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"zoomable\" data-gallery-pictures=\"[{\" id distance sensor module mounted on a ti-rslk max with clips included data-picture-id=\"0J10891\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10891.225.jpg?ec6fc1b560821d605309888c4103292c\"\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\n\n\u003ch3\u003e Specifications\u003c\/h3\u003e\n\n\u003cul\u003e\n\n\u003cli\u003e Dimensions: 1.1″ × 1.2″ (27.9 mm × 30.5 mm)\u003c\/li\u003e\n\n\u003cli\u003e Weight without header pins: 2.7 g (0.095 oz)\u003c\/li\u003e\n\n\t \u003cli\u003eOperating voltage: 2.5 V to 5.5 V\u003c\/li\u003e\n\n\u003cli\u003e Sensor channels: 3 (each with an FOV of approximately 50° – 60° for a combined FOV of nearly 180°)\u003c\/li\u003e\n\n\u003cli\u003e Supply current: 130 mA (typical average during operation in high-brightness mode with 3.3 V power supply)\u003c\/li\u003e\n\n\u003cli\u003e Distance measuring range: up to 1 m (3.3 ft) (depends on the target object; see the FAQs tab for more information on distance measurement accuracy)\u003c\/li\u003e\n\n\n\u003c\/ul\u003e\n\n\u003ch3\u003e Connections\u003c\/h3\u003e\n\n\u003cp\u003e Four connections are necessary to use the OPT3101 board: GND, VIN, SDA, and SCL. The VIN pin should be connected to a 2.5 V to 5.5 V source, and GND should be connected to 0 volts. The board's I²C pins (SCL and SDA) should be connected to an I²C bus operating at the same logic level as VIN.\u003c\/p\u003e\n\n\u003ch3 class=\"clear\"\u003e Pinout \u003c\/h3\u003e\n\n\u003ctable class=\"specifications center\"\u003e\n\n\u003ctr\u003e\n\n\u003cth style=\"text-align:center;\"\u003e Pin\u003c\/th\u003e\n\n\u003cth style=\"text-align:left;\"\u003e Description\u003c\/th\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\n\u003ctd\u003e GND\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e The ground (0 V) connection for your power supply. Your I²C control source must also share a common ground with this board.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e VIN\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e This is the main 2.5 V to 5.5 V power supply connection.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e SDA\u003c\/td\u003e\n\n\t\t \u003ctd style=\"text-align:left;\"\u003eLevel-shifted I²C data line: high is VIN, low is 0 V. Pulled up to VIN with a 10kΩ pull-up resistor.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\n\u003ctd\u003e SCL\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Level-shifted I²C clock line: high is VIN, low is 0 V. Pulled up to VIN with a 10kΩ pull-up resistor.\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e GP1\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Configurable 3.3 VI\/O pin. \u003cem\u003eThis pin is not level-shifted.\u003c\/em\u003e\n\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\n\u003ctd\u003e GP2\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Configurable 3.3 VI\/O pin. \u003cem\u003eThis pin is not level-shifted.\u003c\/em\u003e\n\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\u003ctr\u003e\n\n\u003ctd\u003e\n\n \u003cspan style=\"text-decoration:overline;\"\u003eRST\u003c\/span\u003e \/ \u003cspan style=\"text-decoration:overline;\"\u003eMS\u003c\/span\u003e\n\n\u003c\/td\u003e\n\n\u003ctd style=\"text-align:left;\"\u003e Input pin that can be used to reset the board or trigger a new sample. (Both of those functions can also be done with I²C.) Pulled up to 3.3 V with a 10kΩ pull-up resistor. \u003cem\u003eThis pin is not level-shifted.\u003c\/em\u003e\n\n\u003c\/td\u003e\n\n\n\u003c\/tr\u003e\n\n\n\u003c\/table\u003e\n\n\u003ch3\u003e Schematic diagram\u003c\/h3\u003e\n\n\u003ctable class=\"picture_with_caption center wide\"\u003e\u003ctr\u003e\n\n\u003ctd\u003e \u003ca href=\"https:\/\/a.pololu-files.com\/picture\/0J10879.1200.png?d5b101fca98d1bae812d16092a583808\" class=\"noscript-fallback\"\u003e\u003cimg alt=\"\" class=\"wide zoomable\" data-gallery-pictures=\"[{\" id diagram of the wide fov time-of-flight distance sensor using opt3101. data-picture-id=\"0J10879\" data-picture-longest_side=\"1200\" src=\"https:\/\/a.pololu-files.com\/picture\/0J10879.900.jpg?d5b101fca98d1bae812d16092a583808\"\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\u003e This schematic is also available as a \u003ca href=\"\/en\/file\/0J1751\/3-channel-wide-fov-time-of-flight-distance-sensor-using-opt3101-schematic.pdf\"\u003edownloadable PDF\u003c\/a\u003e (144k pdf).\u003c\/p\u003e\n\n \u003ch3\u003eI²C communications\u003c\/h3\u003e\n\n\u003cp\u003e The OPT3101 can be configured, controlled, and queried through the I²C bus. Level shifters on the I²C clock (SCL) and data (SDA) lines enable I²C communication with microcontrollers operating at the same voltage as VIN. A detailed explanation of the I²C interface on the OPT3101 can be found in the “I2C slave” section of the \u003ca href=\"https:\/\/www.ti.com\/lit\/ds\/symlink\/opt3101.pdf\"\u003eOPT3101 datasheet\u003c\/a\u003e , and more detailed information about I²C in general can be found in \u003ca href=\"\/en\/file\/0J435\/UM10204.pdf\"\u003eNXP's I²C-bus specification\u003c\/a\u003e (1MB pdf). The sensor's default 7-bit slave address is 0x58 (1011000 in binary).\u003c\/p\u003e\n\n\u003ch3\u003e Calibration\u003c\/h3\u003e\n\n\u003cp\u003e Each board includes a 256-byte EEPROM that holds an individualized factory calibration. The OPT3101 automatically loads the calibration when it starts up. This calibration defines a reading distance of 100 mm to correspond to an object that is 100 mm from the edge of the board.\u003c\/p\u003e\n\n \u003cp\u003eWe recommend \u003cstrong\u003enot\u003c\/strong\u003e doing the internal crosstalk calibration procedure described in TI's documentation; the effect it would have has already been incorporated into the illumination crosstalk numbers in the factory calibration.\u003c\/p\u003e\n\n\u003ch3\u003e Configuration\u003c\/h3\u003e\n\n\u003cp\u003e The main configuration options that you can choose for the OPT3101 are the channel, brightness, and sample rate. These options are set over I²C, and you can change them between samples.\u003c\/p\u003e\n\n\u003cp\u003e The channel setting determines which pair of IR LEDs will turn on, and thus determines the direction in which the sensor will be most sensitive to objects. There are three channels: TX0 (left), TX1 (middle), and TX2 (right).\u003c\/p\u003e\n\n \u003cp\u003eThere are two brightness settings available for the IR LEDs: low and high (also known as HDR0 and HDR1, respectively). Low brightness mode only works well for nearby objects (within about 20 cm). High brightness mode works for longer ranges, but objects that are too reflective or too close can cause the sensor to saturate, meaning that it fails to measure a distance. You can configure the OPT3101 to use one of these brightnesses, or you can make it use an adaptive brightness mode, where it automatically selects between low or high brightness.\u003c\/p\u003e\n\n\u003cp\u003e The measurements performed by the OPT3101 are divided into basic units called a \u003cem\u003eframe\u003c\/em\u003e or a \u003cem\u003esample\u003c\/em\u003e . Each frame has a specific configuration, but you can change the configuration between frames. You can configure the OPT3101 to start frames continuously, or to wait for your signal before starting a frame (which is called monoshot mode). When a frame is complete, you can read its results from the OPT3101's output registers.\u003c\/p\u003e\n\n \u003cp\u003eEach frame consists of a configurable number of subframes that take 0.25 ms each. The results from each subframe are averaged together. By increasing the number of subframes, you can decrease the noise of your measurements, but the frames will be slower. The number of subframes can be any power of 2 from 1 to 4096.\u003c\/p\u003e\n\n\u003cp\u003e For more details about how to configure and initialize the OPT3101, please see our \u003ca href=\"https:\/\/github.com\/pololu\/opt3101-arduino\"\u003eArduino library for the OPT3101\u003c\/a\u003e or the \u003ca href=\"https:\/\/www.ti.com\/lit\/ds\/symlink\/opt3101.pdf\"\u003eOPT3101 datasheet\u003c\/a\u003e .\u003c\/p\u003e\n\n\u003ch3\u003e Sample code\u003c\/h3\u003e\n\n \u003cp\u003eWe have written a basic \u003ca href=\"https:\/\/github.com\/pololu\/opt3101-arduino\"\u003eArduino library for the OPT3101\u003c\/a\u003e , which can be used for interfacing this sensor with an \u003ca href=\"https:\/\/www.pololu.com\/product\/2191\"\u003eArduino\u003c\/a\u003e or \u003ca href=\"https:\/\/www.pololu.com\/category\/149\/a-star-programmable-controllers\"\u003eArduino-compatible controller\u003c\/a\u003e . The library and its included examples make it simple to configure the OPT3101 and read the distance data through I²C.\u003c\/p\u003e","brand":"Pololu","offers":[{"title":"2-4 Weeks","offer_id":47696704340313,"sku":"POL-3680","price":61.41,"currency_code":"EUR","in_stock":true},{"title":"1 day","offer_id":47886001504601,"sku":"POL-3680\/A","price":61.41,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0781\/1009\/7753\/files\/0J10880.1200.jpg?v=1705456588","url":"https:\/\/xernuqvalzi.pro\/en\/products\/3680-3-channel-wide-fov-time-of-flight-distance-sensor-for-ti-rslk-max-using-opt3101","provider":"Robot Italy","version":"1.0","type":"link"}