cancel
Showing results for 
Search instead for 
Did you mean: 

Can i get VL53L0X sensor’s error code table

hyeonghoon kim
Associate
Posted on September 28, 2017 at 03:48

I'm using a pololu's VL30L0X sensor.

during checking SNSR'S return value.

sometimes I can see the 8190

using a searching 8190 means nothing thing in the range

like this can I get some return Value's meaning exaltly

like this 8191,8190....
1 REPLY 1
John E KVAM
ST Employee
Posted on September 28, 2017 at 15:20

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.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question. It helps the next guy.