Electronic Components Datasheet Search
  English  ▼

X  

BMP388 Datasheet(PDF) 54 Page - Bosch Sensortec GmbH

Part # BMP388
Description  Digital pressure sensor
PDF  57 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  BOSCH [Bosch Sensortec GmbH]
Direct Link  https://www.bosch-sensortec.com
Logo BOSCH - Bosch Sensortec GmbH

BMP388 Datasheet(HTML) 54 Page - Bosch Sensortec GmbH

Back Button BMP388 Datasheet HTML 49Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 50Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 51Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 52Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 53Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 54Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 55Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 56Page - Bosch Sensortec GmbH BMP388 Datasheet HTML 57Page - Bosch Sensortec GmbH  
Zoom Inzoom in Zoom Outzoom out
 54 / 57 page
background image
Bosch Sensortec | BMP388 Datasheet
54 | 57
Modifications reserved |Data subject not change without notice | Printed in Germany
Document number: BST-BMEP388-DS001-01 Revision_1.1_032018
9. Appendix: Computation formulae reference implementation
The code below gives a provides a C implementation of the compensation algorithms discussed in Sec. 3.10.
The struct BMP388_calib_data is a structure, that contains the calibration coefficients. And the t_lin variable that carries a
temperature value over to the pressure compensation.
9.1.
Calibration coefficient
The calibration coefficents are stored as described in Table 22. The compensation formula is implemented in floating point.
Therefore the coefficient have to be converted into floating point numbers by the following formulas.
������������_����1 =
������������_������������_����1
2−8
������������_����2 =
������������_������������_����2
230
������������_����3 =
������������_������������_����3
248
������������_����1 =
������������_������������_����1 − 214
220
������������_����2 =
������������_������������_����2 − 214
229
������������_����3 =
������������_������������_����3
232
������������_����4 =
������������_������������_����4
237
������������_����5 =
������������_������������_����5
2−3
������������_����6 =
������������_������������_����6
26
������������_����7 =
������������_������������_����7
28
������������_����8 =
������������_������������_����8
215
������������_����9 =
������������_������������_����9
248
������������_����10 =
������������_������������_����10
248
������������_����11 =
������������_������������_����11
265
9.2.
Temperature compensation
static float BMP388_compensate_temperature(uint32_t uncomp_temp, struct BMP388_calib_data *calib_data)
{
float partial_data1;
float partial_data2;
partial_data1 = (float)(uncomp_temp calib_data->par_t1);
partial_data2 = (float)(partial_data1 * calib_data->par_t2);
/* Update the compensated temperature in calib structure since this is
* needed for pressure calculation */
calib_data->t_lin = partial_data2 + (partial_data1 * partial_data1) * calib_data->par_t3;
/* Returns compensated temperature */
return calib_data->t_lin;
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com