342489 2489 - VL6180X Time-of-Flight Distance Sensor Carrier with Voltage Regulator

2489 - VL6180X Time-of-Flight Distance Sensor Carrier with Voltage Regulator

This sensor is a carrier/breakout board for ST’s VL6180X proximity and ambient light sensor, which measures distance with 1 mm resolution over a detection range of 0 cm to 10 cm or greater.
Categories
Prices are VAT included
€9.61 Price
€7.88 + VAT

 

Details

This sensor is a carrier/breakout board for ST’s VL6180X proximity and ambient light sensor, which measures distance with 1 mm resolution over a detection range of 0 cm to 10 cm or greater. The VL6180X uses time-of-flight measurements of infrared pulses to determine the range to a target object, allowing it to give accurate results independent of the target’s color and surface. Distance and ambient light level measurements can be read through a digital I²C interface. The board has a 2.8 V linear regulator and integrated level-shifters that allow it to work over an input voltage range of 2.7 V to 5.5 V, and the 0.1″ pin spacing makes it easy to use with standard solderless breadboards and 0.1″ perfboards.

The VL6180X from ST Microelectronics is a sensor that combines proximity ranging and ambient light level measurement capabilities into a single package. This board is a carrier for the VL6180X, so we recommend careful reading of the VL6180X datasheet (1MB pdf) before using this product.

Unlike simpler optical sensors that use the intensity of reflected light to detect objects, the VL6180 uses ST’s FlightSense technology to precisely measure how long it takes for emitted pulses of infrared laser light to reach the nearest object and be reflected back to a detector, making it essentially a short-range lidar sensor. This time-of-flight (TOF) measurement enables it to accurately determine the absolute distance to a target 0 cm to 10 cm (0″ to 4″) away with 1 mm resolution, without being influenced by the object’s reflectance. (In some conditions, the sensor can measure and report distance to an object up to about 20 cm (8″) away, depending on the target and environment.) The VL6180 also includes an ambient light sensor, or ALS, that can measure the intensity of light with which it is illuminated. Ranging and ambient light measurements are available through the sensor’s I²C (TWI) interface, which is also used to configure sensor settings, and two independently-programmable GPIO pins can be configured as interrupt outputs.

The VL6180X is a great IC, but its small, leadless, LGA package makes it difficult for the typical student or hobbyist to use. It also operates at voltages below 3 V, which can make interfacing difficult for microcontrollers operating at 3.3 V or 5 V. Our breakout board addresses these issues, making it easier to get started using the sensor, while keeping the overall size as small as possible.

The carrier board includes a low-dropout linear voltage regulator that provides the 2.8 V required by the VL6180X, which allows the sensor to be powered from a 2.7 V to 5.5 V supply. The regulator output is available on the VDD pin and can supply almost 150 mA to external devices. The breakout board also 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. The board ships fully populated with its SMD components, including the VL6180X, as shown in the product picture.

Specifications

  • Dimensions: 0.5″ × 0.7″ × 0.085″ (13 mm × 18 mm × 2 mm)
  • Weight without header pins: 0.5 g (0.02 oz)
  • Operating voltage: 2.7 V to 5.5 V
  • Supply current: 5 mA (typical; varies with configuration, target, and environment)
  • Output format (I²C): 8-bit distance reading (in millimeters), 16-bit ambient light reading
  • Distance measuring range: 0 mm to 100 mm (0″ to 4″)
    • Ranging beyond 100 mm is possible with certain target reflectances and ambient conditions but not guaranteed; the range is reported as an 8-bit value in mm, so it cannot exceed 255 mm.

Included components

A 1×7 strip of 0.1″ header pins and a 1×7 strip of 0.1″ right-angle header pins are included, as shown in the picture below. You can solder the header strip of your choice to the board for use with custom cables or solderless breadboards, or you can solder wires directly to the board itself for more compact installations.

 

Using the VL6180X

Connections

A minimum of four connections is necessary to use the VL6180X board: VIN, GND, SCL, and SDA. The VIN pin should be connected to a 2.7 V to 5.5 V source, and GND should be connected to 0 volts. An on-board linear voltage regulator converts VIN to a 2.8 V supply for the VL6180X IC.

