SparkFun Qwiic 4m Distance Sensor with VL53L1X
SparkX Distance Sensor 4m (Qwiic) - VL53L1X (SPX-14667)
The VL53L1X is the latest Time Of Flight (ToF) sensor to be released. It uses a VCSEL (vertical cavity surface emitting laser) to emit a class 1 IR laser and time the reflection to the target. What does all this mean? You can measure the distance to an object up to 4 meters away with millimeter resolution! That’s pretty incredible.
We’re far from done: The VL53L1X is a highly complex sensor with a multitude of options and configurations. We’ve written example sketches that allow you to read the distance, signal rate, and range status. Because ST has chosen not to release a complete datasheet we are forced to reverse engineer the interface from their example code and I2C data stream captures. If you’re into puzzles we could use your help to make the library better!
We’ve found the precision of the sensor to be 1mm but the accuracy is around +/-5mm.
SparkFun labored with love to create this code. Feel like supporting open source hardware? Buy a breakout board from SparkFun!
Repository Contents
- /Documents - Datasheets
- /DataCapture - A capture of the I2C traffic from the ST X-NUCLEO-53L1A1 evaluation kit.
- /Hardware - Eagle design files (.brd, .sch)
- /Software - Processing Example showing how to manipulate graphics using quaternions
Library
- Arduino Library - Library for reading distance in millimeters, signal rate, status, etc.
License Information
This product is open source!
Please review the LICENSE.md file for license information.
If you have any questions or concerns on licensing, please contact [email protected].
Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release any derivative under the same license.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.