Arduino – 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+5V (VCC)
2GND
3SCL
Serial Clock (line)
4SCA
Serial Clock (data)
5CSB (Chip Select)
6SDO (Serial Data Out)

Wat heb je nodig?

1) Adafruit Sensor Driver bibliotheek
2) Adafruit BMP280 bibliotheek

Aansluiten op de 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

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

Top