Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
01-esp32_bme280.ino
README.md

README.md

ESP32 BME280

ESP32 Arduino code that prints BME280 temperature to the Arduino Serial Plotter (115200)

Dependencies

You'll need to install from the Arduino IDE those dependencies:

  • Adafruit BME280 Library by Adafruit (more info)
  • Adafruit Unified Sensor by Adafruit (more info)

Wiring

The BME280 sensor should be connected to the ESP32 over I2C.
If the BME280 I2C address is not 0x76, you'll need to modify the BME280_ADDRESS constant.
Depending on your board, you'll also need to modify the SDA and SCL pin names in the Wire.begin(SDA, SCL); call.

Wemos Lolin D32 Pro

  • SDA: 21
  • SCL: 22

Wemos Lolin32 Lite

  • SDA: 15
  • SCL: 2

DOIT Esp32 DevKit v1

  • SDA: 21
  • SCL: 22
You can’t perform that action at this time.