Datasheet docs

{ "mpn": "BME680" }

BME680

Low power gas, pressure, temperature & humidity sensor

Sensor

BME680 Low power gas, pressure, temperature & humidity sensor

BME680 – Datasheet

Document revision

Document release date

Document number

Technical reference code(s)

1.9

February 2024

Notes

BST-BME680-DS001-09

0 273 141 229; 0 273 141 312

Data and descriptions in this document are subject to change without notice. Product photos and pictures are for illustration purposes only and may differ from the real product appearance.

BME680

Low power gas, pressure, temperature & humidity sensor

The BME680 is a digital 4-in-1 sensor with gas, humidity, pressure and temperature measurement based on proven sensing principles. The sensor module is housed in an extremely compact metal-lid LGA package with a footprint of only 3.0 × 3.0 mm² with a maximum height of 1.00 mm (0.93 ± 0.07 mm). Its small dimensions and its low power consumption enable the integration in battery-powered or frequency-coupled devices, such as handsets or wearables.

Typical applications

• Indoor air quality

• Home automation and control

• Internet of things

• Weather forecast

• GPS enhancement (e.g. time-to-first-fix improvement, dead reckoning, slope detection)

• Indoor navigation (change of floor detection, elevator detection)

• Outdoor navigation, leisure and sports applications

• Vertical velocity indication (rise/sink speed)

Target Devices

• Handsets such as mobile phones, tablet PCs, GPS devices

• Wearables

• Home weather stations

• Smart watches

• Home appliances

• Navigation systems

• Gaming, e.g. flying toys

• IOT devices

Key features

• Package

3.0 mm x 3.0 mm x 0.93 mm metal lid LGA

• Digital interface

I²C (up to 3.4 MHz) and SPI (3 and 4 wire, up to 10 MHz)

• Supply voltage

VDD main supply voltage range: 1.71 V to 3.6 V

VDDIO interface voltage range: 1.2 V to 3.6 V

• Current consumption

2.1 µA at 1 Hz humidity and temperature

3.1 µA at 1 Hz pressure and temperature

3.7 µA at 1 Hz humidity, pressure and temperature

0.09‒12 mA for p/h/T/gas depending on operation mode

0.15 µA in sleep mode

• Operating range -40‒+85 °C, 0‒100% r.H., 300‒1100 hPa

• Individual humidity, pressure and gas sensors can be independently enabled/disabled

• The product is RoHS compliant, halogen-free, MSL1

Key parameters for gas sensor

• Response time $( \tau _ { 3 3 - 6 3 % } )$ < 1 s (for new sensors)

• Power consumption < 0.1 mA in ultra-low power mode

• Output data processing direct index for air quality (IAQ) output

Key parameters for humidity sensor

• Response time (�0−63%) ~8 s

• Accuracy tolerance ±3% r.H.

• Hysteresis ±1.5% r.H.

Key parameters for pressure sensor

• RMS Noise 0.12 Pa, equiv. to 1.7 cm

• Offset temperature coefficient ±1.3 Pa/K, equiv. to ±10.9 cm at 1 °C temperature change

Table of contents

  1. Specification 7
    1.1 General Electrical Specification....7
    1.2 Gas sensor specification....8
    1.3 Humidity sensor specification....10
    1.4 Pressure sensor specification....11
    1.5 Temperature sensor specification....12

  2. Absolute maximum ratings 13

  3. Sensor usage 14
    3.1 Sensor modes....14
    3.2 Sensor configuration....15
    3.2.1 Quick start....15
    3.2.2 Sensor configuration flow....16
    3.3 Measurement flow....17
    3.3.1 Temperature measurement....17
    3.3.2 Pressure measurement....18
    3.3.3 Humidity measurement....19
    3.3.4 IIR filter....21
    3.3.5 Gas sensor heating and measurement....21
    3.4 Data readout....22
    3.4.1 Gas sensor resistance readout....22

  4. Software and use cases 24
    4.1 BSEC software....24
    4.2 Indoor air quality....26

  5. Global memory map and register description 27
    5.1 General remarks 27
    5.2 Memory map 28
    5.3 Register description 29
    5.3.1 General control registers 29
    5.3.2 Temperature, pressure and relative humidity control registers 30
    5.3.3 Gas control registers 32
    5.3.4 Data registers 35
    5.3.5 Status registers 36

  6. Digital interfaces 38
    6.1 Interface selection 38
    6.2 I²C Interface 38
    6.2.1 I²C write 39
    6.2.2 I²C read 39
    6.3 SPI interface 40
    6.3.1 SPI write 40
    6.3.2 SPI read 41
    6.4 Interface parameter specification 41
    6.4.1 General interface parameters 41
    6.4.2 I²C timings 42
    6.4.3 SPI timings 43

  7. Pin-out and connection diagram 44
    7.1 Pin-out 44
    7.2 Connection diagrams 45
    7.3 Package dimensions 46
    7.4 Landing pattern recommendation 47
    7.5 Marking 48
    7.5.1 Mass production devices 48

7.5.2 Engineering samples....48
7.6 Soldering guidelines and reconditioning recommendations....49
7.7 Mounting and assembly recommendations....49
7.8 Environmental safety....50
7.8.1 RoHS....50
7.8.2 Halogen content....50
7.8.3 Internal package structure....50
8. Legal disclaimer 51
8.1 Engineering samples....51
8.2 Product use....51
8.3 Application examples and hints....51

9. Document history and modifications

1. Specification

If not stated otherwise,

• all values are valid over the full voltage range,

• all minimum/maximum values are given for the full accuracy temperature range

• minimum/maximum values of drifts, offsets and temperature coefficients are ±3 values over lifetime,

• typical values of currents and state machine timings are determined at $2 5 ^ { \circ } \mathsf C ,$

• minimum/maximum values of currents are determined using corner lots over complete temperature range, and

• minimum/maximum values of state-machine timings are determined using corner lots over $0 { \mathrm { - } } \mathrm { + } 6 5 ^ { \circ } \mathrm { C }$ temperature range.

Besides the general electrical specifications, the following tables are separated for the gas, pressure, humidity and temperature functions of the BME680.

1.1 General Electrical Specification

Table 1: Electrical parameter specification

OPERATING CONDITIONS BME680
ParameterSymbolConditionMinTypMaxUnit
Supply Voltage Internal Domains1 $V_{DD}$ ripple max. 50 mVpp1.711.83.6V
Supply Voltage I/O Domain $V_{DDIO}$ 1.21.63.6V
Sleep current $I_{DDSL}$ 0.151μA
Standby current (inactive period of normal mode) $I_{DDSB}$ 0.290.8μA
Current during humidity measurement $I_{DDH}$ Max value at 85 °C340450μA
Current during pressure measurement $I_{DDP}$ Max value at -40 °C714849μA
Current during temperature measurement $I_{DDT}$ Max value at 85 °C350μA
Start-up time $t_{startup}$ Time to first communication after both $V_{DD} > 1.58$ V and $V_{DDIO} > 0.65$ V2ms
Power supply rejection ratio (DC)PSRRfull $V_{DD}$ range±0.01 ±5%r.H./V Pa/V
Standby time accuracy $\Delta t_{standby}$ ±5±25%

1.2 Gas sensor specification

Table 2 lists the gas sensor specification. All the parameters are deduced from lab measurements under controlled environmental conditions, which are compliant to the ISO16000-29 standard “Test methods for VOC detectors”. Detailed procedure to measure the gas sensor is available in the Application Note AN012: Measurement Instructions for Lab Environment.

Referring to Chapter 4, a software solution (BSEC: Bosch Software Environmental Cluster) is available for the BME680. The software is carefully engineered to seamlessly work with the 4-in-1 integrated sensors inside the BME680. Based on an intelligent algorithm, the BSEC provides an index for air quality (IAQ) output. In principle, this output is in an index that can have values between 0 and 500 with a resolution of 1 to indicate or quantify the quality of the air available in the surrounding. Table 4 lists the IAQ system specification. The detailed classification and color coding of the IAQ index is described in Table 4. Furthermore, the BSEC solution supports different operation modes for the gas sensor to address the necessary power budget and update rate requirements of the end-application.

Unless mentioned otherwise, the specifications are deduced from new sensors that have been operated for at least five days mainly in ambient air and consequently have the same history (i.e. same power mode and exposed to the same environment).

Besides ethanol (EtOH) as a target test gas, the sensors are also tested with breath-VOC (b-VOC). The b-VOC mixture, as listed in Table 5, represents the most important compounds in an exhaled breath of healthy humans. The values are derived from several publications on breath analysis studies. The composition does not contain species which would chemically reac to ensure that the mixture is stable for at least 6 months. Furthermore, the composition is also limited to species which can be manufactured in one mixture.

Table 2: Gas sensor parameter specification

ParameterSymbolConditionMinTypMaxUnit
Operational range1-4085°C
1095% r.H.
Supply Current during heater operation $I_{DD}$ Heater target temperature 320 °C, constant operation ( $V_{DD} \leq 1.8 \text{ V}, 25°C$ )91213mA
Peak Supply Current $I_{Peak}$ Occurs within first ms of switching on the hotplate151718mA
Average Supply Current( $V_{DD} \leq 1.8 \text{ V}, 25°C$ ) $I_{DD,IAQ}$ Ultra-low power mode0.09mA
Low power mode0.9mA
Continuous mode12mA
Response time2 (brand-new sensors)τ33-63%Ultra-low power mode92s
τ33-63%Low power mode1.4s
τ33-63%Continuous mode0.75s
Resolution of gas sensor resistance measurement0.050.080.11%
Noise in gas sensor resistance (RMS) $N_R$ 1.5%

Table 3: IAQ system parameter specification3

ParameterSymbolConditionMinTypMaxUnit
$Accuracy\ status^4$ $AX_{IAQ}$ Android compatible03
IAQ Resolution $IAQ_{rs}$ 1
IAQ Range $IAQ_{rg}$ 0500
$Sensor-to-sensor\ deviation^5$ $IAQ_{S2S}$ All operation modes±15% ±15
$Durability\ to\ siloxanes^{6,7,8}$ $IAQ_{S2S}$ Sensor-to-sensor deviation±15% ±15
$IAQ_{drift}$ Drift at low &amp; high concentrations±1% ±4

Table 4: Index for Air Quality (IAQ) classification and color-coding9

IAQ IndexAir QualityImpact (long-term exposure)Suggested action
0 – 50ExcellentPure air; best for well-beingNo measures needed
51 – 100GoodNo irritation or impact on well-beingNo measures needed
101 – 150Lightly pollutedReduction of well-being possibleVentilation suggested
151 – 200Moderately pollutedMore significant irritation possibleIncrease ventilation with clean air
201 – 250Heavily pollutedExposition might lead to effects like headache depending on type of VOCsoptimize ventilation
251 – 350Severely pollutedMore severe health issue possible if harmful VOC presentContamination should be identified if level is reached even w/o presence of people; maximize ventilation &amp; reduce attendance
&gt;351Extremely pollutedHeadaches, additional neurotoxic effects possibleContamination needs to be identified; avoid presence in room and maximize ventilation

Table 5: bVOC mixture with Nitrogen as carrier gas

Molar fractionCompoundProduction toleranceCertified accuracy
5 ppmEthane20 %5 %
10 ppmIsoprene /2-methyl-1,3 Butadiene20 %5 %
10 ppmEthanol20 %5 %
50 ppmAcetone20 %5 %
15 ppmCarbon Monoxide10 %2 %

1.3 Humidity sensor specification

