Gravity: I2C BMP280 Barometer Sensor SKU: SEN0226
Introduction
The upgraded Pressure & Altitude Sensor Gravity BMP280 by DFRobot has the functions both on
detecting temperature and air pressure. It can be connected to Arduino, and controlled by Arduino
code. Compared to the old edition BMP180, BMP280 has lower power consumption, more precise
measurement, lower noise and higher sampling frequency.
Normally, pressure sensors measure the air pressure and the temperature. Because of the relation
between the air pressure and the altitude, we can use the air pressure sensor to measure the
altitude and the building height.
BMP280 is also suitable for navigation, by the use of Inertia Measurement Unit (IMU), BMP280 can
be used in GPS refinement, 3D in-door navigation and floor detection.
The BMP280 is based on Bosch’s proven Piezo-resistive pressure sensor technology featuring high
EMC robustness, high accuracy and linearity and long term stability. The relative accuracy is ±0.12
hPa, which is equivalent to ±1 m difference in altitude. The operating temperature range for long tern
stability is 0 ~65 .
Attention: because the sensor is very sensitive to the environment, please don’t touch it.
Applications
Enhancement of GPS navigation (e.g. time-to-first-fix improvement, dead-reckoning, slope detection)
Indoor navigation (floor detection, elevator detection)
Outdoor navigation, leisure and sports applications
Weather forecast
Health care applications (e.g. spirometry)
Vertical velocity indication (e.g. rise/sink speed)
Specification
Operating Voltage: 3.3V/5V
Operating Current: 2.7µA @ 1 Hz sampling frequency
Pressure Measurement Range: 300 ~ 1100 hPa (equivalent to +9000…-500 m above/below sea
level)
Relative Accuracy: ±0.12 hPa, equiv. to ±1 m (@25 )
Temperature Measurement Range: 0 ~65
Temperature Accuracy: 0.01
Operating Temperature range: :-40 ~+85
Dimension: 30mm*22mm
Interface: Gravity-I2C 4pin
Weight: 12g
Board Overview
Gravity:
I2C
BMP280
Baromete
r Sensor
Label
Description
SDA
I2C Data
SCL
I2C Clock
GND
GND
VCC
3.3/5V
Tutorial
To measure the air pressure and temperature of the local environment, and calculate the altitude of
the sensor.
Requirements
Hardware
DFRduino UNO (or similar) x 1
Gravity: I2C BMP280 Barometer Sensor x1
M-M/F-M/F-F Jumper wires
Software
Arduino IDE Click to Download Arduino IDE from Arduino®
https://www.arduino.cc/en/Main/Software%7C
Connection Diagram
Sample Code
Download BMP280 library. How to install Libraries in Arduino IDE
https://github.com/DFRobot/DFRobot_BMP280 https://www.arduino.cc/en/Guide/Libraries#.UxU8mdzF9H0%7C
Copy the following code to Arduino IDE and upload to your Arduino
/*!
* @file bmp280test.ino
* @brief DFRobot's Temperature & Barometer.
* @n This example read the Temperature, Barometer and Altitude from BMP280,
and then print them
*
* @copyright
[DFRobot](http://www.dfrobot.com), 2016
* @copyright
GNU Lesser General Public License
*
* @version
* @date
V1.0
2016-12-06
*/
#include
#include "DFRobot_BMP280.h"
DFRobot_BMP280 bmp280;
void setup() {
Serial.begin(9600);
Serial.println("BMP280 demo");
if (!bmp280.begin()) {
Serial.println("Could not find a valid BMP280 sensor!");
while (1);
}
}
void loop() {
Serial.print("Temperature = ");
Serial.print(bmp280.readTemperatureValue());
Serial.println(" *C");
Serial.print("Pressure = ");
Serial.print(bmp280.readPressureValue());
Serial.println(" Pa");
Serial.print("Altitude = ");
Serial.print(bmp280.readAltitudeValue(1013.25)); // this should be adjust
ed to your local forcase
Serial.println(" m");
Serial.println();
delay(2000);
}
Expected Results
For any questions, advice or cool ideas to share, please visit the DFRobot Forum.
https://www.dfrobot.com/wiki/index.php/Gravity:_I2C_BMP280_Barometer_Sensor_SKU:_SEN0226 6-6-17
很抱歉,暂时无法提供与“SEN0226”相匹配的价格&库存,您可以联系我们找货
免费人工找货