Skip to main content
JShim.2
Visitor II
January 22, 2021
Question

VL53L3CX : Usable range of "VL53LX_MAX_RANGE_RESULTS" parameter

  • January 22, 2021
  • 1 reply
  • 678 views

Hello,

I can find the "VL53LX_MAX_RANGE_RESULTS" parameter in "vl53lx_platform_user_config.h".

But I can't find the usable range of the "VL53LX_MAX_RANGE_RESULTS" parameter.

The documentation only mentions the default value 4.​

What is the usable range of the ​"VL53LX_MAX_RANGE_RESULTS" parameter?

Thanks.

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
January 22, 2021

The histogram driver is capable of resolving up to 4 targets.

This parameter is what defines this.

Practically it is extremely rare to be able to find 4 targets. Each target has to be a minimum of 80cm from each other, each has to return enough photons to be able to extract the signal. Generally either the first or second or third will cover the field of view, and thus covering the fourth target.

After doing the range, look for the number of targets. Use this and the range_status to determine if that that target can be used.

In theory you could lower this number to save a little space, but you don't save enough space to make it worth lowering the number.

- john