VL53L1X default value

Hi,
I try to use VL53L1X sensors as approach detectors with an Arduino Nano. There is a problem with large distances. The sensors seem to default to small range values when the maximum range is exceeded. Is there any possibility to let the sensor deliver large (maximum) range values when the maximum range is exceeded?

I think you have to look at the “range status” return value, and unless you get 0, i.e. “no errors”, the distance returned is meaningless. Range status 4 is “out of bounds”, which is what I interpret as being greater than maximum range. Page 17 of this manual defines all the possible range statuses.

1 Like

Thanks a lot. I think this is what I was searching for.