12-06-2021 04:09 PM
Dear,
for a BMP388 sensor we get following readings:
P_raw: 8116928
T_raw: 10024192
---------------------------------------------------------------------------
reg_calib_data->par_t1: 27455
reg_calib_data->par_t2: 18744
reg_calib_data->par_t3 -10
reg_calib_data->par_p1: 202
reg_calib_data->par_p2: -2414
reg_calib_data->par_p3: 35
reg_calib_data->par_p4: 0
reg_calib_data->par_p5: 25214
reg_calib_data->par_p6: 30181
reg_calib_data->par_p7: -13
reg_calib_data->par_p8: -10
reg_calib_data->par_p9: 17093
reg_calib_data->par_p10: 19
reg_calib_data->par_p11: -60
-------------------------------------------------------
Now there is some questioning about the correct solution for compr_press & comp_temp.
One solution is:
- comp_press: 919.993000 hPa
- comp_temp: 51.97 °C
A second solution is:
- comp_press: 895.486273 hPa
- comp_temp: 51.976446 °C
Would you please be so kind to indicate the correct solution?
Thank you.
Solved! Go to Solution.
12-06-2021 08:01 PM
Hi,
Thanks for your inquiry.
According to the attached "sample_bmp388_calculation1.xlsx", your second solution is correct. Please use the latest BMP388 API at https://github.com/BoschSensortec/BMP3-Sensor-API to check if you can get the same results.
Thanks.
12-07-2021 08:09 AM
Thank you indeed.
12-13-2021 05:13 PM
One more hint.
After intense error searching it seems that a version issue might be a reason for the discrepancy.
- V1.1.3 was used to:
--> record the raw pressure and raw temperature data
--> calculate the compensated values (919.993hPa, solution one of the given example)
--> write both raw and comensated values into a data file
V2.0.5 was used to
--> read the data file
--> check the plausibility of the raw data ( 895.486 hPa, solution two of the given example)
Please confirm if solution one is still valid, if the API version V1.1.3 is used.
If the API version v1.1.3 MUST NOT BE USED AT ALL for any reason, please explain in detail.
Thank you very much.