GERUI BME280

GERUI BME280 Temperature, Humidity, and Barometric Pressure Sensor Module User Manual

1. Introduction

The GERUI BME280 is a high-precision digital sensor module capable of measuring environmental temperature, relative humidity, and barometric pressure. This compact module is designed for integration into various electronic projects, including environmental monitoring, drone navigation, HVAC systems, weather stations, and smart home applications. Its small size and versatile interface options make it an ideal choice for developers and hobbyists.

2. Product Overview

The BME280 sensor is soldered onto a breakout board, providing easy access to its functionalities. It communicates via both I2C and SPI interfaces, supporting 3-wire and 4-wire SPI configurations. The module's ability to measure pressure allows for the calculation of altitude, making it suitable for applications requiring atmospheric data.

GERUI BME280 sensor module top view with pins

Image 2.1: Top view of the GERUI BME280 sensor module, showing the sensor chip and connection pins.

GERUI BME280 sensor module bottom view

Image 2.2: Bottom view of the GERUI BME280 sensor module, displaying the board's circuitry.

3. Specifications

FeatureSpecification
Model NumberBME280
BrandGERUI
Dimensions (L x W x H)8 x 4 x 1 cm
Weight20 Grams
MaterialPlastic, Metal
Maximum Supply Voltage5 Volts
Pressure Measurement Accuracy±1 hPa
Temperature Measurement Accuracy±1.0 °C
Upper Service Temperature85 °C
Output TypeDigital
Mounting TypeSurface Mount
InterfacesI2C, SPI (3-wire, 4-wire)
Included Components2 BME280 5V Barometric Sensors
GERUI BME280 sensor module with dimensions

Image 3.1: Dimensions of the GERUI BME280 sensor module and its pin header.

4. Setup

The BME280 module can be connected to a microcontroller using either I2C or SPI communication protocols. Ensure your microcontroller supports the chosen interface and voltage levels.

4.1 Pinout Description

GERUI BME280 sensor module pinout diagram

Image 4.1: Pinout diagram for the BME280 sensor module.

  • VIN: Power Supply Input (3.3V to 5V).
  • GND: Ground.
  • SCL: I2C Clock Line / SPI Clock Line.
  • SDA: I2C Data Line / SPI Data In.

4.2 I2C Connection

For I2C communication, connect the module as follows:

  • VIN to 3.3V or 5V (depending on your microcontroller and module version).
  • GND to Ground.
  • SCL to your microcontroller's SCL pin.
  • SDA to your microcontroller's SDA pin.

The BME280 typically has two possible I2C addresses: 0x76 or 0x77. The address is usually determined by a solder jumper or a specific pin on the module. Refer to the module's specific board layout or datasheet for details on how to select the I2C address. The default address is often 0x76.

4.3 SPI Connection

For SPI communication, additional pins are typically used, including Chip Select (CS) and Data Out (SDO). Consult the specific module's schematic for detailed SPI wiring instructions, as configurations can vary for 3-wire and 4-wire SPI.

GERUI BME280 sensor module schematic diagram

Image 4.2: Example schematic diagram for BME280 integration, showing power regulation and interface connections.

5. Operating Instructions

Once connected, the BME280 sensor can be initialized and read using appropriate libraries for your chosen microcontroller platform (e.g., Arduino, ESP32). Libraries typically provide functions to:

  • Initialize the sensor.
  • Read temperature in Celsius or Fahrenheit.
  • Read relative humidity in percentage.
  • Read barometric pressure in hPa (hectopascals) or kPa.
  • Calculate approximate altitude based on pressure readings and a reference sea-level pressure.

Ensure your code includes error handling for sensor communication failures.

6. Maintenance

The BME280 sensor is a sensitive electronic component. Proper handling and environmental conditions are crucial for its longevity and accuracy.

  • Avoid Moisture: The sensor can be permanently affected by exposure to moisture, such as dew or rain. If the sensor gets wet, it may report 100% humidity readings, which can be difficult to correct without specialized recalibration.
  • Cleanliness: Keep the sensor area free from dust and debris, which can interfere with accurate readings.
  • Static Discharge: Handle the module with care to prevent electrostatic discharge (ESD), which can damage electronic components.
  • Temperature Limits: Operate the sensor within its specified temperature range (up to 85 °C) to prevent damage.

7. Troubleshooting

  • Sensor Not Detected:
    • Verify all wiring connections (VIN, GND, SCL, SDA) are correct and secure.
    • Ensure the power supply voltage is within the acceptable range (3.3V to 5V).
    • Check the I2C address. The BME280 typically uses 0x76 or 0x77. Confirm the address configured in your code matches the module's setting.
    • If using SPI, ensure the correct Chip Select (CS) pin is used and enabled.
  • Inaccurate Readings:
    • Humidity: If humidity reads 100% constantly, the sensor may have been exposed to moisture. Ensure it is kept dry.
    • Temperature/Pressure: Ensure the sensor is not placed in direct sunlight, near heat sources, or in drafts that could affect readings.
    • Verify that the sensor library is correctly configured and calibrated if applicable.
  • Communication Errors:
    • Check for loose connections or damaged wires.
    • Ensure the microcontroller's I2C/SPI bus is not overloaded with too many devices.

© 2023 GERUI. All rights reserved.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.