Table 6: Humidity parameter specification

ParameterSymbolConditionMinTypMaxUnit
$Operating\ Range^{10}$ -402585°C
0100% r.H.
Full accuracy range065°C
1090% r.H.
Supply Current $I_{DD,H}$ 1 Hz forced mode, temperature and humidity measurement2.12.8μA
Absolute Accuracy $A_H$ 20–80 % r.H., 25 °C, including hysteresis±3% r.H.
$Hysteresis^{11}$ $H_H$ 10→90→10 % r.H., 25°C±1.5% r.H.
Nonlinearity $NL_H$ 10→90 % r.H., 25°C1.7% r.H.
Response time to complete 63% of $step^{12}$ τ0-63% $N_2 (dry) \rightarrow 90 \% r.H., 25°C$ 8s
Resolution $R_H$ 0.008% r.H.
Noise in humidity (RMS) $N_H$ Highest oversampling0.01% r.H.
Long-term stability $ΔH_{stab}$ 10–90 % r.H., 25°C0.5% r.H./year

1.4 Pressure sensor specification

Table 7: Pressure parameter specification

ParameterSymbolConditionMinTypMaxUnit
Operating temperature range $T_A$ operational-402585°C
full accuracy065
Operating pressure rangePfull accuracy3001100hPa
Supply current $I_{DD,LP}$ 1 Hz forced mode, pressure and temperature, lowest power3.14.2μA
Temperature coefficient of $offset^{13}$ $TCOP$ 25–40 °C, 900 hPa±1.3Pa/K
±10.9cm/K
Absolute accuracy pressure $A_p, full$ 300–1100 hPa0–65°C±0.6hPa
Relative accuracy pressure $A_{rel}$ 700–900hPa,25–40 °C, at constant humidity±0.12hPa
$A_{rel}$ 900–1100hPa25–40 °C, at constant humidity±0.12hPa
Resolution of pressure output data $R_P$ Highest oversampling0.18Pa
Noise in pressure $N_{P,fullBW}$ Full bandwidth, highest oversampling1.4Pa
11cm
Reduced bandwidth, highest oversampling0.2Pa
1.7cm
Solder driftMinimum solder height 50μm-0.51.2+2.0hPa
Long-term stability $^{14}$ $P_{stab}$ per year±1.0hPa
Possible sampling rate $f_{sample\_P}$ Lowest oversampling, see chapter 3.3.2157182Hz

1.5 Temperature sensor specification

Table 8: Temperature parameter specification

ParameterSymbolConditionMinTypMaxUnit
Operating temperature range $T_A$ operational-402585°C
Supply current $I_{DD,T}$ 1 Hz forced mode, temperature measurement only1.0μA
Absolute accuracy $temperature^{15}$ $A_{T,25}$ 25 °C±0.5°C
$A_{T,full}$ 0–65 °C±1.0°C
Output resolution $R_T$ API output resolution0.01°C
RMS noise $N_T$ Lowest oversampling0.005°C

2. Absolute maximum ratings

The absolute maximum ratings are determined over the complete temperature range using corner lots. The values are provided in Table 9.

Table 9: Absolute maximum ratings

ParameterConditionMinMaxUnit
Voltage at any supply pin $V_{DD}$ and $V_{DDIO}$ pin-0.34.25V
Voltage at any interface pin-0.3 $V_{DDIO} + 0.3$ V
Storage temperature≤ 65% r.H.-45+85°C
Pressure020 000hPa
ESDHBM, at any pin±2kV
Machine model±200V

3. Sensor usage

3.1 Sensor modes

The sensor supports low-level power modes: sleep and forced mode. These modes can be selected using the mode<1:0> control register (see Section 5.3.1.3). The key differences between the modes are summarized in Table 10.

After a power-up sequence, the sensor automatically starts in sleep mode. If the device is currently performing a measurement, execution of mode switching commands is delayed until the end of the currently running measurement period. It is important to note that, further mode change commands or other write commands to the control registers are ignored unti the mode change command has been executed. All control registers should be set to the desired values before writing to the mode register.

Table 10: Low-level operation modes

Operation modemode&lt;1:0&gt;Key features
Sleep00No measurements are performedMinimal power consumption
Forced mode01Single TPHG cycle is performedSensor automatically returns to sleep mode afterwardsGas sensor heater only operates during gas measurement

In forced mode, temperature, pressure, humidity and gas conversion are performed sequentially. Such a measurement cycle is abbreviated as TPHG (Temperature, Pressure, Humidity and Gas) in the following descriptions. Up to 10 temperature setpoints and heating durations for the gas sensor hot plate can be stored in the sensor registers. In the following, these set points and the corresponding measurements are identified as $\mathsf { G } _ { 0 } - \mathsf { G } _ { 9 } .$ .Figure 1 illustrates the handling of these measurement sequences and the gas sensor hot plate is heated for the forced mode.


Figure 1: Sequence of ADC and gas sensor heater operation

3.2 Sensor configuration

3.2.1 Quick start

The sensor is configured by writing to a set of control registers (see Chapter 5 for a detailed list of all available registers and their descriptions). This section illustrates, with the help of a basic step-by-step example, how to configure the sensor for simple forced mode measurements with a single heater set-point. For a more detailed description of the measurement flow, please refer to Section 3.3.

In this example, the sensor will be configured to use 2x oversampling for its temperature measurements, 16x oversampling for the pressure signal, and 1x oversampling for humidity. Moreover, the gas sensor hot plate will be configured to be heated for 100 ms at $3 0 0 ^ { \circ } \mathsf { C }$ before the gas measurement is performed.

First, the user must configure the oversampling settings for temperature, pressure and humidity by setting the control registers osrs_t<2:0> and osrs_h<2:0>, respectively. Supported settings range from 16x oversampling down to 0x, which is equivalent to skipping the corresponding sub-measurement. See Section 5.3.2 for further details.

  1. Set humidity oversampling to 1x by writing 0b001 to osrs_ $h { < } 2 { : } 0 { > }$

  2. Set temperature oversampling to 2x by writing 0b010 to osrs $t { < } 2 { : } 0 >$

  3. Set pressure oversampling to 16x by writing 0b101 to osrs $\ J { < } 2 { : } 0 { > }$

It is highly recommended to set first osrs_h<2:0> followed by osrs_t<2:0> and osrs $\ J { < } 2 { : } 0 { > }$ in one write command (see Section 3.3).

Next, the user shall set at least one gas sensor hot plate temperature set-point and heating duration. Up to 10 heating duration can be configured through the control registers gas_wait $. x { < } 7 { : } 0 >$ , where x ranges from 0 to 9. See Section 5.3.3 for definition of register content. The corresponding heater set-points are stored in the registers res_heat_x<7:0>. Section 3.3.5 explains how to convert the target heater temperature, e.g. $3 0 0 ^ { \circ } \mathsf C$ , into a register code. For forced mode operation, the used heater set point is selected by setting the control register nb_conv<3:0> to the heater profile to be used, e.g. to use gas_wait_0<7:0> and res_heat_0<7:0>, nb_conv<3:0> shall be set to 0x0. Finally, gas functionality shall be enabled by setting the run_gas_l bit to 1.

  1. Set gas_wait_0<7:0> to 0x59 to select 100 ms heat up duration

  2. Set the corresponding heater set-point by writing the target heater resistance to res_heat_0<7:0>

  3. Set nb_conv<3:0> to 0x0 to select the previously defined heater settings

  4. Set run_gas_l to 1 to enable gas measurements

Now, a single forced mode measurement with the above settings can be triggered by writing 0b01 to mode<1:0>. For more details on data readout, please see Section 5.3.1.3.

  1. Set mode<1:0> to 0b01 to trigger a single measurement.

3.2.2 Sensor configuration flow

Picture 2 illustrates which control registers must be set. For details on the individual control registers, please refer to Chapter 5. Moreover, details on the measurement flow for the individual modes can be found in Section 3.3.


Picture 2: Sensor configuration flow

3.3 Measurement flow

Referring to Figure 1, the BME680 measurement period consists of a temperature, pressure and humidity measurement with selectable oversampling. Moreover, it contains a heating phase for the gas sensor hot plate as well as a measurement of the gas sensor resistance.

After the measurement period, the pressure and temperature data can be passed through an optional IIR filter, which removes short-term fluctuations. For humidity and gas, such a filter is not needed and has not been implemented.

3.3.1 Temperature measurement

Temperature measurement can be enabled or skipped. Skipping the measurement is typically not recommended since temperature information is used to compensate temperature influences in the other parameters. When enabled, severa oversampling options exist. The temperature measurement is controlled by the osrs_t<2:0> setting which is detailed in Section 5.3.2.2. For the temperature measurement, oversampling is possible to reduce the noise. The resolution of the temperature data depends on the IIR filter (see Section 5.3.2.4) and the oversampling setting:

• When the IIR filter is enabled, the temperature resolution is 20 bit

• When the IIR filter is disabled, the temperature resolution is 16 + (osrs_t – 1) bit, e.g. 18 bit when osrs_t is set to ‘3’

Using the variables listed in Table 11, the following code will calculate the compensated temperature value (in degrees Celsius). It is, however, recommended to use the sensor API available on github (Chapter 4) for a friendlier user experience.

Floating point:

var1 = (((double)temp_adc / 16384.0) - ((double)par_t1 / 1024.0)) * (double)par_t2;
var2 = (((double)temp_adc / 131072.0) - ((double)par_t1 / 8192.0)) *
    (((double)temp_adc / 131072.0) - ((double)par_t1 / 8192.0))) *
    ((double)par_t3 * 16.0);
t_fine = var1 + var2;
temp_comp = t_fine / 5120.0;

Integer:

var1 = ((int32_t)temp_adc >> 3) - ((int32_t)par_t1 << 1);
var2 = (var1 * (int32_t)par_t2) >> 11;
var3 = (((var1 >> 1) * (var1 >> 1)) >> 12) * ((int32_t)par_t3 << 4)) >> 14;
t_fine = var2 + var3;
temp_comp = ((t_fine * 5) + 128) >> 8;

where

• par_t1, par_t2 and par_t3 are calibration parameters,

• temp_adc is the raw temperature output data,

• temp_comp is the compensated temperature output data in degrees Celsius.

Table 11: Variable names and register addresses for temp_comp calculation

Variable nameRegister address (LSB / MSB)
par_t10xE9 / 0xEA
par_t20x8A / 0x8B
par_t30x8C
temp_adc0x24&lt;7:4&gt; / 0x23 / 0x22

3.3.2 Pressure measurement

Pressure measurement can be enabled or skipped. When enabled, several oversampling options exist. The pressure measurement is controlled by the osrs_p<2:0> setting which is detailed in Section 5.3.2. For the pressure measurement, oversampling is possible to reduce noise. The resolution of the pressure data depends on the IIR filter (see Section 5.3.2.4) and the oversampling setting:

• When the IIR filter is enabled, the pressure resolution is 20 bit

• When the IIR filter is disabled, the pressure resolution is 16 + (osrs_p – 1) bit, e.g. 18 bit when osrs_p is set to ‘3’

Using the variables listed in Table 12, the following code will calculate the compensated pressure value (in Pascal). It is, however, recommended to use the sensor API available on github (Chapter 4) for a friendlier user experience.

