Skip to main content
swer
Associate II
November 21, 2023
Solved

can I get histogram data from VL53L0X ?

  • November 21, 2023
  • 2 replies
  • 1841 views

Hello All,

in the function VL53L0X_PerformSingleHistogramMeasurement from api library it is said that the code isn't implemented yet. Is there a way to get histogram measurements using this chip ? otherwise which chip should I choose to get histogram data ?

 

Thank you

This topic has been closed for replies.
Best answer by Anne BIGOT

Hello,

With the VL53L0X, it is not possible to get the histogram measurements. 
If you want to get histogram data,  I would recommend to use either the VL53L7CH or VL53L8CH that have been just introduced in the market.
The pages are here : VL53L7CH and VL53L8CH. You can also replay the latest webinar from ST on this subject here.

Regards

 

2 replies

Anne BIGOT
Anne BIGOTBest answer
Technical Moderator
November 22, 2023

Hello,

With the VL53L0X, it is not possible to get the histogram measurements. 
If you want to get histogram data,  I would recommend to use either the VL53L7CH or VL53L8CH that have been just introduced in the market.
The pages are here : VL53L7CH and VL53L8CH. You can also replay the latest webinar from ST on this subject here.

Regards

 

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised. ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'
swer
swerAuthor
Associate II
November 22, 2023

Hello Anne 

Thank for your reply. But I have seen that vl53l3 can support histograms. Should I particularly work with those modules you mentioned just to get proper histogram data ?

Addition to this, which chip is better to start working on gesture detection ?

Thank you

Anne BIGOT
Technical Moderator
November 22, 2023

Hello,

For histograms, you can get more infos using the multi-sensors.
For gesture detection, the best chip to use is the VL53L8CX. You can find some libraries in the STSW-IMG035 pack there.

Best regards

Anne

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised. ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'
John E KVAM
ST Employee
November 27, 2023

Actually if you look carefully at the API, you can get the histogram data from the L0. But don't do it. They are not guarenteed to work on all chips. We never got them to work correctly.

We had to invent the VL53L3CX in order to get them to work. The L3 is pin compatible with the L0, so you could swap them and switch to the VL53L3 code and you would have your histograms. 

Each bin of the L3 histogram is about 20cm, making them much wider than the 3.75cm histograms of the VL53L8. 

There is even a Varient of the L8, specifically designed to give you the histograms - the VL53L8CH (H for histogram). If you are really into it using them the L8CH is the place to start.

And that's why Anne correctly suggested you go there. 

- john