2017-09-27 06:48 PM
I'm using a pololu's VL30L0X sensor.
during checking SNSR'S return value.sometimes I can see the 8190using a searching 8190 means nothing thing in the rangelike this can I get some return Value's meaning exaltlylike this 8191,8190....2017-09-28 06:20 AM
When using ST's API the status returns are:
0 - Range Valid Ranging measurement is valid
1 - Sigma Fail Sigma fail will trigger particularly in ambient light, when the amount of ambient
light is adding too much noise onto the ranging measurement.
2 - Signal Fail - Signal fail will trigger when the return signal is too low to give enough
confidence on the range measured. The limit will be given by either the signal
limit or the RIT (Range Ignore Threshold).
3 - Min Range Fail Not enabled as default.
4 - Phase Fail Phase fail will trigger when wraparound conditions are detected or when noise
on signal is too high.
5 - Hardware Fail Hardware Fail will trigger if a VCSEL failure, or VHV fail are detected.
255 No Update This error should not trigger.
But when using the Pololu, you may not get those status. But instead you get 8192 - which is 8191 MINUS the status number above. In this case 2 Signal Fail. I'm not completely sure this is always true, but I know it is for Errors 1 and 2.