Arduino – Temperatuur Luchtvochtigheid Barometrische druk sensor BME280

Hardware

BESTEL NU!

Informatie (ENG)

Description:
The BME280 Breakout Board is the easy way to measure pressure and humidity, and without taking up a lot of room. It gives you easy to solder 0.1″ headers, runs I2C or SPI, takes measurements at less than 1mA and idles less than 5uA (yes, microamps!).
The BME280 can be used to take pressure, humidity, and temperature readings. Use the data to get relative altitude changes, or absolute altitude if the locally reported barometric pressure is known.

Specificaties:
Temp: -40C to 85C
Humidity: 0 – 100% RH, =-3% from 20-80%
Pressure: 30,000Pa to 110,000Pa, relative accuracy of 12Pa, absolute accuracy of 100Pa
Altitude: 0 to 30,000 ft (9.2 km), relative accuracy of 3.3 ft (1 m) at sea level, 6.6 (2 m) at 30,000 ft.

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)

Schema

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) Alleen de Wire bibliotheek (wordt standaard bijgeleverd bij ArduinoIDE)

Aansluiten op de Arduino

Sluit de module aan volgens onderstaand overzicht:

Arduino Pin:BMe280 Pin:
+5v01 (+5V)
GND02 (GND)
A503 (SCL / Serial Clock line)
A404 (SCA /Serial Clock data)

Script

Het standaard adres is 0x76, pas deze regel aan indien een afwijkend adres is gebruikt:

#define BME280_ADDRESS 0x76

Het script leest de Temperatuur, Luchtvochtigheid en Luchtdruk uit:

Het resultaat


Bronnen:
osoyoo.com

Top