Op werkdagen vóór 14:00 uur besteld = dezelfde dag verzonden en in 98% van de gevallen de volgende dag in huis. Gratis retourneren 30 dagen bedenktijd 1 jaar garantie

Aansluitschema en codevoorbeeld

Zo sluit je de 3-in-1 sensor Temperatuur Luchtvochtigheid en Luchtdruk | 5V | I2C | Bosch BME280 aan op een Arduino UNO of ESP32, met een voorbeeldsketch die je direct kunt uploaden.

BME280 Temperatuur-, Vochtigheids- en Druksensor

Dit project leest temperatuur, relatieve luchtvochtigheid en barometrische druk met de BME280-sensor via I2C. De omgevingswaarden worden elke twee seconden weergegeven in de Serial Monitor. Sluit de sensor gewoon rechtstreeks aan op de Arduino Uno 5V, GND en I2C-pinnen.

Aansluitschema: 3-in-1 sensor Temperatuur Luchtvochtigheid en Luchtdruk | 5V | I2C | Bosch BME280 op een Arduino UNO
Aansluitschema · Klik om te vergroten
Aansluittabel: 3-in-1 sensor Temperatuur Luchtvochtigheid en Luchtdruk | 5V | I2C | Bosch BME280 op een Arduino UNO
Aansluittabel · Klik om te vergroten
BME280_Temperature_Humidity_Pressure_Sen.ino · gecompileerd en getest
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : BME280 Temperature, Humidity & Pressure Sensor
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : Bosch BME280 5V 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("--- BME280 Sensor Test ---"));

  // Try I2C address 0x76 first, fallback to 0x77 if needed
  if (!bme.begin(0x76) && !bme.begin(0x77)) {
    Serial.println(F("Could not find a valid BME280 sensor! Check wiring."));
    while (1) {
      delay(100);
    }
  }

  Serial.println(F("BME280 sensor initialized successfully."));
}

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, 2);
  Serial.println(F(" °C"));

  Serial.print(F("Humidity:    "));
  Serial.print(humidity, 2);
  Serial.println(F(" %"));

  Serial.print(F("Pressure:    "));
  Serial.print(pressure, 2);
  Serial.println(F(" hPa"));

  Serial.println(F("---------------------------"));
  delay(2000);
}

Benodigde bibliotheken: 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

BME280-weersensor op ESP32

Leest de omgevings ताप?

Aansluitschema: 3-in-1 sensor Temperatuur Luchtvochtigheid en Luchtdruk | 5V | I2C | Bosch BME280 op een ESP32 DevKit V1
Aansluitschema · Klik om te vergroten
Aansluittabel: 3-in-1 sensor Temperatuur Luchtvochtigheid en Luchtdruk | 5V | I2C | Bosch BME280 op een ESP32 DevKit V1
Aansluittabel · Klik om te vergroten
BME280_Weather_Sensor_on_ESP32.ino · gecompileerd en getest
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : BME280 Weather Sensor on ESP32
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : Bosch BME280 5V 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("BME280 Sensor Test");

  // Default I2C address is 0x76 or 0x77
  if (!bme.begin(0x76) && !bme.begin(0x77)) {
    Serial.println("Could not find a valid BME280 sensor, check wiring!");
    while (1) delay(10);
  }

  Serial.println("BME280 sensor initialized successfully.");
}

void loop() {
  float temperature = bme.readTemperature();
  float humidity = bme.readHumidity();
  float pressure = bme.readPressure() / 100.0F; // hPa

  Serial.print("Temperature: ");
  Serial.print(temperature, 1);
  Serial.print(" °C | Humidity: ");
  Serial.print(humidity, 1);
  Serial.print(" % | Pressure: ");
  Serial.print(pressure, 1);
  Serial.println(" hPa");

  delay(2000);
}

Benodigde bibliotheken: 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

3-in-1 sensor Temperatuur Luchtvochtigheid en Luchtdruk | 5V | I2C | Bosch BME280

LET OP 5V versie. Geschikt voor Arduino UNO, Arduino NANO, Arduino MEGA en andere Arduino boards of microcontrollers die op 5V werken.

GY-BME280 is een Breakout Board met een Bosch Sensortec ME280 Temperatuur-, Luchtvochtigheid- en Lichtdruksensor.

- I2C pull-up weerstanden
- Inclusief 4 pin header 2.54mm

BME280 Kenmerken
- Merk sensor: Bosch
- Sensor formaat 2.5mm x 2.5mm x 0.93mm metalen deksel LGA
- Digitale interface I2C (tot 3.4 MHz) en SPI (3 en 4 draad, tot 10 MHz)
- Voedingsspanning: 5V
- Stroomverbruik 1.8 uA @ 1Hz vochtigheid en temperatuur, 2.8 uA @ 1Hz druk en temperatuur. 3.6 uA @ 1Hz vochtigheid, druk en temperatuur en 0.1 uA in slaapstand
- Bereik temperatuursensor -40 / +85 C,
- Bereik luchtvochtigheid; 0 - 100% rel. Luchtvochtigheid
- Bereik luchtdruk: 300- 1100 hPa
- I2C

  • I2C interface
  • SPI ondersteuning
  • 5V voeding
  • Arduino geschikt

Waarom kiezen voor dit product?

  • Drie metingen – Meet temperatuur, luchtvochtigheid en luchtdruk.
  • Geschikt voor 5V – Voor Arduino boards en microcontrollers op 5V.
  • Inclusief pull-ups – I2C pull-up weerstanden zijn al aanwezig.
  • Header meegeleverd – Inclusief 4-pins header van 2.54mm.
Specificaties
Pinafstand2,54 mm
Geschikt voorArduino UNO, Arduino NANO, Arduino MEGA en andere 5V Arduino boards of microcont
Temperatuurbereik-40 / +85 C
Voedingsspanning5V
Stroomverbruik1.8 uA @ 1Hz
Max. luchtvochtigheid0 - 100% rel. Luchtvochtigheid
Sensor formaat2.5mm x 2.5mm x 0.93mm
I2C frequentietot 3.4 MHz
SPI frequentietot 10 MHz
SPI draad3 en 4 draad
Luchtdruk300- 1100 hPa
Stroomverbruik slaapstand0.1 uA

In de verpakking

  • GY-BME280 breakout board
  • 4 pin header 2.54mm

Vaak samen gekocht

Totaal: € 24,04

Beoordelingen

★★★★★ 5,0/5 2 beoordelingen
  • ★★★★★Jan

    prima en op tijd

  • ★★★★★Jack Veraart

    Ik heb er meerdere en heb ze aan wemos esp en raspberry pi. Heel leuk om hier iets mee te maken.

Schrijf een beoordeling
Jouw beoordeling

Verzenden & retourneren

Verzending

  • Pakket met track & trace€ 7,70Binnen 24 uur
  • Ophalen bij PostNL locatie€ 7,40Binnen 24 uur
  • Brievenbuspakketje€ 3,70Binnen 2 werkdagen
  • Brievenbuspakketje 24 uur€ 4,55Binnen 24 uur
  • Afhalen in de winkelGratis
Alles over verzenden

Retourneren

Niet tevreden? Je hebt 30 dagen bedenktijd na ontvangst om het product terug te sturen.

Alles over retourneren

Eerder bekeken