BME280 5V Digital Barometric Pressure Sensor + Temperature + Humidity
In stock
Order before 12.00PM
Customer Reviews
Technical Specifications:
- Supply Voltage: 1.8 - 5V DC
- Interface: I2C (up to 3.4MHz)
- Operational Range:
- Temperature Range: -40 to +85°C
- Humidity Range: 0-100%
- Pressure Range: 300-1100 hPa
- Resolution:
- Temperature: 0.01°C
- Humidity: 0.008%
- Pressure: 0.18Pa
- Accuracy:
- Temperature: +-1°C
- Humidity: +-3%
- Pressure: +-1Pa
- I2C address:
- SDO LOW : 0x76
- SDO HIGH: 0x77
The BME280 is a versatile sensor that can measure temperature, humidity, and atmospheric pressure. It's commonly used in weather stations, environmental monitoring, and IoT projects.
1. Components Required
- Arduino Uno (or any other compatible board)
- BME280 sensor module
- Breadboard
- Jumper wires
2. Wiring Diagram
Arduino BME280
3.3V --------> VCC
GND --------> GND
SDA --------> SDA (A4 on Arduino Uno)
SCL --------> SCL (A5 on Arduino Uno)
3. Installing Required Libraries
To interface with the BME280, you need the Adafruit BME280 library. Install it via the Arduino IDE:
- Open Arduino IDE.
- Go to Sketch -> Include Library -> Manage Libraries.
- In the Library Manager, search for "Adafruit BME280" and install it.
4. Basic Code Example
#include <Wire.h> #include <Adafruit_Sensor.h> #include <Adafruit_BME280.h> Adafruit_BME280 bme; // I2C void setup() { Serial.begin(9600); if (!bme.begin(0x76)) { // Address of the BME280 sensor Serial.println("Could not find a valid BME280 sensor, check wiring!"); while (1); } } void loop() { Serial.print("Temperature = "); Serial.print(bme.readTemperature()); Serial.println(" *C"); Serial.print("Pressure = "); Serial.print(bme.readPressure() / 100.0F); Serial.println(" hPa"); Serial.print("Humidity = "); Serial.print(bme.readHumidity()); Serial.println(" %"); Serial.println(); delay(2000); }
5. Explanation
-
Wire.h: This library enables I2C communication between the Arduino and the sensor.
-
Adafruit_Sensor.h: A sensor library required by many Adafruit sensor libraries.
-
Adafruit_BME280.h: The specific library for the BME280 sensor.
-
bme.begin(0x76): Initializes the sensor with its I2C address (0x76 is common for most modules).
-
readTemperature(): Reads the temperature in Celsius.
-
readPressure(): Reads the atmospheric pressure in Pascals.
-
readHumidity(): Reads the relative humidity in percentage.
Request Stock
Recently viewed products
You might also be interested in...
Customers who bought this also bought...
General Questions
-
What is the price of the BME280 5V Digital Barometric Pressure Sensor + Temperature + Humidity in Bangladesh?
The latest price of BME280 5V Digital Barometric Pressure Sensor + Temperature + Humidity in Bangladesh is Special Price BDT 466.00 Regular Price BDT 507.00 . You can buy the BME280 5V Digital Barometric Pressure Sensor + Temperature + Humidity at the best price on BDTronics.com or contact us via phone.
-
Where to buy BME280 5V Digital Barometric Pressure Sensor + Temperature + Humidity in Bangladesh?
You can buy BME280 5V Digital Barometric Pressure Sensor + Temperature + Humidity online by ordering on our website or directly collect by visiting our store in person. We provide home delivery service all over BD with cash on delivery and online payment method. It usually takes 1-2 days to deliver inside Dhaka and 2-3 days outside Dhaka.