Skip to content

+49 1626571232

info@openelab.io

🚀 Free Shipping from 50€ in EU / 80€ Worldwide

Learn

Eight Important Points You Need to Know Related to VL53L0X

 

1. What is VL53L0X?

 
The VL53L0X is an advanced Time-of-Flight (ToF) ranging sensor, manufactured by STMicroelectronics. It uses an innovative vertical cavity surface emitting laser (VCSEL) technology to accurately measure the distance between the target and the sensor for a variety of application scenarios, such as smartphones, drones, robotic navigation, smart homes, etc. Featuring high speed, high accuracy, and high immunity to interference, the VL53L0X provides continuous distance measurements ranging from a few centimeters to several meters.

2. Principles

 
A 940nm Vertical-Cavity Surface-Emitting Laser (VCSEL) is used to emit the laser light, which is reflected back to the VL53L0X after hitting an obstacle, and the propagation time of the laser light in the air is measured to obtain the distance.
 

 

3. Specifications

 
  • Ultra small size: 4.4 x 2.4 x 1.0mm
  • Operating voltage: 2.6V-5V DC
  • 940 nm infrared light
  • Very fast response (50 ms)
  • Range: Normal mode 0 - 1000mm, Remote mode 0 - 2000mm
  • Deviation of 1% at a distance of 1 meter (more than 10% at a distance of 2 meters)
  • Emitted laser light is safe for the eyes and completely invisible
  • Communication mode: IIC, 400KHz, device address 0x52, the lowest bit is the read/write flag bit. 0 means write, 1 means read. Therefore, when writing, this 8-bit data is: 0101 0010, i.e. 0x52. When reading, this 8-bit data is: 0101 0011, i.e. 0x53.
 

There are two holes on the VL53L0X, one for the VCSEL laser emission and one for the SPAD laser detection array

1 foot on the big hole side

  

4. Pinout & Schematic

 
 
  • 1 pin AVDDVCSEL: VCSEL power positive
  • 2-pin AVSSVCSEL: VCSEL power supply ground
  • 3 pins, 4 pins, 6 pins, 12 pins GND: ground
  • Pin 5 XSHUT: power mode control, if you don't need the hibernation function, this pin can be directly connected to AVDD.
  • Pin 7 GPIO1: Interrupt output. Open-drain output, so must be external pull-up.
  • Pin 8 DNC: Dangling
  • Pin 9 and 10: IIC communication port
  • Pin 11 AVDD: power supply positive
 

  

5. Firmware State Machine

 
ST has equipped the VL53L0X with a set of APIs that directly encapsulate various functions such as: initialization/calibration, range start/stop, accuracy selection, range mode selection. The user's application program calls the functions in the API, and then the API communicates with the firmware in the VL53L0X via the IIC, which then operates the hardware.
 

 
The firmware in the VL53L0X works according to a state machine:
 
   

When powered up, the VL53L0X enters the Hw Standby state, which is a standby state with very low power consumption. Then pull up the XSHUT pin to put the VL53L0X into Fw Boot state to start preparing for ranging. If the standby state is not needed, you can connect XSHUT to AVDD. the VL53L0X cannot communicate with the IIC when it is in sleep state.

The VL53L0X has 3 operating modes:

  • Single mode: after receiving the range start command, it starts to measure, and automatically exits and enters the Sw Standby state after the measurement is completed.

  • Continuous Mode: After receiving the range start command, it will keep on measuring until it receives the range stop command. When the stop command is received, the last measurement will be completed before exiting.

  • Continuous Interval Mode: After receiving the range start command, it starts to measure, and after completing one measurement, it waits for a period of time before taking the next measurement until it receives the range stop command. The waiting time between measurements is adjustable.

 

6. Precautions During Use

 
The VL53L0X is normally used in combination with a coverslip. The coverslip serves two purposes: to provide physical protection from dust and to filter light.
 
 
Coverslips are usually opaque and have either two circular holes or one elliptical hole to emit and receive infrared light. Coverslips must meet a number of optical requirements to ensure ranging capability. The quality of the coverslip is measured by the transmission coefficient and the haze coefficient.
 
There are two parameters to be aware of: the air gap between the VL53L0X and the coverslip window and the expansion area (exclusion area) in front of the VL53L0X, as shown below:
 
 

 
When laser light passes through a coverslip, some of it is reflected and we should minimize the reflected light. Embedded particles/holes and/or rough surfaces are the main factors for light scattering in coverslips.
 