Floating point:
var1 = ((double)t_fine / 2.0) - 64000.0;
var2 = var1 * var1 * ((double)par_p6 / 131072.0);
var2 = var2 + (var1 * (double)par_p5 * 2.0);
var2 = (var2 / 4.0) + ((double)par_p4 * 65536.0);
var1 = (((double)par_p3 * var1 * var1) / 16384.0) +
((double)par_p2 * var1)) / 524288.0;
var1 = (1.0 + (var1 / 32768.0)) * (double)par_p1;
press_comp = 1048576.0 - (double)press_adc;
press_comp = ((press_comp - (var2 / 4096.0)) * 6250.0) / var1;
var1 = ((double)par_p9 * press_comp * press_comp) / 2147483648.0;
var2 = press_comp * ((double)par_p8 / 32768.0);
var3 = (press_comp / 256.0) * (press_comp / 256.0) *
(press_comp / 256.0) * (par_p10 / 131072.0);
press_comp = press_comp + (var1 + var2 + var3 +
((double)par_p7 * 128.0)) / 16.0;

Integer:
var1 = ((int32_t)t_fine >> 1) - 64000;
var2 = (((var1 >> 2) * (var1 >> 2)) >> 11) * (int32_t)par_p6) >> 2;
var2 = var2 + ((var1 * (int32_t)par_p5) << 1);
var2 = (var2 >> 2) + ((int32_t)par_p4 << 16);
var1 = (((((var1 >> 2) * (var1 >> 2)) >> 13) *
((int32_t)par_p3 << 5)) >> 3) + (((int32_t)par_p2 * var1) >> 1);
var1 = var1 >> 18;
var1 = ((32768 + var1) * (int32_t)par_p1) >> 15;
press_comp = 1048576 - press_raw;
press_comp = (uint32_t)((press_comp - (var2 >> 12)) * ((uint32_t)3125));
if (press_comp >= (1 << 30))
    press_comp = ((press_comp / (uint32_t)var1) << 1);
else
    press_comp = ((press_comp << 1) / (uint32_t)var1);
var1 = ((int32_t)par_p9 * (int32_t)((press_comp >> 3) * (press_comp >> 3)) >> 13)) >> 12;
var2 = ((int32_t)(press_comp >> 2) * (int32_t)par_p8) >> 13;
var3 = ((int32_t)(press_comp >> 8) * (int32_t)(press_comp >> 8) * (int32_t)(press_comp >> 8) * (int32_t)par_p10) >> 17;
press_comp = (int32_t)(press_comp) + ((var1 + var2 + var3 + ((int32_t)par_p7 << 7)) >> 4);

where

$p a r _ { - } p 1 , p a r _ { - } p 2 , . . . , p a r _ { - } p 1 0$ are calibration parameters,

• press_adc is the raw pressure output data,

• press_comp is the compensated pressure output data in Pascal.

Table 12: Variable names and register addresses for press_comp calculation

Variable nameRegister address (LSB / MSB)
par_p10x8E / 0x8F
par_p20x90 / 0x91
par_p30x92
par_p40x94 / 0x95
par_p50x96 / 0x97
par_p60x99
par_p70x98
par_p80x9C / 0x9D
par_p90x9E / 0x9F
par_p100xA0
press_adc0x21&lt;7:4&gt; / 0x20 / 0x1F

3.3.3 Humidity measurement

The humidity measurement can be enabled or skipped. When enabled, several oversampling options exist. The humidity measurement is controlled by the osrs_h<2:0> setting, which is described in detail in Section 5.3.2.1. For the humidity measurement, oversampling is possible to reduce noise. The resolution of the humidity measurement is fixed at 16 bit ADC output.

Using the variables listed in Table 13, the following code will calculate the compensated humidity value (in percent). It is, however, recommended to use the sensor API available on github (Chapter 4) for a friendlier user experience.

Floating point:
var1 = hum_adc - (((double)par_h1 * 16.0) + (((double)par_h3 / 2.0) * temp_comp));
var2 = var1 * (((double)par_h2 / 262144.0) * (1.0 + (((double)par_h4 / 16384.0) * temp_comp) + (((double)par_h5 / 1048576.0) * temp_comp * temp_comp)));
var3 = (double)par_h6 / 16384.0;
var4 = (double)par_h7 / 2097152.0;
hum_comp = var2 + ((var3 + (var4 * temp_comp)) * var2 * var2);

Integer:
temp_scaled = (int32_t)temp_comp;
var1 = (int32_t)hum_adc - (int32_t)((int32_t)par_h1 << 4) - ((temp_scaled * (int32_t)par_h3) / ((int32_t)100)) >> 1);
var2 = ((int32_t)par_h2 * (((temp_scaled * (int32_t)par_h4) / ((int32_t)100)) + ((temp_scaled * ((temp_scaled * (int32_t)par_h5) / ((int32_t)100))) >> 6) / ((int32_t)100)) + ((int32_t)(1 << 14)))) >> 10;
var3 = var1 * var2;
var4 = (((int32_t)par_h6 << 7) + ((temp_scaled * (int32_t)par_h7) / ((int32_t)100))) >> 4;
var5 = ((var3 >> 14) * (var3 >> 14)) >> 10;
var6 = (var4 * var5) >> 1;
hum_comp = (((var3 + var6) >> 10) * ((int32_t) 1000)) >> 12;

where

$p a r _ { - } h \mathscr { 1 } , p a r _ { - } h \mathscr { 2 } , . . . , p a r _ { - } h \mathscr { 7 }$ are calibration parameters,

• hum_adc is the raw humidity output data,

• hum_comp is the compensated humidity output data in percent.

Table 13: Variable names and register addresses for hum_comp calculation

Variable nameRegister address (LSB / MSB)
par_h10xE2&lt;3:0&gt; / 0xE3
par_h20xE2&lt;7:4&gt; / 0xE1
par_h30xE4
par_h40xE5
par_h50xE6
par_h60xE7
par_h70xE8
hum_adc0x26 / 0x25

3.3.4 IIR filter

The environmental pressure is subject to many short-term changes, caused external disturbances. To suppress disturbances (e.g. slamming of door or wind blowing into the sensor) in the output data without causing additional interface traffic and processor work load, the BME680 features an internal IIR filter (see Section 5.3.2.4). It effectively reduces the bandwidth of the temperature and pressure output signals and increases the resolution of the output data to 20 bit, noting that the humidity and gas values inside the sensor does not fluctuate rapidly and does not require low pass filtering. The output of a next measurement step is filtered using the following formula:

$$
x _ {f i l t} [ n ] = \frac {x _ {f i l t} [ n - 1 ] \cdot (c - 1) + x _ {A D C}}{c}
$$

$x _ { f i l t } [ n - 1 ]$ is the data coming from the current filter memory, and $x _ { A D C }$ is the data coming from current ADC acquisition. $x _ { f i l t } [ n ]$ denotes the new value of filter memory and the value that will be sent to the output registers.

The IIR filter can be configured to different filter coefficients, which slows down the response to the sensor inputs. Note that the response time with enabled IIR filter depends on the number of samples generated, which means that the data output rate must be known to calculate the actual response time.

When writing to the register filter, the filter is reset. The next ADC values will pass through the filter unchanged and become the initial memory values for the filter. If temperature or pressure measurements are skipped, the corresponding filter memory will be kept unchanged even though the output registers are set to 0x80000. When the previously skipped measurement is re-enabled, the output will be filtered using the filter memory from the last time when the measurement was not skipped. If this is not desired, please write to the filter register in order to re-initialize the filter.

3.3.5 Gas sensor heating and measurement

The operation of the gas sensing part of BME680 involves two steps:

  1. Heating the gas sensor hot plate to a target temperature (typically between $2 0 0 ~ ^ { \circ } \mathsf C$ and $4 0 0 ~ ^ { \circ } \mathrm { C } )$ and keep that temperature for a certain duration of time.

  2. Measuring the resistance of the gas sensitive layer.

Up to 10 different hot plate temperature set points can be configured by setting the registers res_heat $. x { < } 7 { : } 0 >$ , where $\textsf { x } =$ 0…9 .The internal heater control loop operates on the resistance of the heater structure. Hence, the user first needs to convert the target temperature into a device specific target resistance before writing the resulting register code into the sensor memory map.

Using the variables listed Table 14: Variable names and register addresses for res_heat_x calculation, the following code will calculate register code that to be written to res_heat_ $x { < } 7 { : } 0 >$ . It is, however, recommended to use the sensor AP available on github (Chapter 4) for a friendlier user experience.

Floating point:
var1 = ((double)par_g1 / 16.0) + 49.0;
var2 = (((double)par_g2 / 32768.0) * 0.0005) + 0.00235;
var3 = (double)par_g3 / 1024.0;
var4 = var1 * (1.0 + (var2 * (double) target_temp));
var5 = var4 + (var3 * (double)amb_temp);
res_heat_x = (uint8_t)(3.4 * ((var5 * (4.0 / (4.0 + (double)res_heat_range)) * (1.0/(1.0 + ((double)res_heat_val * 0.002)))) - 25));
Integer:
var1 = (((int32_t)amb_temp * par_g3) / 10) << 8;
var2 = (par_g1 + 784) * (((((par_g2 + 154009) * target_temp * 5) / 100) + 3276800) / 10);
var3 = var1 + (var2 >> 1);
var4 = (var3 / (res_heat_range + 4));
var5 = (131 * res_heat_val) + 65536;
res_heat_x100 = (int32_t)(((var4 / var5) - 250) * 34);
res_heat_x = (uint8_t)((res_heat_x100 + 50) / 100);

where

$p a r _ { - } g 1 , p a r _ { - } g 2$ , and $p a r _ g 3$ are calibration parameters,

• target_temp is the target heater temperature in degree Celsius,

• amb_temp is the ambient temperature (hardcoded or read from temperature sensor),

• var5 is the target heater resistance in Ohm,

• res_heat_x is the decimal value that needs to be stored in register, where ‘x’ corresponds to the temperature profile number between 0 and 9,

• res_heat_range is the heater range stored in register address 0x02 <5:4>, and • res_heat_val is the heater resistance correction factor stored in register address 0x00 (signed, value from -128 to 127).

Table 14: Variable names and register addresses for res_heat_x calculation

Variable nameRegister address (LSB / MSB)
par_g10xED
par_g20xEB/0xEC
par_g30xEE
res_heat_range0x02 &lt;5:4&gt;
res_heat_val0x00

For each of the 10 temperature set-points, the heating duration must be specified. Referring to Figure 1, the heating phase starts after the temperature, pressure and humidity measurements are complete. This means there is no heating in parallel to these measurements, which is desirable to minimize undesired cross-influences between the various sensor components.

The heating duration is specified by writing to the corresponding gas_wait_x<7:0> control register. Heating durations between 1 ms and 4032 ms can be configured. In practice, approximately 20–30 ms are necessary for the heater to reach the intended target temperature.

3.4 Data readout

The procedure goes as follows, the new_data_x bit (see Section 5.3.5.1) can be checked to see if a new data is generated. If gas measurements are performed the gas_valid_r (see Section 5.3.5.5) and heat_stab_r (see Section 5.3.5.6) status bits of the respectively field should be checked to ensure that the gas measurement was successful. If heat_stab_r is zero, it indicates that either the heating time was not sufficient to allow the sensor to reach to configured target temperature or that the target temperature was too high for the sensor to reach.

After the uncompensated values of temperature, pressure and humidity have been read, the actual humidity, pressure and temperature need to be calculated using the compensation parameters stored in the device. Please refer to the BME6xy AP for more details.

3.4.1 Gas sensor resistance readout

