BME280 environmental sensor
Understand the BME280’s three measurements and choose between I²C and SPI, with guidance on breakout and bare-sensor voltage limits.

Overview
The BME280 combines a humidity element and a barometric pressure sensor with an on-chip temperature reading used for compensation. Temperature near the sensor may differ from room temperature if the board is warm.
Pinout and interface
In I²C mode, the master uses SDA and SCL. CSB selects whether the interface is in SPI mode; SDO chooses the I²C address in I²C mode. The tiny package pinout and breakout header are different; consult the schematic of the board being wired.
Common mistakes
A breakout’s stated VIN tolerance says nothing by itself about its signal tolerance. Check for a regulator and level shifting separately. A BMP280 is a pressure and temperature part, and firmware should not expect a humidity channel from it.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| Supply VDD | 1.71–3.6 V at the sensor | Bosch Sensortec |
| Pressure range | 300–1100 hPa | Bosch Sensortec |
| Digital interfaces | I²C and SPI | Bosch Sensortec |
Compatibility and practice
The bare Bosch sensor is low-voltage. Check regulator and level shifter details on your specific breakout.
Related components
Sources and datasheets
- BME280 humidity sensor product specifications and datasheet · Bosch Sensortec