Grove Barometer Sensor BME280

Grove - Barometer Sensor (BME280) is a breakout board for Bosch BMP280 high-precision, low-power combined humidity, pressure, and temperature sensor. This module can be used to measure temperature, atmospheric pressure and humidity accurately and fast. As the atmospheric pressure changes with altitude, it can also measure approximate altitude of a place. It can be connected to a microcontroller with I2C (integrated with Grove socket) or through SPI bus. We have also provided highly abstracted library to make this more product easier to use.

The BME280 is an upgraded version of BMP180, and BME280 gets dramatic improvements from BMP180. BME280 comes with a smaller footprint, lower power consumption, lower noise measurements, higher resolutions for pressure and temperature, lower RMS noise, newly added SPI bus, more measuring modes, higher measuring rate, and newly added filter against environmental interference. Since the atmosphere pressure reading is affected by altitude and temperature, we have added compensation features. Hence, Grove - Barometer Sensor (BME280) will be more reliable in providing precise temperature, atmospheric pressure values, humidity and approximate altitude data.

Using the sensor is easy. For Seeeduino (compliant with Arduino), just connect this breakout board using Grove cable to I2C Grove connector. Then, use the provided library and example code from GitHub. If you are using an Arduino either use Base Shield v2.0 or simply connect the VCC pin to the 5V voltage pin, GND to ground, SCL to I2C Clock (Analog 5) and SDA to I2C Data (Analog 4).

Typical applications: Enhancement of GPS navigation, outdoor/indoor navigation, weather forecast, or any other project that requires accurate atmospheric pressure reading.

Features

  • Get more precise temperature, atmospheric pressure values, humidity and approximate altitude data fast.

  • Grove compatible and easy to use

  • Highly abstracted library for building projects quicker

!!!Tip More details about Grove modules please refer to Grove System

Specifications

Parameter

Value

Input voltage

3.3V or 5V

I/O voltage

3.3V or 5V

Operating current

0.4mA

Operating temperature

-40 - 85 ℃

Atmospheric pressure sensor measurement range

300 - 1100 hPa (1 hPa= one hundred Pa) with ±1.0 hPa accuracy

Temperature sensor measurement range

-40 - 85 ℃, with ±1.0°C accuracy

Humidity sensor measurements range

0% - 100% relative humidity , with ±3% accuracy

Measurement modes

Piezo & Temperature, forced or periodic

Chip

BME280(datasheet)

Interface Bus

SPI, I2C (use either one of them)

Weight

3.2 g (for breakout board), 9.3 g for whole package each piece

Dimensions

40 (length) × 20 (width) mm

Note

  1. We will show/describe how to select interface bus soon.

  2. The altitude is calculated by a combination of temperature and atmospheric pressure. No specialized components for altitude.

Platforms Supported

Note

  1. The above list is only for battery.

  2. If no version number is mentioned for a specific platform, it means this product supports all versions within this platform.

Hardware Overview

  • SPI soldering pads, a voltage monitoring circuit.

  • Interface bus selection pads , to select I2C bus, connect the two pads by soldering (it is connected by default); to select SPI bus, cut the two pads with a sharp knife or a soldering iron.

  • Slave board address selection pads, to select slave board address to avoid address collision.

    • If you have selected I2C bus, the default address for slave board is 0x76 (right-two pads are connected). If you want to use the address 0x77, connect only the left two (disconnect right two) by soldering.

      Tip You can disconnect pads with just a sharp knife.

    • If you have selected SPI bus, the default address for slave board is 0x76 (right-two pads are connected). If you want to use the address 0x77, disconnect all three pads.

Note Do not touch or shake or let this product in vibration when it works. This will cause interference and will affect the accuracy of data collected.

Package includes (main parts)

Parts name

Quantity

Grove - Barometer Sensor (BME280)

1 piece

1 piece

Getting Started

Now let us run some basic examples with this module.

With Arduino

This section shows you how to build a simple project with Arduino platform. Even if you are using a different type of main control board, these instructions and source code are useful.

Materials required

  • Grove - Barometer Sensor (BME280) × 1

  • Seeeduino 4.2 (fully compatible with Arduino) or Arduino UNO (other models are also fine) × 1

  • Grove - Base Shield × 1 (it is optional if you are using Seeeduino which has two I2C sockets on Seeeduino v4.2)

  • USB cable (type A to type B, for Arduino) × 1 or USB cable (Type-A to micro Type-B, for Seeeduino) × 1

Connections

Connect all parts as follows: the first picture shows connection with Seeeduino, the second one demonstrates connection with Arduino UNO:

Coding Work

You can find more demo sketches here and development library here.

  1. A typical demo code. You can upload code to main control board with Codebender.

  2. Download and upload the code. If you do not know how to upload an Arduino sketch, please visit https://www.arduino.cc/en/Guide/Windows for Windows user or https://www.arduino.cc/en/Guide/MacOSX for Mac user. You can see the result as below.

Tip If you use Seeeduino, please also select Boards under Tools as you upload sketches.

Resources

Last updated