Shop Learn Blog Forums
Register Login
Register Login

Select your location

Pick where your order is going and we'll show prices in your currency with the right taxes, so the total at checkout is what you pay. Nothing more is due on delivery.

European Union

  • No exchange rate fees
/
Your cart is empty
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeComponentsToolsNew PopularDeals!
DisplaysCamerasLED StripsSensorsEnvironmentalRoboticsInternet of ThingsAudioRetro/ArcadeYukonFeatherTinyFXMerchandise

Departments

New PopularDeals!
Raspberry Pi
  • Shop all Raspberry Pi
  • Raspberry Pi Boards
  • Kits & Bundles
  • Accessories
  • Arcade & Retro Gaming
  • Merchandise
  • Displays
  • HATs & GPIO
  • Robotics
  • Cameras
  • Books
  • Networking
  • Industrial
Pico
  • Shop all Pico
  • Development Boards
  • Pico Aboard
  • Bases & Packs
  • Displays
  • Kits & Bundles
  • Arcade & Retro Gaming
  • Environmental
  • Robotics
  • Cameras
  • Industrial
  • Networking
  • Books
  • Power
  • Audio
  • Prototyping
  • Components
Pimoroni
  • Shop all Pimoroni
  • Badgeware
  • TinyFX
  • Yukon
  • Picade
  • Pibow
  • Breakouts
  • Displays
  • Raspberry Pi
  • Pico
Adafruit
  • Shop all Adafruit
  • Breakouts
  • Displays
  • Feather
  • Raspberry Pi
  • Arcade & Retro Gaming
Breakouts
  • Shop all Breakouts
  • Sensors
  • Qw/ST Compatible
  • Audio
  • Environmental
  • Cellular
  • Wireless
  • Storage
  • Cameras
  • Robotics
  • Accelerometers
  • GPS
  • RTC
  • ADC / DAC
  • Prototyping
  • Power
  • Input
  • Displays
Badgeware
  • Shop all Badgeware
  • Badges
  • Addons
Smart Home
  • Shop all Smart Home
  • Smart Home Hubs
  • Connectivity
  • Sensors
  • Devices
  • Power
  • Lighting
Components
  • Shop all Components
  • Parts
  • Motors & Servos
  • Inputs
  • Audio
  • Headers & Connectors
  • Fasteners
  • Wire & Cables
  • Batteries
  • LED Strips
Tools
  • Shop all Tools
  • Toolkits
  • Hand Tools
  • Soldering
  • Measurement & Test
  • Storage
Displays
Cameras
LED Strips
Sensors
Environmental
Robotics
Internet of Things
Audio
Retro/Arcade
Yukon
Feather
  • Shop all Feather
  • Development Boards
  • FeatherWings
TinyFX
Merchandise
  • 58,681 reviews rated 4.8 out of 5!
  • Ships today on orders before 2pm
  • Delivery to Norway tracked, duties calculated at checkout
  • No fuss returns we're here to help

Search

Filter

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

PololuSensors

3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101

3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 - This board is a 3-channel time-of-flight proximity and distance sensor module based on the OPT3101 IC from Texas Instruments. 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101

3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101

POL-3412

This board is a 3-channel time-of-flight proximity and distance sensor module based on the OPT3101 IC from Texas Instruments.

Select an option:

  • Default Title

Your e-mail address will not be used for any other purpose

Thanks! We'll e-mail you when this arrives.

  • This is a pre-order - more information here

Why 400,000+ customers love us

  • Tracked shipping
  • No return fees
  • Human support
  • Secure checkout
  • Trading since 2012

This 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 combined field of view of the three sensing zones is almost 180 degrees, and the maximum range is about one meter. This module does not include any headers.

Unlike 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 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.

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.

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 solderless breadboards and 0.1″ perfboards.

Specifications

  • Dimensions: 1.1″ × 1.2″ (27.9 mm × 30.5 mm)
  • Weight without header pins: 2.7 g (0.095 oz)
  • Operating voltage: 2.5 V to 5.5 V
  • Sensor channels: 3 (each with an FOV of approximately 50° – 60° for a combined FOV of nearly 180°)
  • Supply current: 130 mA (typical average during operation in high-brightness mode with 3.3 V power supply)
  • 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)

Connections

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.

Pinout

Pin Description
GND The ground (0 V) connection for your power supply. Your I²C control source must also share a common ground with this board.
VIN This is the main 2.5 V to 5.5 V power supply connection.
SDA Level-shifted I²C data line: high is VIN, low is 0 V. Pulled up to VIN with a 10kΩ pull-up resistor.
SCL Level-shifted I²C clock line: high is VIN, low is 0 V. Pulled up to VIN with a 10kΩ pull-up resistor.
GP1 Configurable 3.3 V I/O pin. This pin is not level-shifted.
GP2 Configurable 3.3 V I/O pin. This pin is not level-shifted.
RST/MS 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. This pin is not level-shifted.

I²C communication

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 OPT3101 datasheet, and more detailed information about I²C in general can be found in NXP’s I²C-bus specification. The sensor’s 7-bit slave address is 0x58 (1011000 in binary).

Calibration

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 distance reading of 100 mm to correspond to an object that is 100 mm from the edge of the board.

We recommend not 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.

Configuration

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.

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).

There 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.

The measurements performed by the OPT3101 are divided into basic units called a frame or a sample. 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.

Each 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.

For more details about how to configure and initialize the OPT3101, please see this Arduino library for the OPT3101 or the OPT3101 datasheet.

Sample code

Pololu have written a basic Arduino library for the OPT3101, which can be used for interfacing this sensor with an Arduino or Arduino-compatible controller. The library and its included examples make it simple to configure the OPT3101 and read the distance data through I²C.

Useful Resources

  • Schematic diagram of the 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101
  • Dimension diagram of the 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101
  • 3D model of the 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101
  • Drill guide for the 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101
  • 3D-printable clip set for securing the 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 to the TI-RSLK MAX
  • UM10204 I²C-bus specification and user manual

Guides & tutorials

Can't get enough?

Follow us on your favourite social platform for new stuff, curious creations and the occasional electronic oddity. Show us what you're making too - we love seeing where our bits and pieces end up.

Or join our newsletter for fresh arrivals, product announcements and other useful nonsense, delivered directly to your inbox.

The Good Ship Pimoroni

We're here to help curious people make interesting things. Robots, gadgets, home automation, blinking lights, questionable contraptions - whatever you're building, we reckon technology is much more fun when you can poke at it, pull it apart and make it your own.

We design kits, breakout boards and all manner of colourful electronic oddities to make getting started easy and experimenting fun - from your first blinking LED to your latest gloriously overcomplicated creation.

More about our story

Useful links (we hope)

FAQs Shipping information Returns Contact support Support forums Wholesale and education Pimoroni customs Distributor map

Pimoroni Ltd.

Unit 1, Parkway Business Park, Parkway Drive, Sheffield, S9 4WN, United Kingdom
Registered in England and Wales Company №: 07510759 VAT Reg №: GB140870721
Terms & Conditions Privacy Policy

It's dangerous to go
alone! Take this

†