Readout of gas sensor resistance ADC value and calculation of gas sensor resistance consists of 3 steps

  1. Read gas ADC value (gas_adc) and gas ADC range (gas_range) (see Section 5.3.4)

  2. Read range switching error from register address 0x04 <7:4> (signed 4 bit)

  3. Convert ADC value into gas sensor resistance in ohm

Using the variables listed in Table 15 and Table 16, the conversion is done as follows:

Floating point:

var1 = (1340.0 + 5.0 * range_switching_error) * const_array1[gas_range];

gas_res = var1 * const_array2[gas_range] / (gas_adc - 512.0 + var1);

Integer:

((int64_t)const_array1_int[gas_range])) >> 16);

$$
\text { int64_t var2 } = (\text { int64_t }) (\text { gas_adc } < < 1 5) - (\text { int64_t }) (1 < < 2 4) + \text { var1 };
$$

$$
\begin{array}{l} \text {int32_t gas_res = (int32_t)((((int64_t)(const_array2_int[gas_range] * (int64_t)var1) >> 9) + (var2 >>} \ \text {1)) / var2);} \end{array}
$$

where

• gas_adc is the raw gas sensor resistance output data (i.e. ADC value),

• gas_range is the ADC range of the measured gas sensor resistance,

• range_switching_error is a calibration parameter,

• gas_res is the compensated gas sensor resistance output data in Ohms.

Table 15: Variable names and register addresses for gas_res calculation

Variable nameRegister address (LSB / MSB)
gas_adc0x2B&lt;7:6&gt; / 0x2A
gas_range0x2B&lt;3:0&gt;
range_switching_error0x04

Table 16: List of gas ranges and corresponding constants used for the resistance calculation

gas_range_rConstants to be integrated into the driver
Floating pointInteger
const_array1const_array2const_array1_intconst_array2_int
01800000021474836474096000000
11400000021474836472048000000
21200000021474836471024000000
3110000002147483647512000000
41499500.49952147483647255744255
50.99248262.16482126008810127110228
61125000214748364764000000
70.99263004.03226213030377732258064
8131281.28128214748364716016016
911562521474836478000000
100.9987812.521431886794000000
110.9953906.2521367462282000000
1211953.12521474836471000000
130.99976.56252126008810500000
141488.281252147483647250000
151244.1406252147483647125000

4. Software and use cases

4.1 BSEC software

BME680 sensor is intended to be used together with Bosch Software Environmental Cluster (BSEC) solution and BME6xy sensor API to unlock its full potential. The BSEC software features intelligent algorithms which enable use cases such as indoor-air-quality monitoring using the BME680.

