Arduino library for ST Microelectronics VL53L5 multizone Time-of-Flight ranging camera (get it here!)
-
Connect I2C in the usual way (SCL, SDA, 3.3V, GND)
-
Connect INT and LPN to digital pins on your board, making sure the pin numbers agree with the pin numbers specified in the get_set_params test sketch.
-
Flash the get_set_params test sketch onto your board.
-
After a few seconds you should see the LED turn on solid.
-
A few seconds after that, the LED should start blinking.
-
Open the serial monitor to observer the rangefinder readings.
I have tested this library on the following platforms:
-
Ladybug STM32L432 Development Board from Tlera Corp.
-
Teensy 3.2 Develeopment Board from PJRC
-
Teensy 4.0 Develeopment Board from PJRC