WiT VL53L1 User Manual

Laser ranging sensor

Advertisement

Quick Links

USER MANUAL
VL53L1
Laser Ranging Sensor
VL53L1 | Manual v23-0720 |
www.wit-motion.com
|
support@wit-motion.com
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VL53L1 and is the answer not in the manual?

Questions and answers

Summary of Contents for WiT VL53L1

  • Page 1 USER MANUAL VL53L1 Laser Ranging Sensor VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 2: Tutorial Link

    AHRS sensors. Contact Technical Support Contact Info Application ● Robot ● UAV ● Intelligent Device VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 3: Table Of Contents

    Baud Rate ................16 Return Rate ................17 Calibration Module ..............18 Measurement Mode ..............19 Communication Protocol ..............21 Serial Mode ................21 Modbus Protocol ..............22 Modbus Register ..............24 IIC Mode ................27 VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 4: Overview

    2-layer PCB board process, thinner, smaller and more reliable. Metal ⚫ shielding cover to prevent static interference. Default short-distance mode (the longest measurement distance is 2 ⚫ meters), when measuring 4 meters, change to the long-distance mode. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 5: Product Size

    2 Product Size VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 6: Parameter

    Return Rate ➢ 0.1~100HZ(default 10Hz) Measuring Distance 40mm-4000mm (4000mm without optical cover) ➢ 1.575"-157.480" (157.480"without optical cover) Interface Level TTL ➢ Baud Rate Supports 2400-921600, default 115200 ➢ Ranging Error ➢ ±20mm (±0.787") VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 7: Pin Instruction

    (TT level, not directly connected to RS232 level) can be connected to the RXD of the microcontroller IIC communication clock pin (need to enter IIC mode) IIC communication data pin (need to enter IIC mode) Ground VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 8: Hardware Connection

    We recommend the following two USB to serial modules: 3-in-1 serial converter 6-in-1 serial converter Step 1. Connect the sensor with a serial converter PIN Connection: VCC - GND – GND Step 2. Plug it into computer. PC-serial module connection diagram: VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 9: Iic Connection

    5.2 IIC Connection VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 10 2. To detect fast-moving objects, the sampling frequency should be adjusted (VL53L1 sets the timing preset time and measurement time interval). 3. The laser light source is an invisible beam to the naked eye (the laser can be seen with a mobile phone camera).
  • Page 11: Use Instructions With Pc

    To check that the CH340 enumerates to a COM port, you can open the device 1) manager. You can click the Start or ⊞ (Windows) button and type "device manager to quickly search for the application. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 12 After opening the device manager, you will need to open the Ports (COM & 2) LPT) tree. The CH340 should show up as USB-SERIAL CH340 (COM##). Depending on your computer, the COM port may show up as a different number. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 13: Data View

    6.2 Data View Step 1. Open the computer, click the corresponding serial. (Default baud rate: 115200) Step 2. Click "Search Device" then view the data, as follows: VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 14 Step 1. Click "Configuration" to select the corresponding device and enter the configuration interface. Step 2. Entering “Device ID” click "Set up". ID can be set in the range 0x00~0x7F. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 15: Reset

    Step 1. After connecting the sensor normally, click "Configuration" to enter the configuration interface. Step 2. Click “Reset”, If the baud rate or ID is not the default setting (default baud rate: 115200, ID: 0X50), search for the device again. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 16: Baud Rate

    After the normal connection, the baud rate can be modified on the computer. Step 1. Click "Configuration" to select the corresponding device and enter the configuration interface. Step 2. Click “Communication rate”, select the baud rate. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 17: Return Rate

    Modbus mode.) Step 1. After connecting the sensor normally, click "Configuration" to select the corresponding device and enter the configuration interface. Step 2. Click “Return rate”. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 18: Calibration Module

    14cm (5.512") in front of the sensor and click to calibrate. Step 1. After connecting the sensor normally, click "Configuration" to select the corresponding device and enter the configuration interface. Step 2. Fix the sensor and calibration object, click "Calibration module". VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 19: Measurement Mode

    4 meters. The default setting is long-distance mode. Step 1. After connecting the sensor normally, click "Configure" to select the corresponding device and enter the configuration interface. Step 2. Click “Measurement mode”. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 20 // Set 7 register is 20 Time delay100ms MODADDR 06 00 08 00 01 CRCH CRCL // Set 8 register is 1 Time delay100ms MODADDR 06 00 36 00 01 CRCH CRCL // Set to short-distance VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 21: Communication Protocol

    The data returned by the sensor is as follows: For example: d: 490mm 19.291" State: 7, No Update d: 490mm 19.291" means measuring distance State: 7, No Update indicates the status bit of the measurement data VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 22: Modbus Protocol

    LenH DataH DataL ..CRCH CRCL For example: the module address is 0x00, the read command is 0x03, and the length is 2 bits. Command: 50 03 02 00 1C 44 41 VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 23 Data analysis: 0x50 is the Modbus address, 0x03 is sign, 0x02 is the data length, 0x07 0x0B measurement data corresponds to 0x070B is decimal 1803mm (710.079"), the measurement distance is 18036mm (710.079"), and 0x06 0x7F is the CRC check byte. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 24: Modbus Register

    MODADDR CRCH CRCL Write 0x04,baud rate 38400 06 00 04 MODADDR CRCH CRCL 06 00 04 Write 0x05,baud rate 57600 MODADDR CRCH CRCL Write 0x06,baud rate 115200 06 00 04 MODADDR CRCH CRCL VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 25 Read:0x04,Sensor Phase Fail Read:0x05, Sensor Hardware Fail Model 0x36 MODADDR 06 00 36 Write 0x00, short distance 00 01 CRCH CRCL 1.3m, better environmental immunity) 06 00 36 Write 0x01, medium distance MODADDR VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 26 Read: 0x01, start calibration MODADDR 00 01 CRCH CRCL Read: 0x02, calibration failed Read: 0x03, calibration complete System 0x38 06 00 38 Write 0x00, sensor normal MODADDR mode 00 00 CRCH CRCL mode, automatic return VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...
  • Page 27: Iic Mode

    For example, if the module address is 50, then IIC mode needs to send 50 06 00 38 00 02 84 47 After entering the IIC mode, the serial port of the module will output "IICMODE" characters. VL53L1 | Manual v23-0720 | www.wit-motion.com support@wit-motion.com...

Table of Contents