cancel
Showing results for 
Search instead for 
Did you mean: 

Using the UltraLightDriver for VL53L1X in Arduino IDE, there is an important fluctuation of values even at low range - it increases with the range. Time budget used is 100ms, range is Long. What is the possible explanation for this?

IMIHN.1
Associate

orange -VL53L1X

blue - HCSR04

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

A couple dollar sensor really is not able to measure down the the few pico second accuracy one would need to get down to millimeters. So we use statistics. And with all statistical models there is going to be some variation. I'm going to guess that is what you are seeing. Increasing the timing budget can help, but you are still going to see some variance in the answers. Long term averaging of the data can also help.

  • john

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'

View solution in original post

1 REPLY 1
John E KVAM
ST Employee

A couple dollar sensor really is not able to measure down the the few pico second accuracy one would need to get down to millimeters. So we use statistics. And with all statistical models there is going to be some variation. I'm going to guess that is what you are seeing. Increasing the timing budget can help, but you are still going to see some variance in the answers. Long term averaging of the data can also help.

  • john

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'