The I²C pins, SCL and SDA, are connected to built-in level-shifters that make them safe to use at voltages over 2.8 V; they should be connected to an I²C bus operating at the same logic level as VIN.

The two GPIO pins are open-drain outputs pulled up to 2.8 V by the board (although GPIO0 defaults to being a chip enable input). They are not connected to level-shifters on the board and are not 5V-tolerant, but they are usable as-is with many 3.3 V and 5 V microcontrollers: the microcontroller can read the sensor’s output as long as its logic high threshold is below 2.8 V, and the microcontroller can alternate its own output between low and high-impedance states to drive the pin. Alternatively, our 4-channel bidirectional logic level shifter can be used externally with those pins.

I²C communication

The VL6180X can be configured and its distance and ambient light readings can be 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 (2.7 V to 5.5 V). A detailed explanation of the I²C interface on the VL6180X can be found in its datasheet (1MB pdf), and more detailed information about I²C in general can be found in NXP’s I²C-bus specification (371k pdf).

The sensor’s 7-bit slave address defaults to 0101001b on power-up. It can be changed to any other value by writing one of the device configuration registers, but the new address only applies until the sensor is reset or powered off.

The I²C interface on the VL6180X is compliant with the I²C fast mode (400 kHz) standard. In our tests of the board, we were able to communicate with the chip at clock frequencies up to 400 kHz; higher frequencies might work but were not tested.

Sample Code

We have written a basic Arduino library for the VL6180X that makes it easy to interface this sensor with an Arduino or Arduino-compatible controller. The library makes it simple to configure the VL6180X and read the distance and ambient light level data through I²C. It also includes example sketches that show you how to use the library.

Protocol hints

The datasheet provides a lot of information about this sensor, but a lot of essential info – including a mandatory initialization sequence – can only be found in other documents. Picking out the important details can take some time. Here are some pointers for communicating with and configuring the VL6180X that we hope will get you up and running a little bit faster:

  • Unlike many other I²C sensors from ST, which use 8-bit register addresses, the VL6180X uses 16-bit register addresses.
  • The sensor must be initialized with a particular sequence of settings on power-up or reset. This sequence is not covered in the datasheet, but it can be found in ST application note AN4545 (706k pdf) and design tip DT0037 (386k pdf). (Our Arduino library includes a function that performs this initialization.)
  • The two documents above can also help you understand basic procedures for configuring the VL6180X and getting readings from it. Additional documents, providing details on many other aspects of the VL6180X, can be found on ST’s product page for the VL6180X.
  • Both distance and ambient light measurements can be performed in either single-shot or continuous mode. In either mode, once each measurement is started, you must poll a status register to wait for it to complete. In continuous mode, you should ensure that the inter-measurement period you select is longer than the time it takes to actually perform each measurement.

Dimensions

Size: 0.5″ × 0.7″ × 0.085″1
Weight: 0.5 g1

General specifications

Interface: I²C
Minimum operating voltage: 2.7 V
Maximum operating voltage: 5.5 V
Measurement range: 0 mm to 100 mm (ranging)2
Supply current: 5 mA3

Identifying markings

PCB dev codes: irs09a
Other PCB markings: 0J9250

Notes:

1 Without included optional headers.
2 Ranging beyond 100 mm is possible with certain target reflectances and ambient conditions but not guaranteed; the range is reported as an 8-bit value in mm, so it cannot exceed 255 mm.
3 Typical average current draw; varies with configuration, target, and environment.

Specifications

Part. No. : 2489

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

Questions on 2489 - VL6180X Time-of-Flight Distance Sensor Carrier with Voltage Regulator

No questions asked yet

