A BME280 sensor on a small 3.3V breakout board. One chip reads air temperature, relative humidity and air pressure, which makes it the usual pick for an ESP32 or Raspberry Pi Pico weather station, a room climate sensor in Home Assistant, or a logger that tracks pressure trends.
It's set up for I2C at address 0x76, so you only need four wires, and it can also run on SPI. There's no regulator on the board, so it runs on 3.3V only and 5V on any pin will damage it. A 5V Arduino Uno or Nano needs our 4-channel logic level converter between the two boards, or you can use our BME280 5V module, which has a regulator and level shifting built in. The 6-pin header comes loose for you to solder. If you only need pressure and temperature, our BMP280 3.3V module costs less.
Specifications
Datasheets
Wiring & getting started
- Solder the header
Solder the 6-pin header to the pads. Keep flux and cleaner away from the tiny hole in the top of the sensor, because that's where the air gets in.
- Wire it up
On an ESP32: VCC to 3V3, GND to GND, SDA to GPIO21 and SCL to GPIO22. On a Pico, SDA goes to GP4 and SCL to GP5. Leave CSB and SDO unconnected. The board already sets it to I2C at address 0x76.
- Load the test code
In the Arduino IDE, install the Adafruit BME280 library from the Library Manager. Upload this sketch and open the Serial Monitor at 115200 baud.
Example Arduino codeArduino C++
// BME280 3.3V module test. // VCC to 3.3V, GND to GND, SDA and SCL to the I2C pins. #include <Wire.h> #include <Adafruit_BME280.h> Adafruit_BME280 bme; void setup() { Serial.begin(115200); if (!bme.begin(0x76)) { // this board is set to 0x76 Serial.println("No BME280 found at 0x76. Check the wiring."); while (true) delay(10); } Serial.print("Chip ID 0x"); Serial.println(bme.sensorID(), HEX); // 60 = BME280 } void loop() { Serial.print(bme.readTemperature(), 1); Serial.print(" C "); Serial.print(bme.readHumidity(), 0); Serial.print(" %RH "); Serial.print(bme.readPressure() / 100.0, 1); Serial.println(" hPa"); delay(2000); } - Check it works
You should see Chip ID 0x60, then a line every 2 seconds such as 21.4 C 55 %RH 1013.2 hPa. If it says no BME280 was found, check that SDA and SCL aren't swapped and that VCC is on 3V3, not 5V.
- Use it in ESPHome (optional)
ESPHome looks for the sensor at 0x77 unless you tell it otherwise, so add address: 0x76 to the sensor block.
ESPHome configESPHome YAML
i2c: sda: GPIO21 scl: GPIO22 sensor: - platform: bme280_i2c address: 0x76 temperature: name: "Temperature" humidity: name: "Humidity" pressure: name: "Pressure"