Bosch Sensortec BSEC software is available as a closed source binary which will be made available via a Software License Agreement (SLA) on the Bosch Sensortec website (https://www.bosch-sensortec.com/bst/products/all\_products/BSEC). Sensor API covers basic sensor communication and data compensation functions and is available as open-source code from Github (https://github.com/BoschSensortec/BME68x-Sensor-API).

The key features of the hardware-software system are:

• Calculation of ambient air temperature outside of the device (e.g. phone)

• Calculation of ambient relative humidity outside of the device

• Calculation of index for air quality (IAQ) level outside of the device

Moreover, the software algorithms handle humidity compensation, baseline as well as long-term drift correction of the gas sensor signal.

Different power modes for the gas sensor and corresponding data rates are supported by the software solution:

Ultra low power (ULP) mode is designed for battery-powered and/or frequency-coupled devices over extended periods of time. This mode features an update rate of 300 seconds and an average current consumption of <0.1 mA Quick Ultra-low power (q-ULP) has a 3 s data rate for Temperature, pressure and humidity w/o significantly increasing the power consumption compared to ULP.

• Low power (LP) mode that is designed for interactive applications where the air quality is tracked and observed at a higher update rate of 3 seconds with a current consumption of <1 mA

• Continuous (CONT) mode provides an update rate of 1 Hz and shall only be used short-term for use cases that incorporate very fast events or stimulus.

Table 17: BSEC gas sensor power-modes

BSEC power modeUpdate rateAverage current consumption
Ultra-low power mode (ULP)3.3 mHz0.09 mA
quick Ultra-low power mode (q-ULP)0.33 Hz (T, p, h) / 3.3 mHz (IAQ)0.1 mA
Low power mode (LP)0.33 Hz0.9 mA
Continuous mode (for testing purposes only)1 Hz12 mA

The BSEC software suite can be downloaded from the Bosch Sensortec website:

https://www.bosch-sensortec.com/bst/products/all\_products/BSEC

The following table describes the available outputs of BSEC. Full descriptions of the outputs and the available interfaces are available in the integration guide shipped together with the BSEC software.

Table 18: BSEC outputs

OutputDescription
Raw pressureRaw data from sensor API bypassed to BSEC output
Raw temperatureRaw data from sensor API bypassed to BSEC output
Raw relative humidityRaw data from sensor API bypassed to BSEC output
Raw gas sensor resistanceRaw data from sensor API bypassed to BSEC output
Sensor-compensated temperature (°C)Temperature which is compensated for internal cross-influences caused by the BME sensor
Sensor-compensated relative humidity (%)Relative humidity which is compensated for internal cross-influences caused by the BME sensor
Sensor-compensated gas sensor resistance (Ohm)Raw gas sensor resistance compensated by temperature and humidity influences.
IAQ (0-500)Index for Air Quality, especially recommended for mobile devices, since the auto-trim algorithm automatically adopts to different environments.
Static IAQ (“s-IAQ”)“Static” Index for Air Quality, especially recommended for stationary devices (w/o auto-trimming algorithm)
CO2 equivalents (ppm)Estimation of the CO2 level in ppm. The sensor does not directly measure CO2, but derives this from the average correlation between VOCs and CO2 in human&#x27;s exhaled breath.
b-VOC equivalents (ppm)Conversion into breath-VOC equivalents in ppm concentration. The scaling is derived from lab tests with the b-VOC gas mixture described in Table 5.
Accuracy status (0-3)Accuracy status of IAQ
Stabilization time statusIndicates if the sensor is undergoing initial stabilization during its first use after production
Run in statusIndicates when the sensor is ready after switch-on
Gas (%)Alternative indicator for air pollution which rates the current raw gas sensor resistance value based on the individual sensor history:0% = “lowest air pollution ever measured”100% = “highest air pollution level ever measured”

4.2 Indoor air quality

The BME680 is a metal oxide-based sensor that detects VOCs by adsorption (and subsequent oxidation/reduction) on its sensitive layer. Thus, the BME680 reacts to most volatile organic compounds as well as many other gases polluting indoor air (one exception is for instance CO2). In contrast to sensors which are selective for one specific component, the BME680 is capable of measuring the sum of nearly all VOCs/contaminants in the surrounding air. This enables the BME680 to detect e.g. outgassing from paint, furniture and/or garbage, high VOC levels due to cooking, food consumption, exhaled breath and/or sweating.

As a raw signal, the BME680 will output gas sensor resistance values and its changes due to varying gas concentrations (the higher the concentration of reducing VOCs, the lower the resistance and vice versa). Since this raw signal is influenced as well by parameters other than VOC concentration (e.g. humidity level), the raw values are transformed to an index for air quality (IAQ) by smart algorithms inside BSEC.

The IAQ scale ranges from 0 (clean air) to 500 (heavily polluted air). During operation, the algorithms automatically calibrate and adapt themselves to the typical environments where the sensor is operated (e.g., home, workplace, inside a car, etc.). This automatic background calibration ensures that users experience consistent IAQ performance. The calibration process considers the recent measurement history (typ. up to four days, adjustable by BSEC config string) to ensure that IAQ ~ 50 corresponds to “typical good” air and IAQ ~ 200 indicates “typical polluted” air.

5. Global memory map and register description

5.1 General remarks

Communication with the device is performed by reading from and writing to registers. Registers have a width of 8 bits. If I2C is used, 8-bit addressing is utilized. If SPI is used, 7-bit address is only available for register access. For details on the interface, consult Chapter 6.

In SPI mode complete memory map is accessed using page 0 and page 1. Register spi_mem_page is used for page selection. After power-on, spi_mem_page is in its reset state and page 0 (0x80 to 0xFF) will be active. Page 1 (0x00 to 0x7F) will be active on setting spi_mem_page to 1.

Global memory map consists of calibration registers, control registers, data registers, status registers and reserved registers. There are, however, several registers which are reserved. Accordingly, they should not be written to and no specific value is guaranteed when they are read.

Table 19: Memory map page selection

Digital InterfaceRegister address rangeRegister spi_mem_pageMemory Page
I2C0x00 to 0xFFNot ApplicableNot Applicable
SPI0x80 to 0xFF0 (default; power on state)Page 0
SPI0x00 to 0x7F1Page 1

5.2 Memory map

The memory map is given in Table 20, noting that not all reserved registers are depicted.

Table 20: Memory map

Register nameI2CSPIBit 7Bit 6Bit 5Bit 4Bit 3Bit2Bit 1Bit 0Reset state
AdrAdrPg
status73h73h1spi_mem_page00h
ResetE0h60h0reset&lt;7:0&gt;00h
IdD0h50h0chip_id&lt;7:0&gt;61h
Config75h75h1filter&lt;2:0&gt;spi_3w_en00h
Ctrl_meas74h74h1osrs_t&lt;2:0&gt;osrs_p&lt;2:0&gt;mode&lt;1:0&gt;00h
Ctrl_hum72h72h1spi_3w_int_enosrs_h&lt;2:0&gt;00h
Ctrl_gas_171h71h1run_gasnb_conv&lt;3:0&gt;00h
Ctrl_gas_070h70h1heat_off00h
Gas_wait_x6Dh...64h6Dh...64h1gas_wait_9&lt;7:0&gt; downto gas_wait_0&lt;7:0&gt;00h
Res_heat_x63h...5Ah63h...5Ah1res_heat_9&lt;7:0&gt; downto res_heat_0&lt;7:0&gt;00h
Idac_heat_x59h...50h59h...50h1idac_heat_9&lt;7:0&gt; downto idac_heat_0&lt;7:0&gt;00h
gas_r_lsb2Bh2Bh1gas_r&lt;1:0&gt;gas_valid_rheat_stab_rgas_range_r00h
gas_r_msb2Ah2Ah1gas_r&lt;9:2&gt;00h
hum_lsb26h26h1hum_lsb&lt;7:0&gt;00h
hum_msb25h25h1hum_msb&lt;7:0&gt;80h
temp_xlsb24h24h1temp_xlsb&lt;7:4&gt;000000h
temp_lsb23h23h1temp_lsb&lt;7:0&gt;00h
temp_msb22h22h1temp_msb&lt;7:0&gt;80h
press_xlsb21h21h1press_xlsb&lt;7:4&gt;000000h
press_lsb20h20h1press_lsb&lt;7:0&gt;00h
press_msb1Fh1Fh1press_msb&lt;7:0&gt;80h
eas_status_01Dh1Dh1new_data_0gas_measuringmeasuringgas_meas_index_0&lt;3:0&gt;00h
RegistersColor/Type
ReservedDo not change
Status registerRead only
Data registerRead only
Control registerRead/write

5.3 Register description

5.3.1 General control registers

5.3.1.1 SPI 3 wire interrupt enable – spi_3w_int_en

Register NameAddressContentDescription
ctrl_hum0x72spi_3w_int_en &lt;6&gt;New data interrupt can be enabled if the device is in SPI 3 wire mode and pi_3w_int_en=1.The new data interrupt is then indicated on the SDO pad.

5.3.1.2 SPI 3 wire enable – spi_3w_en

Register NameAddressContentDescription
config0x75spi_3w_en&lt;0&gt;Enable SPI 3 wire mode

5.3.1.3 Mode Selection – mode

The operation modes of the sensor can be controlled by the register mode as specified below.

Register NameAddressContentDescription
ctrl_meas0x74mode&lt;1:0&gt;Select sensor power mode as shown in the following table
mode&lt;1:0&gt;Mode
00Sleep mode
01Forced mode

5.3.1.4 SPI memory map page selection – spi_mem_page

In SPI mode complete memory page is accessed using page 0 & page 1. Register spi_mem_page is used for page selection. After power-on, spi_mem_page is in its reset state and page 0(0x80 to 0xFF) will be active. Page1 (0x00 to 0x7F) will be active on setting spi_mem_page. Please refer Table 19 for better understanding.

Register NameAddressContentDescription
status0x73(Page 0/1)spi_mem_page &lt;4&gt;Selects memory map page in SPI mode

5.3.1.5 Reset – reset

Writing 0xB6 to this register initiates a soft-reset procedure, which has the same effect like power-on reset. The default value stored in this register is 0x00.

Register NameAddressContentDescription
reset0x60 (Page 0 in SPI mode)0xE0 in I2Creset&lt;7:0&gt;Resets the device

5.3.1.6 Chip id – chip_id

Register NameAddressContentDescription
Id0x50(Page 0 in SPI mode)0xD0 in I2Cchip_id&lt;7:0&gt;Chip id of the device

5.3.2 Temperature, pressure and relative humidity control registers

5.3.2.1 Humidity sensor over sampling control – osrs_h

Register NameAddressContentDescription
ctrl_hum0x72osrs_h&lt;2:0&gt;Controls over sampling setting of humidity sensor as described in the following table
osrs_h&lt;2:0&gt;Humidity oversampling
000Skipped (output set to 0x8000)
001oversampling ×1
010oversampling ×2
011oversampling ×4
100oversampling ×8
101, Othersoversampling ×16

5.3.2.2 Over sampling setting – Temperature data – osrs_t

Register NameAddressContentDescription
ctrl_meas0x74osrs_t&lt;7:5&gt;Temperature oversampling settings as shown in the following table
osrs_t&lt;2:0&gt;Temperature oversampling
000Skipped (output set to 0x8000)
001oversampling ×1
010oversampling ×2
011oversampling ×4
100oversampling ×8
101, Othersoversampling ×16

5.3.2.3 Over sampling setting – Pressure data – osrs_p

Register NameAddressContentDescription
ctrl_meas0x74osrs_p&lt;4:2&gt;Pressure oversampling settings as shown in the following table
osrs_p&lt;2:0&gt;Pressure oversampling
000Skipped (output set to 0x8000)
001oversampling ×1
010oversampling ×2
011oversampling ×4
100oversampling ×8
101, Othersoversampling ×16

5.3.2.4 IIR filter control – filter

IIR filter applies to temperature and pressure data but not to humidity and gas data. The data coming from the ADC are filtered and then loaded into the data registers. The temperature and pressure result registers are updated together at the same time at the end of the measurement. IIR filter output resolution is 20 bits. The result registers are reset to value 0x80000 when the temperature and/or pressure measurements have been skipped (osrs_x=”000‟). The appropriate filter memory is kept unchanged (the value from the last measurement is kept). When the appropriate OSRS register is set back to nonzero, then the first value stored to the result registers are filtered.

Register NameAddressContentDescription
config0x75filter&lt;4:2&gt;IIR filter settings as shown in the following table
filter&lt;2:0&gt;Filter coefficient
0000
0011
0103
0117
10015
10131
11063
111127

5.3.3 Gas control registers

The sensor can have 10 programmable gas sensor heater set-points. A set-point consists of a target heater resistance, heater-on time and optionally an initial heater current.

5.3.3.1 Heater current - idac_heat_x

BME680 contains a heater control block that will inject enough current into the heater resistance to achieve the requested heater temperature. There is a control loop which periodically measures heater resistance value and adapts the value of current injected from a DAC.

The heater operation could be speeded up by setting an initial heater current for a target heater temperature by using register idac_heat_x<7:0>. This step is optional since the control loop will find the current after a few iterations anyway. The current injected to the heater in mA can be calculated by: (idac_heat_7_1 + 1) / 8, where idac_heat_7_1 is the decimal value stored in idac_heat<7:1> (unsigned, value from 0 to 127).

Heater set-pointRegister nameAddressContentDescription
0...9idac_heat_xx is from 0 to 90x50...0x59idac_heat_x&lt;7:0&gt;x is from 0 to 9idac_heat of particular heater set point

5.3.3.2 Target heater resistance - res_heat_x

Target heater resistance is programmed by user through res_heat_x<7:0> registers. The definition of res_heat_x is given in Section 3.3.5.

Heater set-pointRegister nameAddressContentDescription
0...9res_wait_xx is from 0 to 90x5A...0x63res_heat_x&lt;7:0&gt;x is from 0 to 9Decimal value that needs to be stored for achieving target heater resistance

5.3.3.3 Gas Sensor wait time - gas_wait_x

Referring to Figure 1, the time between the beginning of the heat phase and the start of gas sensor resistance conversion depends on gas_wait_x setting as mentioned below.

Heater set-pointRegister nameAddressContentDescription
0...9gas_wait_xx is from 0 to 90x64...0x6Dgas_wait_x&lt;5:0&gt;x is from 0 to 964 timer values with1 ms step sizes, all zeros means no wait
0...9gas_wait_xx is from 0 to 90x64...0x6Dgas_wait_x&lt;7:6&gt;x is from 0 to 9Please refer to the table below for settings
gas_wait_x&lt;7:6&gt;Gas sensor wait time multiplication factor
001
014
1016
1164

5.3.3.4 Heater off - heat_off

Register NameAddressContentDescription
ctrl_gas_00x70heat_off &lt;3&gt;Turn off current injected to heater by setting bit to one

5.3.3.5 Heater profile selection - nb_conv

nb_conv is used to select heater set-points of the sensor. The different heater set-points are described in the sections above.

Register NameAddressContentDescription
ctrl_gas_10x71nb_conv&lt;3:0&gt;Indicates index of heater set point that will be used in forced mode as describe in below table
nb_conv&lt;3:0&gt;Heater profile set-point
00000
00011
00102
00113
01004
01015
01106
01117
10008
10019

5.3.3.6 Run Gas - run_gas

Register NameAddressContentDescription
ctrl_gas_10x71run_gas&lt;4&gt;The gas conversions are started only in appropriate mode if run_gas = ‘1’

5.3.4 Data registers

In this section, the data registers for the temperature, pressure, humidity and gas sensors are explained. Shadowing registers are utilized to buffer the data and to ensure stable data in case an update of the data registers occurs simultaneously with the serial interface reading out.

5.3.4.1 Pressure data

Register NameAddressContentDescription
press_msb0x1Fpress_msb&lt;7:0&gt;Contains the MSB part [19:12] of the raw pressure measurement output data.
press_lsb0x20press_lsb&lt;7:0&gt;Contains the LSB part [11:4] of the raw pressure measurement output data
press_xlsb0x21press_xlsb&lt;7:4&gt;Contains the XLSB part [3:0] of the raw pressure measurement output data. Contents depend on pressure resolution controlled by oversampling setting.

5.3.4.2 Temp data

Register NameAddressContentDescription
temp_msb0x22temp_msb&lt;7:0&gt;Contains the MSB part [19:12] of the raw temperature measurement output data.
temp_lsb0x23temp_lsb&lt;7:0&gt;Contains the LSB part [11:4] of the raw temperature measurement output data.
temp_xlsb0x24temp_xlsb&lt;7:4&gt;Contains the XLSB part [3:0] of the raw temperature measurement output data. Contents depend on temperature resolution controlled by oversampling setting.

5.3.4.3 Humidity data

Register NameAddressContentDescription
hum_msb0x25hum_msb&lt;7:0&gt;Contains the MSB part [15:8] of the raw humidity measurement output data.
hum_lsb0x26hum_lsb&lt;7:0&gt;Contains the LSB part [7:0] of the raw humidity measurement output data.

5.3.4.4 Gas sensor resistance data

Register NameAddressContentDescription
gas_r_msb0x2Agas_r&lt;7:0&gt;Contains the MSB part gas sensor resistance [9:2] of the raw gas sensor resistance.
gas_r_lsb0x2Bgas_r&lt;7:6&gt;Contains the LSB part gas sensor resistance [1:0] of the raw gas sensor resistance.

5.3.4.5 Gas sensor resistance range

Register NameAddressContentDescription
gas_r_lsb0x2Bgas_range_r&lt;3:0&gt;Contains ADC range of measured gas sensor resistance.

5.3.5 Status registers

5.3.5.1 New data status

The measured data are stored into the output data registers at the end of each TPHG conversion phase along with status flags and index of measurement.

Register NameAddressContentDescription
meas_status_00x1Dnew_data_0&lt;7&gt;New data flag

5.3.5.2 Gas measuring status

Measuring bit is set to “1‟ only during gas measurements, goes to “0‟ as soon as measurement is completed and data transferred to data registers. The registers storing the configuration values for the measurement (gas_wait_shared, gas_wait_x, res_heat_x, idac_heat_x, image registers) should not be changed when the device is measuring.

Register NameAddressContentDescription
meas_status_00x1Dgas_measuring&lt;6&gt;Gas measuring status flag

5.3.5.3 Measuring status

Measuring status will be set to ‘1’ whenever a conversion (temperature, pressure, humidity and gas) is running and back to ‘0’ when the results have been transferred to the data registers.

Register NameAddressContentDescription
meas_status_00x1Dmeasuring&lt;5&gt;Measuring status flag

5.3.5.4 Gas Measurement Index

User can program a sequence of up to 10 conversions by setting nb_conv<3:0>. Each conversion has its own heater resistance target but 3 field registers to store conversion results. The actual gas conversion number in the measurement sequence (up to 10 conversions numbered from 0 to 9) is stored in gas_meas_index register.

Register NameAddressContentDescription
meas_status_00x1Dgas_meas_index_0&lt;3:0&gt;Gas measurement index

5.3.5.5 Gas valid status

In each TPHG sequence contains a gas measurement slot, either a real one which result is used or a dummy one to keep a constant sampling rate and predictable device timing. A real gas conversion (i.e., not a dummy one) is indicated by the gas_valid_r status register.

Register NameAddressContentDescription
gas_r_lsb0x2Bgas_valid_r&lt;5&gt;Gas valid bit

5.3.5.6 Heater Stability Status

Heater temperature stability for target heater resistance is indicated heat_stab_x status bits.

Register NameAddressContentDescription
gas_r_lsb0x2Bheat_stab_r&lt;4&gt;Heater stability bit

6. Digital interfaces

The sensor supports the I²C and SPI digital interfaces, where it acts as a slave for both protocols. The I²C interface supports the Standard, Fast and High Speed modes. The SPI interface supports both SPI mode ‘00’ (CPOL = CPHA = ‘0’) and mode ‘11’ (CPOL = CPHA = ‘1’) in 4-wire and 3-wire configuration.

The following transactions are supported:

• Single byte write

• multiple byte write (using pairs of register addresses and register data)

• single byte read

• multiple byte read (using a single register address which is auto-incremented)

6.1 Interface selection

Interface selection is done automatically based on CSB (chip select) status. If CSB is connected to V , the I²C interface is active. If CSB is pulled down, the SPI interface is activated. After CSB has been pulled down once (regardless of whether any clock cycle occurred), the I²C interface is disabled until the next power-on-reset. This is done in order to avoid inadvertently decoding SPI traffic to another slave as I²C data. Since the device startup is deferred until both VDD and VDDIO are established, there is no risk of incorrect protocol detection because of the power-up sequence used. However, if I²C is to be used and CSB is not directly connected to VDDIO but is instead connected to a programmable pin, it must be ensured that this pin already outputs the VDDIO level during power-on-reset of the device. If this is not the case, the device will be locked in SPI mode and not respond to I²C commands.

6.2 I²C Interface

For detailed timings, please review Table 22 . All modes (standard, fast, high speed) are supported. SDA and SCL are not pure open-drain. Both pads contain ESD protection diodes to VDDIO and GND. As the devices does not perform clock stretching, the SCL structure is a high-Z input without drain capability.


Picture 3: SDI/SCK ESD schematic

The 7-bit device address is 111011x. The 6 MSB bits are fixed. The last bit is changeable by SDO value and can be changed during operation. Connecting SDO to GND results in slave address 1110110 (0x76); connection it to V results in slave address 1110111 (0x77), which is the same as BMP280’s I²C address. The SDO pin cannot be left floating; if left floating, the I²C address will be undefined.

The I²C interface uses the following pins:

• SCK: serial clock (SCL)

• SDI: data (SDA)

• SDO: Slave address LSB (GND = ‘0’, VDDIO = ‘1’)

CSB must be connected to V to select I²C interface. SDI is bi-directional with open drain to GND: it must be externally connected to VDDIO via a pull up resistor. Refer to Chapter 7 for connection instructions.

The following abbreviations will be used in the I²C protocol figures:

S Start

P Stop

• ACKS Acknowledge by slave

• ACKM Acknowledge by master

NACKM Not acknowledge by master

6.2.1 I²C write

Writing is done by sending the slave address in write mode (RW = ‘0’), resulting in slave address 111011X0 (‘X’ is determined by state of SDO pin. Then the master sends pairs of register addresses and register data. The transaction is ended by a stop condition. This is depicted in Picture 4.


Picture 4: I²C multiple byte write (not auto-incremented)

6.2.2 I²C read

To be able to read registers, first the register address must be sent in write mode (slave address 111011X0). Then either a stop or a repeated start condition must be generated. After this the slave is addressed in read mode (RW = ‘1’) at address 111011X1, after which the slave sends out data from auto-incremented register addresses until a NOACKM and stop condition occurs. This is depicted in Picture 5, where register 0xF6 and 0xF7 are read.


Picture 5: I²C multiple byte read

6.3 SPI interface

The SPI interface is compatible with SPI mode $^ { \circ } 0 0 ^ { \circ } \left( \mathsf { C P O L } = \mathsf { C P H A } = ^ { \circ } 0 ^ { \circ } \right)$ and mode $\cdot 1 1 ^ { \circ } ( \mathsf { C P O L } = \mathsf { C P H A } = ^ { \circ } 1 ^ { \circ } )$ . The automatic selection between mode ‘00’ and ‘11’ is determined by the value of SCK after the CSB falling edge.

The SPI interface has two modes, namely 4-wire and 3-wire mode. However, the protocol is the same for both. The 3-wire mode is selected by setting ‘1’ to the register spi3w_en. The pad SDI is used as a data pad in 3-wire mode.

The SPI interface uses the following pins:

• CSB: chip select, active low

• SCK: serial clock

• SDI: serial data input; data input/output in 3-wire mode

• SDO: serial data output; hi-Z in 3-wire mode

For more connection instructions, please refer to Chapter 7.

CSB is active low and has an integrated pull-up resistor. Data on SDI is latched by the device at SCK rising edge and SDO is changed at SCK falling edge. Communication starts when CSB goes to low and stops when CSB goes to high; during these transitions on CSB, SCK must be stable. The SPI protocol is shown in It is important to note that Picture 6. For timing details, please review Table 23.


Picture 6: SPI protocol (shown for mode ‘11’ in 4-wire configuration)

It is important to note that in the SPI mode, only 7 bits of the register addresses are used; the MSB of register address is not used and replaced by a read/write bit (RW = ‘0’ for write and RW = ‘1’ for read). For example, address 0xF7 is accessed by using SPI register address 0x77. On the one hand, the byte 0x77 is transferred for write access, and on the other hand, the byte 0xF7 is transferred for read access.

6.3.1 SPI write

Writing is done by lowering CSB and sending pairs control bytes and register data. The control bytes consist of the SPI register address (= full register address without bit 7) and the write command (bit7 $\mathbf { \sigma } ^ { \prime } = \mathsf { R W } = \mathbf { \sigma } ^ { \prime } 0 ^ { \prime } )$ . Several pairs can be written without raising CSB. The transaction is ended by a raising CSB. The SPI write protocol is depicted in Picture 7.

Control byteData byteControl byteData byte
StartRWRegister address (F4h)Data register - address F4hRWRegister address (F5h)Data register - adress F5hStop
CSB=001110100bit7bit6bit5bit4bit3bit2bit1bit001110101bit7bit6bit5bit4bit3bit2bit1bit0CSB=1

Picture 7: SPI multiple byte write (not auto-incremented)

6.3.2 SPI read

Reading is done by lowering CSB and first sending one control byte. The control bytes consist of the SPI register address (= full register address without bit 7) and the read command (bit $7 = \mathsf { R W } = { \mathsf { \Omega } } ^ { \ast } 1 ^ { \mathfrak { s } } )$ . After writing the control byte, data is sent out of the SDO pin (SDI in 3-wire mode); the register address is automatically incremented. The SPI read protocol is depicted in Picture 8.

Control byteData byteData byte
StartRWRegister address (F6h)Data register - address F6hData register - address F7hStop
CSB=011110110bit15bit14bit13bit12bit11bit10bit9bit8bit7bit6bit5bit4bit3bit2bit1bit0

Picture 8: SPI multiple byte read

6.4 Interface parameter specification

6.4.1 General interface parameters

Table 21: Interface parameters

ParameterSymbolConditionMinTypMaxUnit
Input low level $V_{il\_si}$ $V_{DDIO}=1.2 V to 3.6 V$ 20% $V_{DDIO}$
Input high level $V_{ih\_si}$ $V_{DDIO}=1.2 V to 3.6 V$ 80% $V_{DDIO}$
Output low level $I^{2}C$ $V_{ol\_SDI}$ $V_{DDIO}=1.62 V, I_{ol}=3 mA$ 20% $V_{DDIO}$
Output low level $I^{2}C$ $V_{ol\_SDI\_1.2}$ $V_{DDIO}=1.20 V, I_{ol}=3 mA$ 23% $V_{DDIO}$
Output low level SPI $V_{ol\_SDO}$ $V_{DDIO}=1.62 V, I_{ol}=1 mA$ 20% $V_{DDIO}$
Output low level SPI $V_{ol\_SDO\_1.2}$ $V_{DDIO}=1.20 V, I_{ol}=1 mA$ 23% $V_{DDIO}$
Output high level $V_{oh}$ $V_{DDIO}=1.62 V, I_{oh}=1 mA (SDO, SDI)$ 80% $V_{DDIO}$
Output high level $V_{oh\_1.2}$ $V_{DDIO}=1.20 V, I_{oh}=1 mA (SDO, SDI)$ 60% $V_{DDIO}$
Pull-up resistor $R_{pull}$ Internal CSB pull-up resistor to $V_{DDIO}$ 70120190kΩ
$I^{2}C bus load capacitor$ $C_b$ On SDI and SCK400pF

6.4.2 I²C timings

For I²C timings, the following abbreviations are used:

• “S&F mode” = standard and fast mode

• “HS mode” = high speed mode

• Cb = bus capacitance on SDA line

All other naming refers to I²C specification 2.1 (January 2000).

The I²C timing diagram is in Picture 9. The corresponding values are given in Table 22


Picture 9: I2C timing diagram

Table 22: I2C timings

ParameterSymbolConditionMinTypMaxUnit
SDI setup time $t_{SU;DAT}$ S&amp;F ModeHS mode16030nsns
SDI hold time $t_{HD;DAT}$ S&amp;F Mode, $C_b\leq 100$ pFS&amp;F Mode, $C_b\leq 400$ pFHS mode, $C_b\leq 100$ pFHS mode, $C_b\leq 400$ pF80901824115150nsnsns
SCK low pulse $t_{LOW}$ HS mode, $C_b\leq 100$ pF $V_{DDIO}=1.62 V$ 160ns
SCK low pulse $t_{LOW}$ HS mode, $C_b\leq 100$ pF $V_{DDIO}=1.2 V$ 210ns

The above-mentioned I2C specific timings correspond to the following internal added delays:

Input delay between SDI and SCK inputs: SDI is more delayed than SCK by typically 100 ns in Standard and Fast Modes and by typically 20 ns in High Speed Mode.

Output delay from SCK falling edge to SDI output propagation is typically 140 ns in Standard and Fast Modes and typically 70 ns in High Speed Mode.

6.4.3 SPI timings

The SPI timing diagram is in Picture 10, while the corresponding values are given in Table 23. All timings apply both to 4- and 3-wire SPI.


Picture 10: SPI timing diagram

Table 23: SPI timings

ParameterSymbolConditionMinTypMaxUnit
SPI clock i/p frequencyF_spi010MHz
SCK low pulseT_low_sck20ns
SCK high pulseT_high_sck20ns
SDI setup timeT_setup_sdi20ns
SDI hold timeT_hold_sdi20ns
SDO output delayT_delay_sdo25 pF load, $V_{DDIO}=1.6$ V min30ns
SDO output delayT_delay_sdo25 pF load, $V_{DDIO}=1.2$ V min40ns
CSB setup timeT_setup_csb20ns
CSB hold timeT_hold_csb20ns
SPI clock input frequencyF_spi010MHz

7. Pin-out and connection diagram

7.1 Pin-out

The pin numbering of BME680 is performed in the untypical clockwise direction when seen in top view and counter-clockwise when seen in bottom view. Picture 11 and Table 24 give a detailed description and illustration of the input/output pins.


Picture 11: Top (left) and bottom (right) views of the chip with input/output pins

Table 24: Pin description

PinNameI/O typeDescriptionConnection
SPI 4WSPI 3W $I^2C$
1GNDSupplyGroundGND
2CSBInChip selectCSBCSB $V_{DDIO}$
3SDIIn/OutSerial data inputSDISDI/SDOSDA
4SCKInSerial clock inputSCKSCKSCL
5SDOIn/OutSerial data outputSDODNCGND for default address
6 $V_{DDIO}$ SupplyDigital / Interface supply $V_{DDIO}$
7GNDSupplyGroundGND
8 $V_{DD}$ SupplyAnalog supply $V_{DD}$

7.2 Connection diagrams

For the I2C connection, it is recommended to use 100 nF for ${ \mathsf { C } } 1$ and $\mathsf { C } _ { 2 } .$ Moreover, the value for the pull-up resistors $\mathsf { R } _ { 1 }$ and ${ \sf R } _ { 2 }$ should be based on the interface timing and the bus load; a normal value is 4.7 kΩ. Finally, a direct connection between CSB and $V _ { \mathsf { D D } } | \mathsf { O }$ is required. Similarly for the 4- and 3-wire SPI connections, it is suggested to use 100 nF for $\mathsf { C } _ { 1 }$ and $\mathsf { C } _ { 2 } .$


(a)


(b)


(c)
Picture 12: Connection diagrams for (a) ${ \mathsf { I } } ^ { 2 } { \mathsf { C } } ,$ (b) 4-wire SPI, and (c) 3-wire SPI

7.3 Package dimensions


2. REFERENCE SPECIFICATIONS: A. AWW SPEC #001-0531-2234: PACKING OPERATION PROCEDURE. B. AWW SPEC #001-0519-2062: MARKING.

  1. ALL DIMENSIONS AND TOLERANCES CONFORM TO ANSI Y14.5M-1994.

NOTES: UNLESS OTHERWISE SPECIFIED


Picture 13: Package dimensions for top, bottom and side view

7.4 Landing pattern recommendation

For the design of the landing pattern, the dimensions shown in Picture 14: Recommended landing pattern (top view; dimensions are in millimeters) are recommended. It is important to note that areas marked in red are exposed PCB meta pads.

• In case of a solder mask defined (SMD) PCB process, the land dimensions should be defined by solder mask openings. The underlying metal pads are larger than these openings.

In case of a non-solder mask defined (NSMD) PCB process, the land dimensions should be defined in the meta layer. The mask openings are larger than these metal pads.


Picture 14: Recommended landing pattern (top view; dimensions are in millimeters)

7.5 Marking

7.5.1 Mass production devices

Table 25: Marking of mass production parts

MarkingSymbolDescription
Vent_hole<img src="./images/01ee748aaa54f0136770ea63da521cd587d7c9a541e055e57e13a81ad311c4af.jpg"/>CCCLot counter: 3 alphanumeric digits, variable to generate mass production trace-code
TProduct number: 1 alphanumeric digit, fixed to identify product type, T = “S” or “E”: “S” is associated with the BME680 part number 0 273 141 229, “E” is associated with the BME680 part number 0 273 141 312.
LSub-contractor ID: 1 alphanumeric digit, variable to identify sub-contractor (L = “P”)

7.5.2 Engineering samples

Table 26: Marking of engineering samples

MarkingSymbolDescription
Vent_hole<img src="./images/98265f9c8ddb0de56653d65ef3791fd7a8828804419b98aa9ede1490ea52eb6f.jpg"/>←Pin 1 markerXXSample ID: 2 alphanumeric digits, variable to generate trace-code
NEng. Sample ID: 1 alphanumeric digit, fixed to identify engineering sample, N = “*” or “e” or “E”
CCCounter ID: 2 alphanumeric digits, variable to generate trace-code

7.6 Soldering guidelines and reconditioning recommendations

The moisture sensitivity level of the BME680 sensors corresponds to JEDEC Level 1, see also:

• IPC/JEDEC J-STD-020C “Joint Industry Standard: Moisture/Reflow Sensitivity Classification for non-hermetic Solid State Surface Mount Devices”

IPC/JEDEC J-STD-033A “Joint Industry Standard: Handling, Packing, Shipping and Use of Moisture/Reflow Sensitive Surface Mount Devices”

The sensor fulfils the lead-free soldering requirements of the above-mentioned IPC/JEDEC standard, i.e. reflow soldering with a peak temperature up to $2 6 0 ^ { \circ } \mathsf { C }$ . The minimum height of the solder after reflow shall be at least 50 µm. This is required for good mechanical decoupling between the sensor device and the printed circuit board (PCB).

Profile FeaturePb-Free Assembly
Average Ramp-Up Rate (Tsmax to Tp)3°C/second max.
Preheat- Temperature Min (Tsmin)- Temperature Max (Tsmax)- Time (tsmin to tsmax)150 °C200 °C60-180 seconds
Time maintained above:- Temperature (TL)- Time (tL)217 °C60-150 seconds
Peak/Classification Temperature (Tp)260 °C
Time within 5 °C of actual Peak Temperature (tp)20-40 seconds
Ramp-Down Rate6 °C/second max.
Time 25 °C to Peak Temperature8 minutes max.

Note 1: All temperatures refer to topside of the package, measured on the package body surface


Picture 15: Soldering profile

7.7 Mounting and assembly recommendations

This HSMI-document provides all the necessary instructions to handle, solder and mount the environmental sensor BME680. Following the reported guidelines is very important to prevent the damage of the sensor and the resultant loss of warranty.

7.8 Environmental safety

7.8.1 RoHS

The BME680 sensor meets the requirements of the EC restriction of hazardous substances (RoHS) directive, see also:

Directive 2011/65/EU and its amendments, including the amendment 2015/863/EU on the restriction of the use of certain hazardous substances in electrical and electronic equipment.

7.8.2 Halogen content

The BME680 is halogen-free. For more details on the analysis results please contact your Bosch Sensortec representative.

7.8.3 Internal package structure

Within the scope of Bosch Sensortec’s ambition to improve its products and secure the mass product supply, Bosch Sensortec qualifies additional sources (e.g. 2nd source) for the packaging and processing of the BME680.

While Bosch Sensortec took care that all of the technical packages parameters are described above are 100% identical for all sources, there can be differences in the chemical content and the internal structural between the different package sources.

However, as secured by the extensive product qualification process of Bosch Sensortec, this has no impact to the usage or to the quality of the BME680 product.

8. Legal disclaimer

8.1 Engineering samples

Engineering Samples are marked with an asterisk (*), (E) or (e). Samples may vary from the valid technica specifications of the product series contained in this data sheet. They are therefore not intended or fit for resale to third parties or for use in end products. Their sole purpose is internal client testing. The testing of an engineering sample may in no way replace the testing of a product series. Bosch Sensortec assumes no liability for the use of engineering samples. The Purchaser shall indemnify Bosch Sensortec from all claims arising from the use of engineering samples.

8.2 Product use

Bosch Sensortec products are developed for the consumer goods industry. They may only be used within the parameters of this product data sheet. They are not fit for use in life-sustaining or safety-critical systems. Safety critical systems are those for which a malfunction is expected to lead to bodily harm, death or severe property damage. In addition, they shall not be used directly or indirectly for military purposes (including but not limited to nuclear, chemical or biological proliferation of weapons or development of missile technology), nuclear power, deep sea or space applications (including but not limited to satellite technology).

Bosch Sensortec products are released on the basis of the legal and normative requirements relevant to the Bosch Sensortec product for use in the following geographical target market: BE, BG, DK, DE, EE, FI, FR, GR, IE, IT, HR, LV, LT, LU, MT, NL, AT, PL, PT, RO, SE, SK, SI, ES, CZ, HU, CY, US, CN, JP, KR, TW. If you need further information or have further requirements, please contact your local sales contact.

The resale and/or use of Bosch Sensortec products are at the purchaser’s own risk and his own responsibility. The examination of fitness for the intended use is the sole responsibility of the purchaser.

The purchaser shall indemnify Bosch Sensortec from all third party claims arising from any product use not covered by the parameters of this product data sheet or not approved by Bosch Sensortec and reimburse Bosch Sensortec for all costs in connection with such claims.

The purchaser accepts the responsibility to monitor the market for the purchased products, particularly with regard to product safety, and to inform Bosch Sensortec without delay of all safety-critical incidents

8.3 Application examples and hints

With respect to any examples or hints given herein, any typical values stated herein and/or any information regarding the application of the device, Bosch Sensortec hereby disclaims any and all warranties and liabilities of any kind, including without limitation warranties of non-infringement of intellectual property rights or copyrights of any third party. The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics. They are provided for illustrative purposes only and no evaluation regarding infringement of intellectual property rights or copyrights or regarding functionality, performance or error has been made.

9. Document history and modifications

Rev.ChapterDescription of modificationsDate
1.0Initial releaseJuly 2017
1.15.2Fixed typoApril 2019
7.5.1Added new technical reference code
1.2Added Hyperlinks to Table of contentsMay 2019
1.2Table 4 updated
3.3Added code examples &amp; Tables 11-16
4.1Added q-ULP to Table 17
Added new BSEC outputs to Table 18
Removed Ambient temperature, Ambient relative humidity
5.3.1.4Changed ranges of memory pages
5.2Changed status register from 01h to 00h
8.New disclaimer
1.31.4Removed link to T and H compensation formulaJuly 2019
1.43.3Updated pressure &amp; humidity formulaJune 2020
1.53.4.1, 4.1Improved wordingNovember 2020
8.2Disclaimer update
1.63.3.3Table 13 correctedJanuary 2021
7.4Wording corrected
1.77.8.1updatedDecember 2021
1.81.2Typical IAQ range updated according to BSEC 1.4.9.2 software improvementsAugust 2022
1.92Removed condensation parameter from table 9February 2024

Bosch Sensortec GmbH Gerhard-Kindler-Straße 9 72770 Reutlingen / Germany

Extracted Images

Figures and diagrams from the PDF

Preview the extracted datasheet assets and open any image in a separate tab for closer inspection.

07ab099a615df02b23069828d397d63a3e9e06a95d47795cc352257caf4bd2ce.jpg

07ab099a615df02b23069828d397d63a3e9e06a95d47795cc352257caf4bd2ce.jpg

c8dabf8b12d462ff90f1bd822eb721077fe1449dbb4c2ce311362837ba80d975.jpg

c8dabf8b12d462ff90f1bd822eb721077fe1449dbb4c2ce311362837ba80d975.jpg

cb67b63e37f98684ad1e5ad3d5f3fc34ca28b95b71ed075341b3019a3942c2fb.jpg

cb67b63e37f98684ad1e5ad3d5f3fc34ca28b95b71ed075341b3019a3942c2fb.jpg

77002f6b4a72bfea3e480e86a52066c7332a35e823dadba2e826004378ad81d8.jpg

77002f6b4a72bfea3e480e86a52066c7332a35e823dadba2e826004378ad81d8.jpg

aa939ea01432bfe427e2cf7d43f12b22a3f6abee63e975484c45b360bcc1b9e1.jpg

aa939ea01432bfe427e2cf7d43f12b22a3f6abee63e975484c45b360bcc1b9e1.jpg

edf28b061c24f7781b14eac4bce23e80761a16998f8c9f79ee3548e014778b2f.jpg

edf28b061c24f7781b14eac4bce23e80761a16998f8c9f79ee3548e014778b2f.jpg

fe1bb58fa3390cee29c9402b73bdc8148ba6a085f9503dc61d5c1f78baeecc4e.jpg

fe1bb58fa3390cee29c9402b73bdc8148ba6a085f9503dc61d5c1f78baeecc4e.jpg

729887621bd4f360d970ab27d9eb360b4c7c0c52db8bcef3ca8809a69fa64523.jpg

729887621bd4f360d970ab27d9eb360b4c7c0c52db8bcef3ca8809a69fa64523.jpg

00899ce3ac5cf000ca068af2265053baab3b04e80b63290e483428c1b9d1a298.jpg

00899ce3ac5cf000ca068af2265053baab3b04e80b63290e483428c1b9d1a298.jpg

bd40b1f29643f1646d3b5968cab9e8b25debc85151f1f4e332ca9bce4b5758f9.jpg

bd40b1f29643f1646d3b5968cab9e8b25debc85151f1f4e332ca9bce4b5758f9.jpg

85a230e2cb68372d1285b59cb57e21431c5664df450274873e83a17644c3d549.jpg

85a230e2cb68372d1285b59cb57e21431c5664df450274873e83a17644c3d549.jpg

4485fa8426c1a8d2835589218d3ecf2d12242500c2c7a44d185c0cc154c5cb9d.jpg

4485fa8426c1a8d2835589218d3ecf2d12242500c2c7a44d185c0cc154c5cb9d.jpg

01ee748aaa54f0136770ea63da521cd587d7c9a541e055e57e13a81ad311c4af.jpg

01ee748aaa54f0136770ea63da521cd587d7c9a541e055e57e13a81ad311c4af.jpg

7a096d07986cab05d2c099ed3e22d52f2a6891dfea9a963ac6ca5ce840b6509e.jpg

7a096d07986cab05d2c099ed3e22d52f2a6891dfea9a963ac6ca5ce840b6509e.jpg

8e426e635093f7c579961cdd2e19527813e46df5785b070ee4638f6a26a9e782.jpg

8e426e635093f7c579961cdd2e19527813e46df5785b070ee4638f6a26a9e782.jpg

eeffef2037a13b6d9f77493c2b6c553e2a91c32c9f71b9443b43fcbbbfa9701f.jpg

eeffef2037a13b6d9f77493c2b6c553e2a91c32c9f71b9443b43fcbbbfa9701f.jpg

5ca4febcf36efc877d8198905061196d23749e3c58215b6d3c77118843b2b937.jpg

5ca4febcf36efc877d8198905061196d23749e3c58215b6d3c77118843b2b937.jpg

58b75ec1a6bdd370fa7a1d7123180704afbc3de17e9af74a20164a8126a3f5e4.jpg

58b75ec1a6bdd370fa7a1d7123180704afbc3de17e9af74a20164a8126a3f5e4.jpg

7448ae6d0fe85bfec4b691132c34948fd0133af4724065080852f7d190c53fcf.jpg

7448ae6d0fe85bfec4b691132c34948fd0133af4724065080852f7d190c53fcf.jpg

253c2fef822464126d28c4ecbe2588dc212e775dd4ecc92a9a5db3fcdf058ac5.jpg

253c2fef822464126d28c4ecbe2588dc212e775dd4ecc92a9a5db3fcdf058ac5.jpg

093828252aeaeaed44675a092d5ebbc53c2416304821b019b344b3a626869c76.jpg

093828252aeaeaed44675a092d5ebbc53c2416304821b019b344b3a626869c76.jpg

6d5b7ed95c0e0bc6622e02c7d32cbb11a3d5df43e8edc58596e8293ea3b5804b.jpg

6d5b7ed95c0e0bc6622e02c7d32cbb11a3d5df43e8edc58596e8293ea3b5804b.jpg

044c7c2b6334a5a2c9f42b8de7e39091ef9e4ff5a703a9b32848b36200f113a8.jpg

044c7c2b6334a5a2c9f42b8de7e39091ef9e4ff5a703a9b32848b36200f113a8.jpg

6a730e4f772f3ddc13c87aa33e86e6c64b30e0396d55d0b444cc5d5fb10fa917.jpg

6a730e4f772f3ddc13c87aa33e86e6c64b30e0396d55d0b444cc5d5fb10fa917.jpg

8676e9ff0c83e4007407c8619abafb325c17937c9aed4530ef4aa22186e18edb.jpg

8676e9ff0c83e4007407c8619abafb325c17937c9aed4530ef4aa22186e18edb.jpg

4aefbfbf5dba3eea9f48c31e28a3b605da925df3b8ed5cc2888327a1e4536f09.jpg

4aefbfbf5dba3eea9f48c31e28a3b605da925df3b8ed5cc2888327a1e4536f09.jpg

36c6922884e87b0a2b2a098bbf709e985e36fd7599fe74a25ae43e198e908830.jpg

36c6922884e87b0a2b2a098bbf709e985e36fd7599fe74a25ae43e198e908830.jpg

3cb8fdcdfe9f600dab60f0208c780ff4fd52ed45d2b56572b3564253c966c94e.jpg

3cb8fdcdfe9f600dab60f0208c780ff4fd52ed45d2b56572b3564253c966c94e.jpg

3c6bc555b7de102984d722edd18114956bab486461a5d78dc19a0646f7afc686.jpg

3c6bc555b7de102984d722edd18114956bab486461a5d78dc19a0646f7afc686.jpg

5b04f8aadeaea2995d8ab333bb113737d86931a9c48ec4d5cac58d882236fde2.jpg

5b04f8aadeaea2995d8ab333bb113737d86931a9c48ec4d5cac58d882236fde2.jpg

22db06a15b1f1d0046aaafba13b944fdbdb2db3f074c7b5c7b17daee6b8ef74d.jpg

22db06a15b1f1d0046aaafba13b944fdbdb2db3f074c7b5c7b17daee6b8ef74d.jpg

a5d2e68726c31de6f7c75e3e256bb88ae1265fbf1bcec641a1cbfb71e82a95f8.jpg

a5d2e68726c31de6f7c75e3e256bb88ae1265fbf1bcec641a1cbfb71e82a95f8.jpg

cf5f8d638d5ffbf10b1e3f854dd1529c14d3886fb6b89168ae2853ec7e38b8bb.jpg

cf5f8d638d5ffbf10b1e3f854dd1529c14d3886fb6b89168ae2853ec7e38b8bb.jpg

936a396ca41ed66f95f49002263674b56611ea105606657cac4bf75848a3109d.jpg

936a396ca41ed66f95f49002263674b56611ea105606657cac4bf75848a3109d.jpg

ae00eaa7d1916c30e83fbe590e95c20a43f0630a4952bb6b7eca26b0d91c2f1e.jpg

ae00eaa7d1916c30e83fbe590e95c20a43f0630a4952bb6b7eca26b0d91c2f1e.jpg

732996a0cce3d0417536350ab6766d7c848da556ee2003b30e4479b569b84839.jpg

732996a0cce3d0417536350ab6766d7c848da556ee2003b30e4479b569b84839.jpg

2a3e0475f85dde0fbe7a55f25a966177e1a65682bfb71640166c1e507f7c7a97.jpg

2a3e0475f85dde0fbe7a55f25a966177e1a65682bfb71640166c1e507f7c7a97.jpg

1affef2bc92ecd47549c073f4dd23ebe21e63f62bbd4cf654a050b52e53cfe38.jpg

1affef2bc92ecd47549c073f4dd23ebe21e63f62bbd4cf654a050b52e53cfe38.jpg

1c6d133299199b6f504a6e0fcf32d5d7d2f640235598132f4e516294d4946e17.jpg

1c6d133299199b6f504a6e0fcf32d5d7d2f640235598132f4e516294d4946e17.jpg

22c445500e62146cd553739aaa50c5fc2255b4e0d0b92196e48fef623b9f3e7e.jpg

22c445500e62146cd553739aaa50c5fc2255b4e0d0b92196e48fef623b9f3e7e.jpg

a118b7cf5f6350ce74c4e94ee2f548efddb5e4ab94bf8fabf0aa0c86418c832e.jpg

a118b7cf5f6350ce74c4e94ee2f548efddb5e4ab94bf8fabf0aa0c86418c832e.jpg

98265f9c8ddb0de56653d65ef3791fd7a8828804419b98aa9ede1490ea52eb6f.jpg

98265f9c8ddb0de56653d65ef3791fd7a8828804419b98aa9ede1490ea52eb6f.jpg

e0efb769768ec2849b5162774c4424e2485e5d8cf0906d75cab53e3c3a5ef369.jpg

e0efb769768ec2849b5162774c4424e2485e5d8cf0906d75cab53e3c3a5ef369.jpg

51b445f549debba245bcdc2f11f66f63cd7a56e7a2c3eacc86c34c937a173ecd.jpg

51b445f549debba245bcdc2f11f66f63cd7a56e7a2c3eacc86c34c937a173ecd.jpg

95a68d426c4e248bab72b274708cecfb03c5b9ad6c0225d98e85550035d5635f.jpg

95a68d426c4e248bab72b274708cecfb03c5b9ad6c0225d98e85550035d5635f.jpg

146345fc3650720f2e1fb00cf0de30082b6189db83462556add03b6942706084.jpg

146345fc3650720f2e1fb00cf0de30082b6189db83462556add03b6942706084.jpg

f36b19c8a1de7d4c3b1e28b0c83ead03f95cbe62ecaea6a7a73b454e8054d64a.jpg

f36b19c8a1de7d4c3b1e28b0c83ead03f95cbe62ecaea6a7a73b454e8054d64a.jpg

ce1db46d7f3c57ea3a0abf91bdea54223d63147be8fdb8f130d8185dabce6052.jpg

ce1db46d7f3c57ea3a0abf91bdea54223d63147be8fdb8f130d8185dabce6052.jpg

aa93d30a91903c9535737d11e7343a7787f3f5ac2ee6f27bdf5b01b292464b01.jpg

aa93d30a91903c9535737d11e7343a7787f3f5ac2ee6f27bdf5b01b292464b01.jpg

a12ec40d7e6b331ddad3b7ff235a4ed6293d65a37c7ae8222fbfa79e898ec7ec.jpg

a12ec40d7e6b331ddad3b7ff235a4ed6293d65a37c7ae8222fbfa79e898ec7ec.jpg

d8ceb9737d619e2c6151852b7461fada2cf82b58053d86009c2aa88a0e0aa220.jpg

d8ceb9737d619e2c6151852b7461fada2cf82b58053d86009c2aa88a0e0aa220.jpg

14309a65e51d32ba463e10402e73f7c845c95a5d32e208c08dc8d724e83b6448.jpg

14309a65e51d32ba463e10402e73f7c845c95a5d32e208c08dc8d724e83b6448.jpg

5f40ae271626933a606328b69ff439ba0fda39831256018cf0c99a2ad1abc085.jpg

5f40ae271626933a606328b69ff439ba0fda39831256018cf0c99a2ad1abc085.jpg

1df3d0e3e488e245cc0b9c55d9e41455deaacac7af24326b48d676b5eaaab12b.jpg

1df3d0e3e488e245cc0b9c55d9e41455deaacac7af24326b48d676b5eaaab12b.jpg

5444845f081f6ee81cdfaa19c2cc2202e16c9be117cba7ffbbe51c8820c12844.jpg

5444845f081f6ee81cdfaa19c2cc2202e16c9be117cba7ffbbe51c8820c12844.jpg

dc7693f02c9626a7174cf497ff00eff8d4d6719dda3f3ad627cf94e6173458ba.jpg

dc7693f02c9626a7174cf497ff00eff8d4d6719dda3f3ad627cf94e6173458ba.jpg

9a737e747e0e3782c58c42eb41d2b5b7b03d2bc3f41625329f0e08af7f5d828a.jpg

9a737e747e0e3782c58c42eb41d2b5b7b03d2bc3f41625329f0e08af7f5d828a.jpg

dbe3dbe25ef30b52b52e3878b36e975ac7ff6f87a5778b296a9c206fa9e6b236.jpg

dbe3dbe25ef30b52b52e3878b36e975ac7ff6f87a5778b296a9c206fa9e6b236.jpg

1142e0861921d7b0c316f6393b4162c18f358e4363d3c4440505ff6123fd07e1.jpg

1142e0861921d7b0c316f6393b4162c18f358e4363d3c4440505ff6123fd07e1.jpg

13e64386e0a02648dd23f0ed9518a5536793dcf3737ee195d5a327c91d5fdddc.jpg

13e64386e0a02648dd23f0ed9518a5536793dcf3737ee195d5a327c91d5fdddc.jpg

Agent APIs

Use this datasheet from any agent

Send the page, markdown, chunks, or search endpoint to ChatGPT, Claude, embedr-app, or your own tooling.