cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to calibrate LPS22DF

Grandpa-G
Associate

I am using a python script to update the One Point Calibaration register 1Ah, 1Bh. I put values in but the resultant reading of the normal pressure registers in 28h, 29h, 2Ah are way off. Does anyone have a script that might show exactly how it is done. The script can be in about any computer langauge.

Are there any tricks to get this to work?

1 REPLY 1
Grandpa-G
Associate

A bit more information

 

Pressure @ 0hPa: 970.84 3976545 971.39 3978813.44 2268
2025-02-17 15:06:06.650062 Pressure: 829.04 3976545 3395750 -580795 [220, 8] 2268 Temperature: 36.03

 

The bold 970.84 is the value of the sensor with 0 calibration. The 971.39 is another sensor I am trying to compare against. The 2268 is raw value difference.

When I update the calibration registers with [220, 8] the resultant next sensor pressure measurement is 3395750, a huge [580795]  value different. I only expected a difference of about 2268.