cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L0X Restore Factory Default Calibration

Rkoons17
Associate II

Hello, is there a way (after applying a calibration such as offset calibration or crosstalk calibration) to return the sensor back to the default calibration that was performed at ST? If so, which I2C commands would perform this job?

4 REPLIES 4
John E KVAM
ST Employee

The VL53 sensors have no permanent memory. So to reset the chip back to orginal, all you have to do is drop the power. When it comes back up, you are back to original.

The calibration was correct when it left the factory. But experience has shown that reflowing the sensor changes the settings somewhat.

so offset re-calibration is suggested for best operation.

The crosstalk calibration is dependent on your coverglass, so that has to be done as well.

  • john

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'

Okay, Thanks! After performing said calibration (e.g. offset calibration) how do I save this new calibration as the default calibration? In other words, Is there a way to configure the sensor to use this new offset calibration (instead of the factory calibration) after power cycling the device, and without performing the offset calibration procedure after each and every power cycle?

Rkoons17
Associate II

@John E KVAM​  Please see the reply above. Thanks!

John E KVAM
ST Employee

look through the functions in the API. There will be something like get_Calibration and set_calibration. These two functions are the inverse of each other. They will enable you to extract the data and put it back. It's up to you to decide how and where to store it.

If you use the VL53 evaluation kit you can see how this works by going to to the calibration page.

  • john

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'