Has anyone observed this (attached) behavior on VL53L0x?
- February 15, 2023
- 7 replies
- 3061 views
I'm collecting 100 samples on a 200ms timing budget and reporting the average once a minute, so if it's just one sample, it's high by what you see * 100. The behavior appears sensitive to the value for sensor.setSignalRateLimit(). I have it down from 0.25 (25kcps) to 0.025 (2.5kcps) for the bulk of the graph. For the right ~10% of the graph it is set to 0.005 (5kcps) to see if that reduces the frequency of occurrence.
With higher SignalRateLimit() settings, or the default value, I get more frequent and several levels of spike indicating that one or more readings are just some overflow value x.01, .02. .03 or .04, depending on whether the condition occurs 1, 2, 3,4 etc. times in 100 samples. I can deal with it at this point and have a useful system, but it's bugging me.
The L0X is installed in a ~half full steel 275V oil tank with zero ambient light and it has a cover with cross talk barrier.
I know that the 4CD would probably be better, and I am experimenting with at present, but the availability of breakout configurations is much more limited so that will be a mechanical problem.
If anyone knows what's going on here and how to mitigate it, I'm all ears. Thanks.

