Breakout board met Bosch BME280 voor meting van temperatuur, luchtvochtigheid en luchtdruk op 3.3V.
SKU: OT711-D64 Número do artigo: NB078 EAN: 4184669585804 Localização: D06.04
Alternativa
Módulo digital de sensor de pressão barométrica BMP280
€ 1,40
Ver esta alternativa
Como ligar o Sensor 3-em-1 Temperatura Humidade e Pressão Atmosférica | 3.3V | I2C e SPI | Bosch BME280 a um Arduino UNO ou ESP32, com um sketch de exemplo que podes carregar já.
This project reads ambient temperature, relative humidity, and atmospheric pressure using a 3.3V BME280 sensor connected to an Arduino Uno. A 4-channel bidirectional logic level shifter safely translates the 5V I2C signals down to 3.3V. Sensor readings are output to the Serial Monitor every two seconds.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : BME280 Temperature, Humidity & Pressure Sensor Demo
* Board : Arduino UNO (arduino:avr:uno)
* Parts : Bosch BME280 3.3v 3-in-1 sensor Temperature Humidity and Air Pressure
* Libraries : Adafruit BME280 Library 2.3.0, Adafruit Unified Sensor 1.1.15
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
Adafruit_BME280 bme;
void setup() {
Serial.begin(115200);
while (!Serial) delay(10);
Serial.println(F("Initializing BME280 sensor..."));
// SDO tied to GND sets address to 0x76
if (!bme.begin(0x76, &Wire)) {
Serial.println(F("Could not find BME280 sensor. Check wiring!"));
while (1) delay(100);
}
Serial.println(F("BME280 sensor ready!"));
}
void loop() {
float temperature = bme.readTemperature();
float humidity = bme.readHumidity();
float pressure = bme.readPressure() / 100.0F; // Convert Pa to hPa
Serial.print(F("Temperature: "));
Serial.print(temperature, 1);
Serial.print(F(" °C | Humidity: "));
Serial.print(humidity, 1);
Serial.print(F(" % | Pressure: "));
Serial.print(pressure, 1);
Serial.println(F(" hPa"));
delay(2000);
}
Bibliotecas necessárias: Adafruit BME280 Library 2.3.0, Adafruit Unified Sensor 1.1.15
Wiring diagram and example code generated by Codey.online — https://www.codey.online
This project reads ambient temperature, relative humidity, and barometric pressure from the Bosch BME280 sensor using the I2C interface. Connect the 3.3V sensor directly to the ESP32 power and default I2C pins (GPIO 21 and 22). Open the Serial Monitor at 115200 baud to view real-time environmental measurements updated every two seconds.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : ESP32 BME280 Weather Sensor Monitor
* Board : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
* Parts : Bosch BME280 3.3v 3-in-1 sensor Temperature Humidity and Air Pressure
* Libraries : Adafruit BME280 Library 2.3.0, Adafruit Unified Sensor 1.1.15
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BME280.h>
Adafruit_BME280 bme;
void setup() {
Serial.begin(115200);
while (!Serial) delay(10);
Serial.println("Initializing BME280 sensor...");
// Default I2C address is usually 0x76 or 0x77
if (!bme.begin(0x76) && !bme.begin(0x77)) {
Serial.println("Could not find a valid BME280 sensor! Check wiring.");
while (1) delay(100);
}
Serial.println("BME280 initialized successfully.");
}
void loop() {
float temperature = bme.readTemperature();
float humidity = bme.readHumidity();
float pressure = bme.readPressure() / 100.0F; // Convert Pa to hPa
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.println(" %");
Serial.print("Pressure: ");
Serial.print(pressure);
Serial.println(" hPa");
Serial.println("------------------------");
delay(2000);
}
Bibliotecas necessárias: Adafruit BME280 Library 2.3.0, Adafruit Unified Sensor 1.1.15
Wiring diagram and example code generated by Codey.online — https://www.codey.online
ATENÇÃO versão 3.3V. Adequado para ESP8266, ESP32, Wemos D1 etc.
GY-BME280 é uma Breakout Board com um sensor Bosch Sensortec ME280 de Temperatura, Humidade e Pressão Atmosférica.
A placa tem um endereço I2C selecionável (ponte de solda GS2)
- Resistências pull-up I2C
- Inclui header de 7 pinos 2.54mm
- dois furos de montagem de 3.5mm.
Características do BME280
- Marca do sensor: Bosch
- Formato do sensor 2.5mm x 2.5mm x 0.93mm LGA com tampa metálica
- Interface digital I2C (até 3.4 MHz) e SPI (3 e 4 fios, até 10 MHz)
- Tensão de alimentação: 3V a 3.6 V
- Consumo de corrente 1.8 uA @ 1Hz humidade e temperatura, 2.8 uA @ 1Hz pressão e temperatura. 3.6 uA @ 1Hz humidade, pressão e temperatura e 0.1 uA em modo de suspensão
- Faixa do sensor de temperatura -40 / +85 C,
- Faixa de humidade; 0 - 100% humidade rel.
- Faixa de pressão atmosférica: 300- 1100 hPa
- Tanto I2C como SPI
Dimensões
Comprimento: 1,47cm
Largura: 1,14cm
Altura: 0,23cm

| Dimensões | 1,47cm x 1,14cm x 0,23cm |
|---|---|
| Passo dos pinos | 2,54 mm |
| Interface | I2C |
| Adequado para | ESP8266, ESP32, Wemos D1 |
| Faixa de temperatura | -40 / +85 C |
| Tensão de alimentação | 3V a 3.6 V |
| Furos de montagem | 3.5mm |
| Humidade máxima | 0 - 100% rel. |
| Formato do sensor | 2.5mm x 2.5mm x 0.93mm |
| Pressão atmosférica | 300- 1100 hPa |
Ainda sem avaliações.
Não ficas satisfeito? Tens 30 dias após a receção para devolver o produto.
Tudo sobre devoluções
Sensor 3-em-1 Temperatura Humidade e Pressão Atmosférica | 3.3V | I2C e SPI | Bosch BME280