The Adafruit VL53L4CD Time of Flight Sensor is another great Time of Flight distance sensor from ST in the VL5 series of chips, this one is great for shorter distances.
The sensor contains a very tiny invisible laser source and a matching sensor. The VL53L4CD can detect the "time of flight", or how long the light has taken to bounce back to the sensor. Since it uses a very narrow light source, it is good for determining distance of only the surface directly in front of it. Unlike sonars that bounce ultrasonic waves, the 'cone' of sensing is very narrow. Unlike IR distance sensors that try to measure the amount of light bounced, the VL53 is much more precise and doesn't have linearity problems or 'double imaging' where you can't tell if an object is very far or very close.
This is another 'big sister' of the VL6180X ToF sensor and can handle about ~1 to 1300mm of range distance: basically it combines the short range of the VL6180X in that it can sense up to the body of the sensor, with the increased range of the VL53L0X, which can handle about 50mm to 1200mm of range distance.
The sensor is small and easy to use in any robotics or interactive project. Since it needs 2.8V power and logic Adafruit put the little fellow on a breakout board with a regulator and level shifting. You can use it with any 3-5V power or logic microcontroller with no worries. Works great with the 3.3V logic level of a Feather or Raspberry Pi, or the 5v level of a Metro 328 or Arduino Uno, this breakout is ready to work with most common microcontrollers or SBCs. and since it speaks I2C, you can easily connect it up with two data wires plus power and ground.
As if that weren't enough, they've also added SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder. Just wire up to your favorite micro with a plug-and-play cable to get ToF data ASAP. For a no-solder experience, just wire up to your favorite micro, like the STM32F405 Feather using a STEMMA QT adapter cable. The Stemma QT connectors also mean the VL53L4CD can be used with our various associated accessories. QT Cable is not included, but we have a variety in the shop
Communicating to the sensor is done over I2C with an API written by ST, they have an Arduino library with an example for communication here.
- High performance proximity sensor
- From 0 to 1200 mm with full field of view (FoV)
- Short distance linearity down to 1 mm
- Diagonal FoV of 18 °
- Autonomous low power mode with interrupt programmable threshold to wake up the host
- Fast ranging frequency up to 100 Hz
- ST documentation for the VL53LCD sensor
Product Dimensions: 25.5mm x 17.7mm x 4.6mm / 1.0" x 0.7" x 0.2"
Product Weight: 1.8g / 0.1oz