Skip to content

Arduino library for ST Microelectronics VL53L5CX multizone Time-of-Flight ranging sensor

License

Notifications You must be signed in to change notification settings

simondlevy/VL53L5CX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VL53L5

A lightweight, header-only Arduino library for ST Microelectronics VL53L5 multizone Time-of-Flight ranging camera (get it here!) This library is designed to simplify the use of the sensor by helping you avoid illegal configurations; e.g., specifying an integration constant in continuous mode, or specifying too high a sampling frequency at a given resolution.

Quickstart

  1. Connect I2C in the usual way (SCL, SDA, 3.3V, GND)

  2. Connect INT and LPN to digital pins on your board, making sure the pin numbers agree with the pin numbers specified in the Basic test sketch.

  3. Flash the Basic test sketch onto your board.

  4. After a few seconds you should see the LED turn on solid.

  5. A few seconds after that, the LED should start blinking.

  6. Open the serial monitor to observer the rangefinder readings.

Supported platforms

I have tested this library on the following platforms:

Related projects

Known issues

Compiling on ESP32 with warnings set to More or All, you may get a memory warning that is treated as an error. Although ST claims to have fixed this problem, I was unable to get their code working on my ESP32. So I have opted to include the older code and set warnings to Default.

About

Arduino library for ST Microelectronics VL53L5CX multizone Time-of-Flight ranging sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •