2021-10-04 10:14 AM
Is there any documentation how to setup the various threshold parameters? These are the macros defined in the vl53l5cx_plugin_detection_thresholds.h
#define VL53L5CX_DISTANCE_MM ((uint8_t)1U)
#define VL53L5CX_SIGNAL_PER_SPAD_KCPS ((uint8_t)2U)
#define VL53L5CX_RANGE_SIGMA_MM ((uint8_t)4U)
#define VL53L5CX_AMBIENT_PER_SPAD_KCPS ((uint8_t)8U)
#define VL53L5CX_NB_TARGET_DETECTED ((uint8_t)9U)
#define VL53L5CX_TARGET_STATUS ((uint8_t)12U)
#define VL53L5CX_NB_SPADS_ENABLED ((uint8_t)13U)
#define VL53L5CX_MOTION_INDICATOR
Some examples or documentation on setting these up would be helpful.
Thanks,
Barry
2021-10-06 12:15 PM
Barry -
I'm prepaing a slide set on the subject. Give me until Oct 7 please.
2021-10-06 03:16 PM
There are examples - but we hid them.
download:
STSW-IMG025 Linux driver for VL53L5CX multi-zone sensor
inside this block of code look for the \user\examples directory
You will see 11 examples and 3 of them deal with thresholds and motion indicators.
Example_9 and example_11 especially.
2021-10-06 11:10 PM
John-
I've been looking at those examples. I actually posted a question titled "Detection thresholds confusion" back on the 30th that had to do with Example 9 and changing the example to use an AND instead of an OR.
Thanks,
Barry