cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L5CX - access to the ranging histogram

JLeav.1
Associate II

Hi,

Is it possible to access the ranging histogram from the zones in the VL53L5.

There is a great deal of important information in the histogram which can help enable more powerful applications than just returning peak values.

Currently, it does not appear that the API enables access to this.

Is it possible for customers to alter the firmware on the device to support this or any other way?

Thanks

5 REPLIES 5
John E KVAM
ST Employee

Yes you can. There is a function. GetExtraInformation - or something like that that - will return the histogram data.

The data is already uploaded when you get the range so extracting the histogram is pulling it out of the data structure.


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
JLeav.1
Associate II

Brilliant. I will take a look.

Thasks,

Justin​

JLeav.1
Associate II

Can't seem to find anything in the ultra lite driver api?

Is there another driver for VL53L5CX than the ultra lite driver?

Thanks

John E KVAM
ST Employee

This is my mistake. When you asked about the histograms, I jumped to a conclusion that you were talking about an L1 or an L3. Both those sensors process the data on the host and the histogram data is uploaded. (Sorry about not reading the title of the post.)

But the L5 works differently. It has way more histogram bins. And it has way more zones. There is no way to upload the raw histogram data and maintain any kind of framerate. So we didn't even try to give that access. 64 zones times 100+ histogram bins becomes impossible bandwidth-wise.

  • john

If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
Yli.9
Associate II

0693W00000HpxrWQAR.png@John E KVAM​ Hi,

I saw in a video (See the screenshot above) that the distance of target is extracted by assuming a normal distribution, so i am thinking is it possible to recover the histogram approximately from recevied values? As in L5 we cannot access histogram data directly, this maybe useful.

Do the received range sigma means the sigma of that normal distribution?