cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1 returns 65XXX values

timothy0508
Associate II

I have multizone ranging mode enabled along with SHORT distance mode.

I am getting a lot of readings with 65XXX values, for example:

[8191, 65277, 65243, 65257, 65312, 65267, 65238, 65168, 65241, 65263, 65239, 65211, 65227, 8191, 65217, 65173, 65244]

[8191, 65297, 65250, 65251, 65317, 65231, 65233, 65173, 65247, 65266, 65236, 65211, 65218, 8191, 65212, 65223, 65227]

[8191, 65171, 65191, 65135, 1129, 1078, 1067, 1104, 1097, 994, 976, 1065, 1031, 1039, 1038, 1069, 1067]

I am aware of the 8191 error code, but what do the 65XXX values indicate?

Thanks

Tim

1 REPLY 1
John E KVAM
ST Employee

Thats an interesting one. The sensor can only give distances to about 4000mm that are meaningful. The 8192 minus the error number is how you get the 8191, but 65000 is not possible. It has to be something in the host code. 65257 decimal if FEE9 hex which might lead me to believe that the top bunch of bits indicate a negitive 2's complement value. FFFF-FEE9 = 116 hex or 278 decimal.

Please try an experiment were you place your hand close, and see if you get valid numbers, then start moving away and see what you get. Look for a pattern. If using your hand, you should get numbers between 0 an 500mm before you lose the signal and start getting 8191.

if that works try it with sheet of printer paper. You should get numbers to 1000 decimal before you lose the signal.

then look for a pattern.

  • john

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.