Pololu Robotics & Electronics
Menu
My account Comments or questions? About Pololu Contact Ordering information Distributors

VL53L1X Library


#1

Hello there,

I have ordered 5 of VL53L1X carrier boards so when they arrive I want to use them right away but that ST API is quite large and a bit complicated so I am asking you when will you release the library for Arduino or should I write my own if you are not planning to release it soon?

Best regards, Andrija.


#2

Hi, Andrija.

We hope to have a basic library available within a week or two.

Kevin


#3

VL53L1X – same here the device works great, inside at least, but when compiling on a nano just the demo takes 67%! It is a great little sensor.


#4

We’ve released a basic VL53L1X library that can be found on GitHub. It hasn’t been added to the Arduino Library Manager yet, but if you are eager to try it out, you can install it manually.

2018-06-05 edit: the library is now available in the Library Manager.

Kevin


#5

Hi
I want to use the VL53L1X with Raspberry pi 3 but I need the library files for it ,I cannot use those files of Arduino obviously.Can you suggest me how to proceed ?
when will the linux libraries for VL53L1X be released ?

Thanks in advance


#6

Hi, chetan1.

We do not currently have any plans to release anything specific for using the VL53L1X with a Raspberry Pi, but you could look into adapting ST’s API for the RPi yourself. If you want to try, you might find it helpful to look at this port of the VL53L0X API for the Raspberry Pi, since the platform-specific part should be very similar.

Kevin


#7

Thank you Kevin
I have gone through the ST API provided and its helpful for VL53L0X .
But VL53L1X has many changes in names of the functions compared to VL53L0X ,that will be a hectic task though to go through every functions in VL53L0X and changing it for VL53L1X using the link for VL53L0X API.
Especially examples.
Is there any other easy way for adapting VL53L0X API to VL53L1X?

Thanks in advance


#8

Just to be clear, you do not have to adapt the VL53L0X API to work with the VL53L1X. ST has made a VL53L1X API available (my first link above), and what you need to do to get it working on the Raspberry Pi is to implement some platform-specific functions for it (mainly low-level I2C operations). You should be able to take a lot of that platform-specific code from the VL53L0X API that Mathieu Cassard (cassou) has ported to the Raspberry Pi (my second link above).

Kevin