VL53L0X Time-of-Flight Distance Sensor Carrier with Voltage Regulator, 200cm Max (Pololu)
- Features
- Dimensions
- Comments (0)
- Payment Options
- How Will We Ship To You?
-
This sensor is a carrier/breakout board for ST’s VL53L0X laser-ranging sensor, which measures the range to a target object up to 2 m away. The VL53L0X uses time-of-flight measurements of infrared pulses for ranging, allowing it to give accurate results independent of the target’s color and surface. Distance 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.6 V to 5.5 V, and the 0.1″ pin spacing makes it easy to use with standard solderless breadboards and 0.1″ perfboards.
Overview
The VL53L0X from ST Microelectronics is a time-of-flight ranging system integrated into a compact module. This board is a carrier for the VL53L0X, so we recommend careful reading of the VL53L0X datasheet (1MB pdf) before using this product.
The VL53L0 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, so it can be considered a tiny, self-contained lidar system. This time-of-flight (TOF) measurement enables it to accurately determine the absolute distance to a target without the object’s reflectance greatly influencing the measurement. The sensor can report distances of up to 2 m (6.6 ft) with 1 mm resolution, but its effective range and accuracy (noise) depend heavily on ambient conditions and target characteristics like reflectance and size, as well as the sensor configuration. (The sensor’s accuracy is specified to range from ±3% at best to over ±10% in less optimal conditions.)
Ranging measurements are available through the sensor’s I²C (TWI) interface, which is also used to configure sensor settings, and the sensor provides two additional pins: a shutdown input and an interrupt output.
The VL53L0X 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 a recommended voltage of 2.8 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 VL53L0X, which allows the sensor to be powered from a 2.6 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 VL53L0X, as shown in the product picture.
For a similar but shorter-range sensor (up to 20 cm, or 60 cm with reduced resolution) that includes ambient light sensing functionality, see our VL6180X carrier.
VL53L0X datasheet graph of typical ranging performance (in default mode)
SpecificationsIncluded 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.
VL53L0X Time-of-Flight Distance Sensor Carrier with included header pins.
VL53L0X Time-of-Flight Distance Sensor Carrier in a breadboard.
Using the VL53L0X
Important note: This product might ship with a protective liner covering the sensor IC. The liner must be removed for proper sensing performance.
Connections
A minimum of four connections is necessary to use the VL53L0X board: VIN, GND, SCL, and SDA. The VIN pin should be connected to a 2.6 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 VL53L0X 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 XSHUT pin is an input and the GPIO1 pin is an open-drain output; both pins are pulled up to 2.8 V by the board. 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 GPIO1 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 XSHUT pin. Alternatively, our 4-channel bidirectional logic level shifter can be used externally with those pins.
Pinout
PIN Description VDD Regulated 2.8 V output. Almost 150 mA is available to power external components. (If you want to bypass the internal regulator, you can instead use this pin as a 2.8 V input with VIN disconnected.) VIN This is the main 2.6 V to 5.5 V power supply connection. The SCL and SDA level shifters pull the I²C lines high to this level. GND The ground (0 V) connection for your power supply. Your I²C control source must also share a common ground with this board. SDA Level-shifted I²C data line: HIGH is VIN, LOW is 0 V SCL Level-shifted I²C clock line: HIGH is VIN, LOW is 0 V XSHUT This pin is an active-low shutdown input; the board pulls it up to VDD to enable the sensor by default. Driving this pin low puts the sensor into hardware standby. This input is not level-shifted. GPIO1 Programmable interrupt output (VDD logic level). This output is not level-shifted. Schematic diagram
The above schematic shows the additional components the carrier board incorporates to make the VL53L0 easier to use, including the voltage regulator that allows the board to be powered from a 2.6 V to 5.5 V supply and the level-shifter circuit that allows for I²C communication at the same logic voltage level as VIN. This schematic is also available as a downloadable PDF (100k pdf).
I²C communication
The VL53L0X can be configured and its distance 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.6 V to 5.5 V). A detailed explanation of the I²C interface on the VL53L0X 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. ST provides an application note (196k pdf) that describes how to use multiple VL53L0X sensors on the same I²C bus by individually bringing each sensor out of reset and assigning it a unique address.
The I²C interface on the VL53L0X 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.
Sensor configuration and control
In contrast with the information available for many other devices, ST has not publicly released a register map and descriptions or other documentation about configuring and controlling the VL53L0X. Instead, communication with the sensor is intended to be done through ST’s VL53L0X API (STSW-IMG005), a set of C functions that take care of the low-level interfacing. To use the VL53L0X, you can customize the API to run on a host platform of your choice using the information in the API documentation. Alternatively, it is possible to use the API source code as a guide for your own implementation.
Sample Code
We have written a basic Arduino library for the VL53L0X, which can be used as an alternative to ST’s official API for interfacing this sensor with an Arduino or Arduino-compatible controller. The library makes it simple to configure the VL53L0X and read the distance data through I²C. It also includes example sketches that show you how to use the library.
-
-
All products shipped with sealed in box. All products packaged carefully. Before shipment, we test all electronics and control the mechanics of all products. So you will never be disappointed when you open our JSumo shipment box.
We have 2 Shipment Options:
- Registered Air Mail ( Fixed Price 9,95 USD, Free On Orders Over 199 USD)
DHL Worldwide Express Shipment (Based on weight)
TIME TABLE FOR INTERNATIONAL REGISTERED AIR MAIL
Below, these countries are the only examples. If your country is not in the list, don't be afraid. We are shipping to all over the world including your country too:)
*Colombia, Paraguay, Peru shipments are sent over Brazil Postal Service. ( Turkey >> Brasil >> Colombia, Paraguay or Peru) Because of that delays can happen. We are sending shipment code.
What is your return policy?
You may return a product for refund or exchange (if due to our error) within 30 days of the order shipment date. (The order shipment date and order notification are provided to you by email). All returns must be accompanied with a Return Merchandise Authorisation number (order number #).
If we shipped you the wrong product, or it arrived defective or damaged
No problem. Just contact us within 30 days of the item's original shipping date to arrange for the return of your purchase. Send us photo of wrong product. And we will send a replacement or refund you for your purchase, provided the returned item(s) are received back in their original packaging, along with all accessories, warranty cards, manuals, software, etc., where applicable.
- Registered Air Mail ( Fixed Price 9,95 USD, Free On Orders Over 199 USD)
-
All products shipped with sealed in box and packaged carefully. Before shipment, we test all electronics and control the mechanics of all products. So you will never be disappointed when you open our JSumo shipment box.
We have 2 Shipment Options:
- Registered Air Mail ( Fixed Price 9,95 USD, Free On Orders Over 199 USD)
DHL Worldwide Express Shipment (Based on weight)
TIME TABLE FOR INTERNATIONAL REGISTERED AIR MAIL
Below, these countries are the only examples. If your country is not in the list, don't be afraid. We are shipping to all over the world including your country too:)
*Colombia, Paraguay, Peru shipments are sent over Brazil Postal Service. ( Turkey >> Brasil >> Colombia, Paraguay or Peru) Because of that delays can happen. We are sending shipment code.
What is your return policy?
You may return a product for refund or exchange (if due to our error) within 30 days of the order shipment date. (The order shipment date and order notification are provided to you by email). All returns must be accompanied with a Return Merchandise Authorisation number (order number #).
If we shipped you the wrong product, or it arrived defective or damaged
No problem. Just contact us within 30 days of the item's original shipping date to arrange for the return of your purchase. Send us photo of wrong product. And we will send a replacement or refund you for your purchase, provided the returned item(s) are received back in their original packaging, along with all accessories, warranty cards, manuals, software, etc., where applicable.
- Registered Air Mail ( Fixed Price 9,95 USD, Free On Orders Over 199 USD)
-
6.50 USD
-
12.50 USD
-
2.95 USD
-
2.25 USD