Components / Sensors / BMP280 pressure sensor

BMP280 pressure sensor

Barometric pressure and temperature sensor. No humidity (that is the BME280).

MeasuresPressure and temperature
Range300 to 1100 hPa, −40 to 85 °C
Accuracy±1 hPa, ±1 °C
InterfaceI2C or SPI
SensorsReviewedMPN BMP280Used in 8 projects
BMP280
In short

What is the BMP280 pressure sensor and what is it used for?

Barometric pressure and temperature sensor. No humidity (that is the BME280). Makers use it for altitude, weather trend.

How it works

A tiny silicon membrane flexes with air pressure, and piezoresistive elements on it change resistance.

Key specifications

Sensor specValue
MeasuresPressure and temperature
Range300 to 1100 hPa, −40 to 85 °C
Accuracy±1 hPa, ±1 °C
InterfaceI2C or SPI
I2C address0x76 or 0x77
Supply voltage1.71 to 3.6 V (modules often have a regulator)

Pinout

VCC3.3 V (some boards accept 5 V)
GNDGround
SCLI2C clock or SPI SCK
SDAI2C data or SPI SDI
CSBChip select, leave high for I2C
SDOAddress select 0x76 or 0x77, or SPI SDO

How to use it

Use the Adafruit BMP280 library at address 0x76 (SDO to ground) or 0x77. Altitude from pressure needs your local sea-level pressure for accuracy; changes in altitude are measured much better than absolute altitude.

Applications

Alternatives

Buy at

Common questions

What is the BMP280 pressure sensor used for?

In maker projects: altitude, weather trend.

How does the BMP280 pressure sensor work?

A tiny silicon membrane flexes with air pressure, and piezoresistive elements on it change resistance.

What voltage does the BMP280 pressure sensor need?

1.71 to 3.6 V (modules often have a regulator).

How do I connect the BMP280 pressure sensor to an Arduino or ESP32?

I2C or SPI. Pins: VCC (3.3 V (some boards accept 5 V)), GND (Ground), SCL (I2C clock or SPI SCK), SDA (I2C data or SPI SDI), CSB (Chip select, leave high for I2C), SDO (Address select 0x76 or 0x77, or SPI SDO).

What can I use instead of the BMP280 pressure sensor?

BME280 Environmental Sensor and MS5611 barometric pressure sensor.