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

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.

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

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.