跳转至主要内容
跳转至主要内容

Hardware

BME280

Temperature, humidity and barometric pressure sensor

Audio summary
0:00 / 0:00

Low-power 3-in-1 sensor (temperature, humidity, pressure) with I2C/SPI interface.

The BME280 combines three measurements in a 2.5 mm chip: temperature (±0.5 °C), relative humidity (±3 %) and pressure (±1 hPa), the latter even useful to estimate altitude. It talks over I2C (up to 3.4 MHz) or SPI and draws microamps at idle.

It is the go-to environmental sensor to start with: there are libraries for Arduino, ESP32 and Raspberry Pi and dirt-cheap breakout modules. For air quality (VOC/gas) its bigger sibling is the BME680; for top-precision humidity, Sensirion's SHT4x.

Pros

  • Three measurements in a single tiny chip
  • Ultra-low power, ideal for battery use
  • I2C and SPI, with libraries for every board
  • Very cheap and widely available

Cons

  • Doesn't measure air quality (that's the BME680)
  • Self-heating can bias the temperature reading

Related articles