Data Sheet

W Write custom VL53L0X config 0x57…
Write new VL53L0X configuration parameters.
Parameters are written in the following order: Signal Limit, Sigma Limit,
Time Budget, VCSEL Period selection. This command requires a sequence
of steps which are best understood by following the code from the tinyLiDAR
Terminal GUI sketch shown in Appendix A.
Host -> Sensor
Send Command
0x57 {W},
Signal Rate Limit in MCPS written as 100x the required value, {required
range is 0.00 to 65.00MCPS so have to write 0 to 6500 here}
Sigma Limit in mm,
Timing Budget in milliseconds (ms), {range is 20ms to 2000ms }
VCSEL Period selection, {choose either 18 or 14 here to signify which pair of
values you want to choose}
18 means:
“Pre-range VCSEL Period =
18
and Final-range VCSEL Period = 14”
14 means:
“Pre-range VCSEL Period =
14
and Final-range VCSEL Period = 10”
Example:
Set tinyLiDAR at the default address of 0x10 to the “High Accuracy”
configuration parameters:
Signal Limit = 0.25 MCPS, so write 100x 0.25 = 25 which is 0x0019
Sigma Limit = 18 mm, so write 0x12
Time Budget = 200 ms, so write 0x00c8
Pre-range VCSEL Period = 14, Final-range VCSEL Period = 10, so write 0x0e
<10:w> 57 00 19 12 00 c8 0e
Note that on the GUI Terminal this would be entered as:
w 25 18 200 14
tinyLiDAR Reference Manual rev1.26 18