VL53L5 Status code 2, when there is no target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-20 8: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.
- Labels:
-
Time of flight
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-21 8: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.
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-21 8: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.
If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-24 6:32 AM
Thanks a lot, John! I follow your suggestion.
