Explanation of VL53L0X_GetRangingMeasurementData() output
Hi,
We are currently in a project where we want to use the VL53L0X chip for ranging. And the example code with PC application seems to work quite good. the next step is to create a PoC using our own system (where we are now).
I am currently reading up on the sensor guidelines, API documentation and code examples and can't really explain the return values of the 'VL53L0X_GetRangingMeasurementData' function.
According to the documentation it returns the following:
RangeMilliMeter
RangeDMaxMilliMeter:
SignalRateRtnMegaCps
AmbientRateRtnMegaCps
EffectiveSpadRtnCount
RangeStatus:
I can explain the 'RangeMilliMeter', 'RangeDMaxMilliMeter' and 'RangeStatus' variables but the other ones i dont fully understand.
The code example says the following:
SignalRateRtnMegaCps:
/*!< Return signal rate (MCPS)\n these is a 16.16 fix point
* value, which is effectively a measure of target
* reflectance.
*/
AmbientRateRtnMegaCps
/*!< Return ambient rate (MCPS)\n these is a 16.16 fix point
* value, which is effectively a measure of the ambien
* t light.
*/
EffectiveSpadRtnCount;
/*!< Return the effective SPAD count for the return signal.
* To obtain Real value it should be divided by 256
*/
Is there documentation available explaining the effective/acceptable ranges of these variables and their functionality.
Wit kind regards,
Richard
