Skip to content
A project ofgwark.dev

Bosch Sensortec · Integrated circuit

BME280 Humidity, Pressure and Temperature Sensor

Three environmental measurements in a grain of rice, over I2C or SPI. Accurate enough on pressure to tell which floor of a building you are on.

Cheat sheet (SVG)
Logic level
1.71-3.6 V
Package
LGA-8, 2.5 x 2.5 mm

1.Pinout diagram

Highlight a signalhover to preview, click to keep

Pins 1-4

BME280

Pins 5-8

Pin detail

Hover a pin for its mappings and gotchas. Click to keep it here.

Logic level
1.71-3.6 V
Package
LGA-8, 2.5 x 2.5 mm

Fig. 1. BME280 Humidity, Pressure and Temperature Sensor, LGA-8, 2.5 x 2.5 mm. Hover or tap a signal to light up every pin that carries it.

2.Watch out

3.Minimum circuit on I2C

What has to go around the chip before it will run.

VCCGNDBME280100 nF ceramic between VDD (8) and GND100 nFceramic100 nF ceramic between VDDIO (6) and GND100 nFceramicInterface link between CSB (2) and VCCInterfacelinkAddress link between SDO (5) and GNDAddresslink4.7 kOhm between SDI (3) and VCC4.7 kOhm4.7 kOhm between SCK (4) and VCC4.7 kOhmGND (1) to GNDVDDIO (6) to VCCGND (7) to GNDVDD (8) to VCCGND 1CSB 2SDI 3SCK 4SDO 5VDDIO 6VDDIO 6GND 7VDD 8VDD 8
Fig. 2. Minimum circuit on I2C, drawn from Table 1. Crossing wires are not connected.
Table 1. External parts, and why each one is there.
PartBetween
100 nF ceramicVDD (8) to GND
100 nF ceramicVDDIO (6) to GND
Interface linkCSB (2) to VCC
Address linkSDO (5) to GND
4.7 kOhmSDI (3) to VCC
4.7 kOhmSCK (4) to VCC

Both ground pins must be connected. For SPI, leave the pull-ups off and treat SDI as MOSI, SDO as MISO, SCK as clock and CSB as chip select.

4.Full pin reference

Every pin, alias and mapping. This is the table that prints.

Table 2. Pin assignments.

Complete pin reference for BME280 Humidity, Pressure and Temperature Sensor
PinNameFunctions

Looking for a substitute?

Primary sources

Found a wrong pin? The whole board is one file, data/boards/bme280.json.

Edit this file on GitHubReport it instead