OVERVIEW VL53L0X Distance Sensor is a Time-of-Flight (ToF) ranging module based on the VL53L0X from ST, with accurate ranging up to 2m, it is controlled through I2C interface, and pretty low power consumption. The VL53L0X is a ToF sensor which embeds the ST’s second generation FlightSense patented technology.
Page 3
VL53L0X VL53L0X Time-of-Flight (ToF) ranging sensor is ST’s second generation laser- ranging module housed in the smallest package on the market today. The VL53L0X is a fully integrated miniature module which integrates embedded infrared ranging sensor, VCSEL (Vertical Cavity Surface-Emitting Laser), couples with internal physical infrared filters and a leading-edge SPAD array (Single Photon Avalanche Diodes).
Page 4
VL53L0X Distance Sensor User Manual – Reported range is independent of the target reflectance – Advanced embedded optical cross-talk compensation to simplify cover glass selection Eye safe ⚫ – Class 1 laser device compliant with latest standard IEC 60825-1:2014 - 3rd...
VL53L0X Distance Sensor User Manual USING WITH DEMO CODES WORKING WITH RASPBERRY PI The demo code is based on open-source project on github: https://github.com/cassou/VL53L0X_rasp HARDWARE CONNECTION The connection is based on Raspberry Pi 3 Mode B+ VL53L0X Distance Sensor Raspberry Pi 3.3V...
Page 6
VL53L0X Distance Sensor User Manual Unzip and copy the code of Raspberry Pi to your Pi (Recommend put on /home/pi/) Enter the path of the demo code on Terminal and run this compiling command sudo make clean && sudo make && sudo make examples...
Page 7
VL53L0X Distance Sensor User Manual vl53l0x_ContinuousRanging_Example Execute the command to run code WORKING WITH ARDUINO HARDWARE CONNECTION The connection is based on Waveshare UNO PLUS VL53L0X Distance Sensor Arduino 3.3V Version: V1.0.0, Date: 2018.06.27...
Page 8
VL53L0X Distance Sensor User Manual RUNING Copy the VL53L0X-Arduino-Library folder which is under Arduino demo code directory to Arduino IDE’s Libraries directory which is under the installation directory of your IDE. Then Open Arduino IDE, and choose File->Examples-> VL53L0X-Arduino- Library Version: V1.0.0, Date: 2018.06.27...
Page 9
VL53L0X Distance Sensor User Manual Compiling and run 5 examples for test as below: high_accuracy_ranging: High accuracy ranging which will cost more times high_speed_ranging: Fast ranging, cost less time and low accuracy long_distance_ranging: Long distance ranging, with bigger measure rang...
Page 10
VL53L0X Distance Sensor User Manual single_ranging: Single ranging mode continuous_ranging: Continuous ranging mode For more information about different ranging modes, please read VL53L0X API Version: V1.0.0, Date: 2018.06.27...
Page 11
VL53L0X Distance Sensor User Manual WORKING WITH STM32 HARDWARE CONNECTION This connection is based on XNUCLEO-F411RE/ NUCLEO-F401RE: VL53L0X Distance Sensor XNUCLEO-F411RE/NUCLEO-F401RE 3.3V RUNNING VL53L0X_GUI Connecting sensor to NUCLEO-F401RE board as Hardware connection above Install ST’s VL53L0X_GUI software and run it. The software will write the test firmware to NUCLEO board automatically.
Page 12
VL53L0X Distance Sensor User Manual For more information about STM32 examples VL53L0X, please visit ST website. Version: V1.0.0, Date: 2018.06.27...
Need help?
Do you have a question about the VL53L0X and is the answer not in the manual?
Questions and answers