Skip to main content
Associate
December 6, 2024
Solved

How to use the driver parameter RangeMeanMilliMeter for VL53L3CX ranging?

  • December 6, 2024
  • 1 reply
  • 949 views

Hello everyone,

    Recently I tried to use VL53L3CX to accomplish a distance calculating project. When referencing the document of VL53L3CX I found a little strange about the distance parameter.    

    For example, the note of ranging capabilities table in the datasheet DS13204, shows that "The ranging distances reported are the ones reported by the driver by the parameter called RangeMilliMeter". While in the application note AN5561, it shows that "The ranging distances in the table below are those reported by the driver by the parameter called RangeMeanMilliMeter."    

    What I confused is: inside the API(VL53L3CX_BareDriver_1.2.10), I could not find the driver parameter named "RangeMeanMilliMeter".While "RangeMilliMeter" could be found in the structure VL53L3_RangingMeasurementData_t. So if there has any difference between these two parameters? If yes, how to use the parameter RangeMilliMeter and what's its definition? Thanks.

Best answer by John E KVAM

You found a bug in our documentation. They are the same. I will have someone remove the 'mean' from RangeMeanMilliMeter in the AN5561 document.

- john

1 reply

John E KVAM
John E KVAMBest answer
ST Employee
December 9, 2024

You found a bug in our documentation. They are the same. I will have someone remove the 'mean' from RangeMeanMilliMeter in the AN5561 document.

- john

Shadow77Author
Associate
December 10, 2024

Get it. Thanks for your sincerely help!