Skip to content

BMP 280 Temp Pressure Altitude

Carlos Paradis edited this page Sep 8, 2018 · 5 revisions

Hardware Setup

With the BMP280 it is capable of communicating either through I2C and SPI. I decided to connect it with I2C since we already have multiple I2C devices connected in parallel. Here is how your setup should look like with the BMP280 connected. Note that we would only need to connect 5V/VCC, GND, SCL, and SDA for I2C. The SDO and CSB pins are left unconnected since we are not communicating through SPI.

Software Setup

I am using this BMP280 library i found and followed his example script to understand how to properly print out the values we wanted.

Notes

BMP280 Datasheet

  • Temperature Accuracy: ±1°C (pg.8)
  • Barometric Pressure Accuracy: ±1hPa (pg.8)
  • Altitude Accuracy is not stated