VL53L5CX out of range values not returning to 0 for zones that are looking into open space areas, has anyone else seen this issue?
I’ve used the VL53L1X and found it to be very reliable, I obtained a few VL53L5CX the (Sparkfun Breakout version) for assessment to a particular project.
A similar issue has been logged on the Spark fun forum a couple of years ago without any resolution.
I’m not sure if this issue has been resolved with later firmware and I’m not sure if the issue is with the VL53L5CX firmware or the Spark fun Library? (but there hasn't been an update to the Sparkfun Lib in quite some time).
I don’t know of any other mulit-zoned ToF sensors like the VL53L5CX, so I really want to use this sensor for the project.
The locations that require this sensor, are large rooms, 4 meters x 4 meters or grater , the sensor would be mounted in an enclosure and sited to a fixed location at low level looking into the room.
when the sensor is first initialized the data returned for all zones that are out of range (greater than the sensors max read range) is 0 and this is not a problem. I think its was -1 with the VL53L1X…
(In the following images I’ve substituted the actual values for 0 & 1 just for simplicity.)
When a person appears within the sensor FOV and within range, the sensor then returns the range for the subject in view.
However, when the target subject moves out of the sensors range and field of view, the previous values remain. They don’t return to 0.
Zones that are within range do return to their pervious value.
I've tried all three of the sensors I have with the Sparkfun sample code and library and its the same for all three.
I’m assuming that the measurementData array isn’t being cleared prior to the next getRangingData and its just filling values that are present into the array??
Any help would be appreciated...
Thanks.
