MULTIZONES_SCANNING preset mode: ambient value abnormal. What can be the cause?
Hi! My name is Vincenzo.
In the last week I devoted myself to study the example application written by ST for the ToF VL53L1 (VL53L1CB).
I was interested in being able to better understand the MULTIZONES_SCANNING mode. In the example, the field of view of the ToF is divided into 2 zones. Based on this, I am attempting to write an application similar to ST's 2D LIDAR. I would like to divide the FoV of the ToF into 9 zones.
At first I thought I had succeeded, but lately I noticed that periodically, some zones detect a particular high ambient value. The curious fact is that this "anomaly" of the ambient value seems to depend on the number in which the field of vision is divided. For example, if I divide it into 10 Zones instead of 9 I don't run into this anomaly. If I divide it into 8 I encounter the anomaly again, but it appears in a reduced form, but more frequently. In the most interesting case, the one in which I divide the FoV into 9 zones, I register ambient values that are about 5-6 times the value recorded by the other measurements.
In a terminal I printed the measurements and above all the AmbientPerSpad value.
Case 9 zones:
Case 10 zones:
As can be seen in the 9-zone case, the Ambient value is altered by 5 times every 3 measurement cycles. I posted 3 tests done in 3 environments with 3 different lighting. the factor 5 is noted in all 3 cases. Instead in the case with 10 zones, no alteration occurs.
What can be the cause?
If you need more information I can try to be clearer.
Thanks in advance,
Vincenzo
