Sensor – Temperatuur en Barometrische druk sensor BMP280

Hardware

BESTEL NU!

Informatie (ENG)

Description:
Bosch has stepped up their game with their new BMP280 sensor, an environmental sensor with temperature, barometric pressure that is the next generation upgrade to the BMP085/BMP180/BMP183. This sensor is great for all sorts of weather sensing and can even be used in both I2C and SPI!
This precision sensor from Bosch is the best low-cost, precision sensing solution for measuring barometric pressure with ±1 hPa absolute accuracy, and temperature with ±1.0°C accuracy. Because pressure changes with altitude, and the pressure measurements are so good, you can also use it as an altimeter with ±1 meter accuracy

Feature:
Model: GY-BMP280-3.3
Chip: BMP280
Power supply: 3 – 3.3V
Communication method: Standard IIC/SPI communication protocol
Air pressure range: 300-1100hPa
Pin pitch: 2.54mm
Module size: 11.5mm*15mm

Typical application:
– 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 application (e.g. sirometry)
– Vertical velocity indication (e.g. risk/sink speed)

Pinout

 
Pin:Functie:
1+3.3V (VCC)
2GND
3SCL
Serial Clock (line)
4SCA
Serial Clock (data)
5CSB (Chip Select)
6SDO (Serial Data Out)

Arduino

Sluit de module aan volgens onderstaand overzicht:

Arduino pin:BMP280 pin:
+5V+5V (VCC)
GNDGND
A5SCL
Serial Clock (line)
A4SCA
Serial Clock (data)

Script met adafruit BMP280 bibliotheek

 

Bibliotheek module adres aanpassen

Het adres van deze module kan gewijzigd worden tussen 0x76 en 0x77 door de SD0 lijn op GND of  +3.3v te zetten, controleer met de met de I2C scanner:

Het adres kan je aanpassen in het bestand : Adafruit_BMP280.h

Pas deze regel aan, van:

#define BMP280_ADDRESS                (0x77)

naar:

#define BMP280_ADDRESS                (0x76)

Sluit de BMP module aan zoals hierboven aangegeven.

Het resultaat

Arduino Library

Installatie van Arduino IDE libraries: Arduino info

Wat heb je nodig?
1) Adafruit Sensor library


Adafruit BMP280 Library

Informatie (ENG)

About the BMP280

This precision sensor from Bosch is the best low-cost sensing solution for measuring barometric pressure and temperature. Because pressure changes with altitude you can also use it as an altimeter!

Compatibility

MCU Tested Works Doesn’t Work Not Tested Notes
Atmega328 @ 16MHz X
Atmega328 @ 12MHz X
Atmega32u4 @ 16MHz X Use SDA/SCL on pins D2 & D3
Atmega32u4 @ 8MHz X Use SDA/SCL on pins D2 & D3
ESP8266 X SDA/SCL default to pins 4 & 5 but any two pins can be assigned as SDA/SCL using Wire.begin(SDA,SCL)
Atmega2560 @ 16MHz X Use SDA/SCL on pins 20 & 21
ATSAM3X8E X Use SDA/SCL on pins 20 & 21
ATSAM21D X
ATtiny85 @ 16MHz X
ATtiny85 @ 8MHz X
Intel Curie @ 32MHz X
STM32F2 X
  • ATmega328 @ 16MHz : Arduino UNO, Adafruit Pro Trinket 5V, Adafruit Metro 328, Adafruit Metro Mini
  • ATmega328 @ 12MHz : Adafruit Pro Trinket 3V
  • ATmega32u4 @ 16MHz : Arduino Leonardo, Arduino Micro, Arduino Yun, Teensy 2.0
  • ATmega32u4 @ 8MHz : Adafruit Flora, Bluefruit Micro
  • ESP8266 : Adafruit Huzzah
  • ATmega2560 @ 16MHz : Arduino Mega
  • ATSAM3X8E : Arduino Due
  • ATSAM21D : Arduino Zero, M0 Pro
  • ATtiny85 @ 16MHz : Adafruit Trinket 5V
  • ATtiny85 @ 8MHz : Adafruit Gemma, Arduino Gemma, Adafruit Trinket 3V


Download bibliotheek @ Adafruit * Github

Schema

Teardown

GEEN GEGEVENS

Datasheet

Fritzing

Downloads

GEEN GEGEVENS

Top