A high-precision laser rangefinder based on the VL53L4CD chip from STMicroelectronics. It uses Time-of-Flight (ToF) technology, which measures the beam's flight time to an object, enabling millimeter-level distance determination regardless of the object's color or surface reflectivity. It supports standalone mode with adjustable interrupt thresholds for waking the controller. The board includes a voltage regulator and a logic-level converter (compatible with 3.3V and 5V logic).
To work with the VL53L4CD sensor via Arduino, it is most convenient to use the official library from STMicroelectronics -STM32duino VL53L4CD
Thanks to the built-in 940nm IR laser, the sensor is safe for the eyes and works reliably even in external light.
- Measurement range: from 1 mm to 1300 mm (1.3 meters)
- Technology: Time-of-Flight (ToF) FlightSense™
- Interface: I2C (default address 0x29 / 0x52)
- Supply voltage (VIN): 2.6 V – 5.5 V (built-in stabilizer)
- Current consumption: ~25 mA (typical), up to 40 mA (peak)
- Polling rate: up to 100 Hz (100 times per second)
- Field of View (FoV): 18°
-
Emitter: 940 nm (invisible laser Class 1, safe)
The VL53L4CD supports changing the I2C address, but it's important to note that this is a program address and will be restored to the factory default after a reboot. To connect multiple sensors to a single I2C bus, use the LPn pin for each sensor, connecting it to separate pins on the microcontroller. When starting the sketch, set these pins to a logic "low." This temporarily disables the sensors. Next, apply a logic "high" to the LPn of the first sensor and set a new address. Then apply a logic "high" to the LPn of the second sensor and change the port. And so on. This way, we'll assign new addresses each time the sketch starts.
Please note: If there is an orange or transparent film on the lens, be sure to remove it, otherwise the sensor will show "0" or an error. LPn pin: If you are not using this pin in the code, connect it to the VIN to ensure the module is always on. I2C scanner: If the code does not detect the sensor, upload the standard "I2C Scanner" sketch to ensure the module is visible at address 0x29.