The Ideal Coverslip has the Following Characteristics:

(1) no structural defects in the plastic or glass material

(2) no surface defects that can cause fingerprint light scattering or smudge sensitivity

(3) Transmittance >90% in the near infrared (940nm ± 10nm) and low haze conditions

(4) External coating (anti-fingerprint or anti-reflective coating) that does not reduce fingerprint immunity

(5) Single material. Use of dual materials may alter performance.

 

The ideal structural design (the structure of a coverslip over VL53L0X) has the following characteristics:

(1) Small air gap (<0.5 mm)

(2) Thin coverslip

(3) Inclination angle between the coverslip and the VL53L0X is less than 2 degrees.

(4) tight tolerances.

 
Effect of coverslip quality on laser transmission:

 
Recommended structural design: smallest possible air gap ('E' in the figure below), and thin coverslips with high transmission coefficients ('D' in the figure below)
 
 
If the air gap and coverslip thickness can no longer be reduced, shims can be added to the gap; shims can help reduce crosstalk.
 
 
The coverslip must also be parallel to VL53L0X
 

 

7. Calibration Process

 
  • In order to ensure the accuracy, the user should carry out a calibration after determining his/her usage environment (whether to cover the glass cover, usage environment temperature, power supply voltage, etc.). The process is as follows:
 
 
  • Temperature calibration is the determination of two temperature-dependent parameters: VHV and phase cal. Recalibration is required each time there is a temperature difference of greater than 8 degrees between the environment in which the VL53L0X is used and the environment in which it is calibrated.
 
  • Offset calibration is the offset between the calibration time distance and the measurement distance, and is generally recommended to be calibrated at 10cm. Offset is generally a fixed value, when the power supply voltage, ambient temperature, whether to add a glass cover, etc., read out the measured value and the actual value of the difference between the offset can be obtained.
 
 
 
  • CrossTalk Calibration: CrossTalk is crosstalk, which is defined as the signal bouncing back from the coverslip. If a glass coverglass is added, when the laser light is shot out of the coverglass, part of the laser light will be reflected back as an interference signal. The size of the interference signal depends on the type of coverslip and the size of the air gap. The size of the distance error produced by the interference signal is proportional to the ratio of the size of the crosstalk to the size of the signal returned from the target.
  

  

8.Ranging

 
  • The user can get the data by polling or interrupting
Polling: You need to take the initiative to read the API function to get the measurement status.
Interrupt: When a measurement is completed, VL53L0X sends an interrupt signal through GPIO1 pin.
 
  • Ranging process
 
  
 
  • IIC writing 1 byte of data

 

  • IIC reads 1 byte of data
 

 

  • IIC write multiple bytes of data

  

 

  • IIC reads multiple bytes of data

 

  

  

 

If you're working on a project using VL53L0X, our website offers a wide range of VL53L0X products, and we can also produce customized VL53L0X based on your requirements.
OpenELAB is a one-stop development platform for global AIoT electronics enthusiasts and an open-source community for electronic engineers. Besides providing developer modules online, our services also include customized manufacturing of various electronic parts such as micro switches and batteries, as well as plastic or metal parts through 3D printing, injection molding, CNC, laser cutting, etc.
In addition to VL53L0X, OpenELAB offers other electronic component sourcing services such as sensors, displays, IoT, and more. OpenELAB has a user-friendly website that makes it easy to find the components you need, and we offer fast shipping to customers around the world.
Moreover, OpenELAB offers Design as a Service (DaaS) for design optimization, Manufacturing as a Service (MaaS) for production manufacturing, Supply Chain as a Service (SaaS) for supply chain support, and Quality as a Service (QaaS) for quality control to AIoT products transitioning into mass production, ensuring a smooth transition to the commercial production phase.
Most importantly, OpenELAB is dedicated to building a global open-source community for AIoT electronic developers. Through the OpenELAB open community, developers in the AIoT electronic revolution can collaborate, empower each other, and create a culture of mutual respect and collaborative sharing, generating more innovative AIoT intelligent hardware products for the world.

 

 

Prev Post
Next Post

Leave a comment

All blog comments are checked prior to publishing

Someone recently bought a

Thanks for subscribing!

This email has been registered!

Shop the look

Choose Options

Edit Option
Back In Stock Notification
this is just a warning
Login
Shopping Cart
0 items
RuffRuff App RuffRuff App by Tsun