BME280 5V sensor module with VIN, GND, SCL and SDA pins, shown with its loose 4-pin header

BME280 Temperature, Humidity and Pressure Sensor Module 5V

$12.49 NZD
Save 4% at 3+
Skip to product information
SKU: BME280-5V

BME280 Temperature, Humidity and Pressure Sensor Module 5V

$12.49 NZD
Availability:
Order before 7:30am (12pm weekends) for same-day dispatch Dispatch 7 days a week, excluding public holidays

NZ Post: 1-2 days urban · 2-4 days rural

Shipping from $5.99 urban / $9.99 rural, or free pick-up in Te Awamutu.

Buy more, pay less Prices shown are per unit. Add enough of this item and the lower rate applies on its own at checkout. There is no code to enter and you do not need to buy a pack. Choosing a tier here just sets the quantity for you. Larger quantities go out in the same bag, so packing, handling and postage cost us less per unit. We pass that saving straight on to you, so you can buy more for less.

Easy 30-day returns · 12-month warranty

Add these too
Add $50.00 for Free Urban delivery ($88.00 for Rural)
Urban $50 Rural $88

A BME280 sensor on a small four-pin breakout board that runs from 3.3V or 5V. One chip reads air temperature, relative humidity and air pressure, which makes it a good pick for an Arduino Uno or Nano weather station, a room climate sensor in Home Assistant, or a logger that tracks pressure trends.

The board has a regulator and level shifting on the I2C lines, so it connects straight to a 5V Arduino Uno or Nano with no converter. Power VIN from your board's own logic voltage: 5V on an Uno or Nano, 3V3 on an ESP32, Pico or Raspberry Pi. It's I2C only, and the address is fixed on the board at 0x76 or 0x77, so the test sketch checks both. The 4-pin header comes loose for you to solder. Need SPI, or a bare 3.3V board? See our BME280 3.3V module. If you only need pressure and temperature, our GY-BMP280 module costs less.

Specifications

SensorBME280, chip ID 0x60
MeasuresTemperature, humidity and air pressure
Supply (VIN)3.3V to 5V, regulator on the board
InterfaceI2C only, level shifted, address 0x76 or 0x77
Humidity0 to 100% RH, ±3% RH typical
Pressure300 to 1100 hPa, ±1 hPa typical
Temperature-40 to +85°C, ±0.5°C typical from 0 to 65°C
Board sizeApprox. 13.0 x 10.5 mm, one 3 mm hole
In the box1 module and a 4-pin header, not soldered

Datasheets

Wiring & getting started

Wiring diagramESP32
BME280 5V module wired to an ESP32: VIN to 3V3, GND to GND, SDA to GPIO21, SCL to GPIO22
Tap the drawing to open it full size.
  1. Solder the header

    Solder the 4-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.

  2. Wire it up

    On an Uno or Nano: VIN to 5V, GND to GND, SDA to A4 and SCL to A5. On an ESP32: VIN to 3V3 (not 5V), GND to GND, SDA to GPIO21 and SCL to GPIO22. On a Pico: VIN to 3V3(OUT), SDA to GP4 and SCL to GP5. The signal lines sit at whatever voltage VIN has, so a 3.3V board needs VIN on 3.3V.

  3. 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 5V module test. Works on a 3.3V or 5V board.
    // VIN to 3.3V or 5V, 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);
      uint8_t addr = 0x76;
      bool ok = bme.begin(addr);
      if (!ok) {
        addr = 0x77;  // the board has one fixed address, so try the other one
        ok = bme.begin(addr);
      }
      if (!ok) {
        Serial.println("No BME280 found at 0x76 or 0x77. Check the wiring.");
        while (true) delay(10);
      }
      Serial.print("Found at 0x");
      Serial.print(addr, HEX);
      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);
    }
  4. Check it works

    You should see the address it found (0x76 or 0x77) and 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 VIN has power.

  5. Use it in ESPHome (optional)

    ESPHome looks for the sensor at 0x77 unless you tell it otherwise, so set address to the one the sketch printed.

    ESPHome configESPHome YAML
    i2c:
      sda: GPIO21
      scl: GPIO22
    
    sensor:
      - platform: bme280_i2c
        address: 0x76   # use the address the test sketch printed
        temperature:
          name: "Temperature"
        humidity:
          name: "Humidity"
        pressure:
          name: "Pressure"

Frequently Asked Questions

Answers to the questions buyers ask most.

How do I know it's a BME280 and not a BMP280?
The board is printed BME/BMP280 because the same board is made with either chip. Run the test sketch and read the chip ID it prints. A BME280 reads 0x60 and measures humidity. A BMP280 reads 0x58, has no humidity sensor, and the Adafruit BME280 library won't start with one. The BME280 sits in a square metal case with a small hole in the top; the BMP280 case is narrower and rectangular.
Can I use it with an Arduino Uno or Nano?
Yes, with no converter. Connect VIN to 5V, GND to GND, SDA to A4 and SCL to A5. The board has a regulator for the sensor and level shifting on the I2C lines.
Can I use it with an ESP32, Pico or Raspberry Pi?
Yes, but power VIN from 3.3V, not 5V. The SDA and SCL lines sit at the VIN voltage, so 5V on VIN puts 5V on pins that only take 3.3V. On a Raspberry Pi, VIN goes to pin 1 (3.3V), GND to pin 6, SDA to pin 3 and SCL to pin 5, then turn on I2C in raspi-config.
What I2C address does it use?
0x76 or 0x77. It's fixed on the board and there is no pin to change it, so run the test sketch, which tries both and prints the one it finds. Use that address in your own code and in ESPHome.
Can I use two of them on the same I2C bus?
Not if they share an address, because the address can't be changed on this board. Put the second one on a separate I2C bus or behind an I2C multiplexer.
Does it have SPI?
No. Only VIN, GND, SDA and SCL are brought out, so it's I2C only. If you need SPI, use our BME280 3.3V module.
Why does it read a degree or two warmer than the room?
The sensor measures its own chip temperature, and it warms slightly each time it takes a reading. Take readings less often (once a minute is plenty for a weather station) and mount the board on short wires away from the controller and any regulator. If it still reads high, set a temperature offset in your code or in ESPHome.
Why is the humidity reading off after soldering or cleaning?
Heat, flux and solvents such as isopropyl alcohol upset the humidity sensor for a while. Keep cleaner off the sensor, and if the reading has drifted, leave the board in normal room air for about five days and it settles back.

Have a Question About This Product?

Send it through and we will get back to you by email.

Why Buy from NZN

Useful parts, fair prices and someone local to help.

I'm Lukas, an engineering student and maker based in Te Awamutu. NZN grew out of a CNC build that dragged on for months because every missing cable, bolt or electronic part meant another overseas order. I started the shop so Kiwi makers can spend more time building and less time waiting for the next parcel.

  • Stocked here in New Zealand

    Orders are picked and packed in Te Awamutu and dispatched within 24 hours every day, excluding public holidays. NZ Post target delivery is 1-2 days urban and 2-4 days rural. In Te Awamutu and Kihikihi you can choose local delivery at checkout: same day if you order before 8am, otherwise next day.

  • Fair prices, clearly shown

    Prices are kept competitive and quantity discounts are shown upfront. Free delivery starts at $50 for urban addresses and $88 for rural addresses.

  • 30-day returns and 12-month warranty

    Get in touch if something is not right and we will help sort it.

  • Practical product support

    Ask a product question and get help from a real person in New Zealand who knows the range.

You may also like