2025-01-14 03:57 AM - last edited on 2025-01-14 08:20 AM by Peter BENSCH
Hi,
We use the calibration ST APIs. The procedure we follow is run calibration and then reboot with the new offset. However, is there anyway to avoid having to reboot? We would like to auto calibrate in real time without a reboot if this is at all possible with this sensor. Additionally, we are moving to the CD sensor and would like to know if it is perhaps also possible with the CD.
Thanks,
Will
2025-01-17 08:24 AM
Following up on myself......
Hope someone has an idea here :)
2025-02-05 07:29 PM
Hi,
The offset calibration needs a fix target as reference, during real life usage, you can't know the target real distance, so it's not possible to do auto offset calibration in real time.
And after sensor reboot, the sensor will load default offset value, you need to set your calibrated offset value after device initialize.
I am not quite clear about the CD sensor, just make sure there is no 940nm IR light, as 940nm IR light will be the noise for VL53L1X.
Br
Zhiyuan.Han
2025-02-06 08:40 AM
In the API user manual for all the VL53 sensors is the calibration procedure.
Depending on your need for accuracy, you can do them or not.
If you have a consistent air gap between the sensor and your coverglass, you could do the crosstalk calibration on the first few off the production line and then use the worst of those measurements for your entire production run. It's not perfect, but it's pretty close.
For the offset you really should calibrate at the factory. It's easy enough and you only need a target some 14cm or so away. It only takes a second. Zhiyuan is correct here, this really has to be done at the factory with a known target distance.
Once you have the offset, combine it with your crosstalk and store it somewhere in your processor. At each boot, dump the calibration data into the sensor, and you are good to go.
- john