Skip to main content
IMIHN.1
Visitor II
July 5, 2021
Solved

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?

  • July 5, 2021
  • 1 reply
  • 1028 views

orange -VL53L1X

blue - HCSR04

This topic has been closed for replies.
Best answer by John E KVAM

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

1 reply

John E KVAM
John E KVAMBest answer
ST Employee
August 18, 2021

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