Connecting SDO to GND results in slave address 0x76 (R4 open, R5 mounted); connecting it to VDDIO results in slave address 0x77 (R4 mounted, R5 open).
The stuffing table below resumes all the options.
The BME280 can be powered from 1.71 V to 3.6 V. Its interface has its own supply pin VDDIO allowing voltages from 1.2 V to 3.6 V. R1 connects VDD to VDDIO. Remove R1 when interfacing the module to levels that are not the same as the supply voltage.
I2C (0x76) | I2C (0x77) | SPI |
---|---|---|
R1 = 0R | R1 = 0R | R1 = 0R |
R2 = 10k | R2 = 10k | R2 = NC |
R3 = 10k | R3 = 10k | R3 = NC |
R4 = NC | R4 = 0R | R4 = NC |
R5 = 0R | R5 = NC | R5 = NC |
R6 = NC | R6 = NC | R6 = 0R |
R7 = 0R | R7 = 0R | R7 = NC |
R8 = NC | R8 = NC | R8 = 0R |
A driver for the BME280 can be found at its Elektor Labs GitHub page.