2022-01-20 08:32 AM
Hello,
I have connected a "VL53L5 Satel" board to my Arduino nano BLE board, with modified example code. It works fine with: distance/motion indicator in 4 x 4, continuous mode, ranging frequency 1-10 Hz ( i tried different f). But it only works fine when all the zones have targets. If there is no target at all or partially have targets, I get status code 2 for some zones. the zone number with "Status 2" varies from scan to scan. The explanation of status 2 is " target phase". What does this mean? How to solve it? Thanks for your help!!
Solved! Go to Solution.
2022-01-21 08:25 AM
When there is no identifiable target the sensor tries to tell you why. The error 2 is saying the data is so inconsistent that the sensor cannot determine a distance.
But the lack of a target is not an error. You simply pointed the sensor to an area where there was no object within the ranging distance.
In some situations you can treat it as having a target at 4M - the maximum. But that's up to you.
All the sensor is telling you is that in that direction there was nothing close on which to range.
2022-01-21 08:25 AM
When there is no identifiable target the sensor tries to tell you why. The error 2 is saying the data is so inconsistent that the sensor cannot determine a distance.
But the lack of a target is not an error. You simply pointed the sensor to an area where there was no object within the ranging distance.
In some situations you can treat it as having a target at 4M - the maximum. But that's up to you.
All the sensor is telling you is that in that direction there was nothing close on which to range.
2022-01-24 06:32 AM
Thanks a lot, John! I follow your suggestion.