Skip to content

A library for the laser based VL53L1X Time Of Flight distance sensor capable of detecting a target 4m away!

License

Notifications You must be signed in to change notification settings

sparkfun/SparkFun_VL53L1X_Arduino_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkFun Qwiic 4m Distance Sensor with VL53L1X

Build Status

SparkFun Distance Sensor Breakout - 4 Meter, VL53L1X (Qwiic) SparkFun Distance Sensor - 1.3 Meter, VL53L4CD (Qwiic)
SparkFun Distance Sensor Breakout - 4 Meter, VL53L1X (Qwiic) [SEN-14722] SparkFun Distance Sensor - 1.3 Meter, VL53L4CD (Qwiic)[SEN-18993]

The VL53L1X is a Time Of Flight (ToF) sensor that use 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? Using the VL53L1X, 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 STMicroelectronics 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 VL53L1X 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!

Note: The VL53L4CD is the cousin of VL53L1X. Overall, the sensor functions the same except for a few differences in the specifications. We've also found the precision of VL53L4CD sensor to be 1mm but the accuracy is around +/-7mm (white target: 88%, indoor, no infrared).

Repository Contents

  • /Documents - Datasheet and User Manual
  • /Hardware - Eagle design files (.brd, .sch)
  • /Production - .brd files

Documentation

Products that use this Library

License Information

SparkFun's source files are open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.

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.

The source files included in the subfolder st_src are licensed differently. They are licensed under the BSD-3 license, check the License.md in that subfolder for specifics.

  • Your friends at SparkFun.

About

A library for the laser based VL53L1X Time Of Flight distance sensor capable of detecting a target 4m away!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published