cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1X Calibration reboot

will3
Associate III

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

 

3 REPLIES 3
will3
Associate III

Following up on myself......

Hope someone has an idea here :) 

Zhiyuan.Han
ST Employee

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


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.