SEN0236

SEN0236 Datasheet


Gravity I2C BME280 Environmental Sensor Temperature, Humidity, Barometer SKU SEN0236

Part Datasheet
SEN0236 SEN0236 SEN0236 (pdf)
PDF Datasheet Preview
Gravity I2C BME280 Environmental Sensor Temperature, Humidity, Barometer SKU SEN0236

Introduction

BME280 is an environmental sensor that integrates onboard temperature sensor, humidity sensor and barometer. The sensor is of high precision, multiple functions, and small size etc. It provides both SPI and I2C interfaces, which make it easy to make a fast prototypes. It can be widely used in environmental monitoring, story height measurement and Internet of Things IoT control and so on. Gravity I2C BME280 Environmental Sensor has based on BoSCH newest MEMS sensor MicroElectro-Mechanical System . It is very stable to compare with other kind of sensors, especially the air pressure measurement, the offset temperature coefficient is Pa/K, equiv. to cm at 1 °C temperature change. Therefore, the stable and multi-function make BME280 become a good choice in many scenes.

Specification
• Working
• Working
• Working ~+85
• Temperature Measuring Range -40 ~+85 , resolution of , deviation of
• Humidity Measuring Range 0~100%RH, resolution of 0.1%RH, deviation of ±2%RH
• Pressure Measuring Range 300~1100hPa
• Humidity Sampling Time 1s
• Dimension 22 * 25 mm/ * inches
• Weight 12g

Board Overview

Gravity I2C BME280 Environmental Sensor Layout

Num 1 2 3 4

Label + C D

Description 3.3~5V GND SCL

Tutorial

BME280 Environmental Sensor has two interface I2C and SPI. In this section, we'll show you two examples about how to use.

Requirements
• Hardware DFRduino UNO x 1 Gravity I2C BME280 Environmental Sensor x1 M-M/F-M/F-F Jumper wires
• Software Arduino IDE Version requirement V1.8+ , Click to Download Arduino IDE from BME280 Environmental Sensor Arduino Library Github How to install Libraries in Arduino IDE

Arduino I2C Connection Diagram

Arduino I2C Connection

Arduino I2C Sample Code
/*! * basicTestI2C.ino * DFRobot's and Approx altitude * [Get the module here] * This example read the and Altitude from

BME280, and then print them * [Connection and Diagram] * * 2016 * GNU Lesser General Public License * * [yangyang] * V1.0 * 2017-7-5 */
#include <DFRobot_BME280.h>
#define SEA_LEVEL_PRESSURE 1013.25f #define BME_CS 10

DFRobot_BME280 bme //I2C
float temp, pa, hum, alt;
void setup Serial.begin 115200 ;
// I2c default address is 0x77, if the need to change please modify bme.b egin Addr
if !bme.begin Serial.println "No sensor device found, check line or address!" while 1 ;

Serial.println "-- BME280 DEMO --" ;
void loop temp = bme.temperatureValue pa = bme.pressureValue hum = bme.humidityValue alt = bme.altitudeValue SEA_LEVEL_PRESSURE ;

Serial.print "Temp:" Serial.print temp Serial.println " C" ;

Serial.print "Pa:" ;

Serial.print pa Serial.println " Pa" Serial.print "Hum:" Serial.print hum Serial.println " %" Serial.print "Alt:" Serial.print alt Serial.println " m" Serial.println "------END------" delay 1000 ;

Expected Results

Arduino Serial Monitor

Arduino SPI Connection Diagram

Arduino SPI Connection

Arduino SPI Sample Code
/*! * basicTestSPI.ino * DFRobot's and Approx altitude * [Get the module here] * This example read the and Altitude from

BME280, and then print them * [Connection and Diagram] * * 2016 * GNU Lesser General Public License * * [yangyang] * V1.0 * 2017-7-5
#include <DFRobot_BME280.h>
#define SEA_LEVEL_PRESSURE #define BME_CS 10
More datasheets: BD897A-S | PTS645SM43TR | CS42L92-CWZR | U4090B-PFNG3Y | U4090B-PFNY | PI5PD2556ZCEX | PI5PD2557ZCEX | PI5PD2557ZCEX-2017 | 74ALVC162373TX | 74ALVC162373T


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0236 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0236 509130