VL53L1X Distance Sensor is a Time-of-Flight (ToF) ranging module based on the VL53L1X from ST, with accurate ranging up to 4m and fast ranging frequency up to 50 Hz, it is controlled through I2C interface, and pretty low power consumption.
Page 3
Unlike conventional IR sensors, the VL53L1X uses ST’s latest generation ToF technology which allows absolute distance measurement whatever the target color and reflectance.
Page 4
VL53L1X Distance Sensor User Manual receiving array with integrated lens ⚫ – Low-power microcontroller running advanced digital firmware Pin-to-pin compatible with the VL53L0X FlightSense™ ranging sensor ⚫ Fast and accurate long distance ranging ⚫ – Up to 400 cm distance measurement –...
VL53L1X Distance Sensor User Manual For more details, please read the datasheet. USING DEMO CODE WORKING WITH RASPBERRY PI LIBRARIES INSTALLATION To use the demo code for Raspberry Pi, you need to install wiringPi library first, otherwise it cannot work properly. About how to install the library, you can visit the...
Page 6
VL53L1X Distance Sensor User Manual COMPILING AND RUNNING Download the demo code on Wiki Unzip and copy the Raspberry Pi code to your Pi (Recommend put on /home/pi) Enter the path of the demo code and compile it: sudo make clean && sudo make &&...
Page 7
RUNNING CODE Copy the VL53L1X-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-> VL53L1X-Arduino- Library Version: V1.0.0 Date: 2018.06.25...
Page 8
VL53L1X Distance Sensor User Manual Compile and run three examples which are using Short Mode, Medium Mode and Long Mode separately. Short mode:For short distance ranging,range:0 ~ 1.3m Medium mode:For medium distance ranging,range:0m ~ 3m Long mode:For long distance ranging,range:0m ~ 4m...
Page 9
VL53L1X Distance Sensor User Manual USING VL53L1X_GUI 1. Connect the sensor to NUCLEO-F401RE according to Hardware connection 2. Install ST’s VL53L1X_GUI software and run it. Open the software and write firmware to NUCLEO board: About->Flash Fw (for this example, only supports NUCLEO-F401RE) 3.
Page 10
VL53L1X Distance Sensor User Manual SIMPLERANGIN EXAMPLES Connect the VL53L1X sensor to NUCLEO-F401RE board (or the XNUCLEO-F411RE) Open and run the example: .. \VL53L1X\SimpleRangingExamples\MDK- ARM\STM32F401RE-Nucleo Open Serial debug assistance tool, choose the right COM and set the baudrate to 115200. Then press reset button.
Page 11
VL53L1X Distance Sensor User Manual MULIPLESENSORSRANGING Connect the VL53L1X sensor to NUCLEO-F401RE board (or the XNUCLEO-F411RE) Open and run the example: ..\VL53L1X\MulipleSensorsRanging\MDK-ARM\STM32F401RE-Nucleo Open Serial debug assistance tool, choose the right COM and set the baudrate to 115200. Then press reset button.
Page 12
VL53L1X Distance Sensor User Manual The information printed on serial; For more information about STM32, please refer to the documents which is under Documentation directory. Version: V1.0.0 Date: 2018.06.25...