2021-07-08 01:54 PM
2021-07-09 08:14 AM
Soon - very soon. The data sheet came out on July 7, and the Graphical User Interface will be out by the 15th.
There is some X-cube code up on the web site, but it's incorrect.
Only solution I have for you is to wait a couple more days.
Everything should be there by July 15.
I've been promised.
And this sensor is completely different from the prior VL53 sensors, so none of that code will work.
2021-07-09 08:14 AM
Soon - very soon. The data sheet came out on July 7, and the Graphical User Interface will be out by the 15th.
There is some X-cube code up on the web site, but it's incorrect.
Only solution I have for you is to wait a couple more days.
Everything should be there by July 15.
I've been promised.
And this sensor is completely different from the prior VL53 sensors, so none of that code will work.
2021-08-19 06:37 PM
@John E KVAM When you say "There is some X-cube code up on the web site, but it's incorrect.", which version you mean to say, because I'm using the "X-Cube-TOF 1.2.0.0", no error reported, but I can't get any data from the sensor, because the L5 never rise any interrupt to the HOST, could you please help check, that would be very helpful for us, thanks.
2021-09-08 01:50 PM
John,
I'm checking back in on this topic. Any luck getting a Arduino /Linux / Python Library for the VL53L5 yet?
I haven't seen any of the updates that were coming on July 15th.
thanks,
-Joe
2021-09-09 10:08 AM
All the code is up there - finally.
Go to ST.com and search for VL53L5 - it will bring you to the product page.
Then click on 'tools and software"
One of the options is the Linux Driver -
That should set you up.
2021-09-09 10:54 AM
2021-09-10 08:52 AM
I fear I have steered you in the wrong direction.
There is a linux driver and it does work - but it's too hard. Unless you are serious about putting stuff in the kernel I have a better way.
The Linux driver is fine for systems that don't want to give I2C access to user level code.
But in your RPi, you have the freedom to write to the I2C form user code.
And user code is easier to debug.
The easy way to use the VL53L5 on the RaspberryPi is to start with:
Ultra Lite Driver (ULD) for VL53L5CX multi-zone sensor
It is pretty simple.
But there is a trick - This code does NOT know which CPU/MCU you are using. YOu must edit the platform.c file (which is generally empty) and fill it with the code needed to access your I2C. (There are lots of references on how to open an I2C device - you can google it.)
When done you can run any of the examples.
And one of them is a basic ranging program that takes the data and prints it out. Modify this program to your liking.
I then 'pipe' the output of this program into my Python programs to make using the data easier.
2021-09-27 03:28 PM
Arduino driver for the VL53L5CX here.
2022-05-30 01:36 AM
Python code is here:
https://pypi.org/project/VL53L5CX/#files
https://github.com/mp-extras/vl53l5cx
Please let's us know if it works.