Skip to Content
Circuitera

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.

Red SparkFun BME280 environmental sensor breakout
SparkFun Atmospheric Sensor Breakout - BME280 13676.jpg by SparkFun · CC BY 2.0. Resized and encoded as WebP without cropping.

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.

Source: Bosch Sensortec

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.

Source: Bosch Sensortec

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.

Source: Bosch Sensortec

Specifications

ParameterValue or conditionSource
Supply VDD1.71–3.6 V at the sensorBosch Sensortec
Pressure range300–1100 hPaBosch Sensortec
Digital interfacesI²C and SPIBosch Sensortec

Compatibility and practice

The bare Bosch sensor is low-voltage. Check regulator and level shifter details on your specific breakout.

Sources and datasheets