Register or Login to ask a question.
Register or Login to ask a question.
  1. SparkFun 9 Degrees of Freedom IMU Breakout - LSM9DS1

    713284 SparkFun 9 Degrees of Freedom IMU Breakout - LSM9DS1

    The LSM9DS1 is a versatile, motion-sensing system-in-a-chip. It houses a 3-axis accelerometer, 3-axis gyroscope, and 3-axis mfalse
    Excl. Tax:
    €13.50
    Incl. Tax:
    €16.47
      Compare
  2. SparkFun IMU Breakout - MPU-9250

    713762 SparkFun IMU Breakout - MPU-9250

    The SparkFun MPU-9250 IMU Breakout features the latest 9-axis MEMS sensor from InvenSense.
    Excl. Tax:
    €15.00
    Incl. Tax:
    €18.30
      Compare
  3. SparkFun 9DoF Sensor Stick

    713944 SparkFun 9DoF Sensor Stick

    The SparkFun 9DoF Sensor Stick is an easy-to-use 9 Degrees of Freedom IMU. The Sensor Stick deftly utilizes the LSM9DS1 motiofalse
    Excl. Tax:
    €14.49
    Incl. Tax:
    €17.68
      Compare
  4. 2490 - VL53L0X Time-of-Flight Distance Sensor Carrier with Voltage Regulator, 200cm Max

    342490 2490 - VL53L0X Time-of-Flight Distance Sensor Carrier with Voltage Regulator, 200cm Max

    This sensor is a carrier/breakout board for ST’s VL53L0X laser-ranging sensor, which measures the range to a target object upfalse
    Excl. Tax:
    €12.50
    Incl. Tax:
    €15.25
      Compare
  5. Adafruit VL6180X Time of Flight Distance Ranging Sensor (VL6180)

    808842 Adafruit VL6180X Time of Flight Distance Ranging Sensor (VL6180)

    The VL6180X can detect the "time of flight", or how long the laser light has taken to bounce back to the sensor. Sifalse
    Excl. Tax:
    €14.96
    Incl. Tax:
    €18.25
      Compare
  6. SparkFun 9DoF Razor IMU M0

    714001 SparkFun 9DoF Razor IMU M0

    The SparkFun 9DoF Razor IMU M0 combines a SAMD21 microprocessor with an MPU-9250 9DoF (9 Degrees of Freedom) sensor to createfalse
    Excl. Tax:
    €39.99
    Incl. Tax:
    €48.79
      Compare
  7. SparkFun Wireless Joystick Kit

    714051 SparkFun Wireless Joystick Kit

    The SparkFun Wireless Joystick Kit provides an easy way to control your next XBee project. Before the wireless joystick, radifalse
    Excl. Tax:
    €37.34
    Incl. Tax:
    €45.55
      Compare
  8. 3415 - VL53L1X Time-of-Flight Distance Sensor Carrier with Voltage Regulator, 400cm Max

    343415 3415 - VL53L1X Time-of-Flight Distance Sensor Carrier with Voltage Regulator, 400cm Max

    Sensore laser VL53L1X, misura accuratamente distanze fino a 4 metri. Usa il sistema Time of Flight (ToF) per rilevare la distfalse
    Excl. Tax:
    €11.37
    Incl. Tax:
    €13.87
      Compare
  9. SparkFun 9DoF IMU Breakout - ICM-20948 (Qwiic)

    715335 SparkFun 9DoF IMU Breakout - ICM-20948 (Qwiic)

    IMU con 9DoF basato su chip ICM-20948 che utilizza il protocollo I2C. Convertitori di livello on board, accetta fino a 3.6V. false
    Excl. Tax:
    €14.82
    Incl. Tax:
    €18.08
      Compare
  10. 3412 - 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 (No Headers)

    343412 3412 - 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101 (No Headers)

    Sensore di distanza basato sulla tecnologia time-of-flight, include 3 sensori per un raggio piu' ampio di circa 160 gradi.
    Excl. Tax:
    €29.90
    Incl. Tax:
    €36.48
      Compare
  11. DST1002 - Distance Phidget 1300mm

    211002 DST1002 - Distance Phidget 1300mm

    Sensore di distanza in tecnologia Time-of-Flight, misura con precisione distanze da 20 a 1300mm. Compatibile con il sistema mfalse
    Excl. Tax:
    €36.90
    Incl. Tax:
    €45.02
      Compare
  12. MOT2002 - Motion Sensor Phidget

    202002 MOT2002 - Motion Sensor Phidget

    Sensore PIR per rilevare il movimento di persone. Compatibile con il sistema modulare VINT
    Excl. Tax:
    €15.80
    Incl. Tax:
    €19.28
      Compare