Skip to content

BME280 Temperature, Humidity and Pressure Sensor and Sonoff Basic with Tasmota

reloxx13 edited this page Oct 29, 2018 · 3 revisions

"BME280 sensor, an environmental sensor with temperature, barometric pressure and humidity", see Datasheet.

Connect BME280 to Sonoff-Basic based on the GPIO locations

  • BME280-3.3V -> Sonoff-3.3V
  • BME280-GND -> Sonoff-GND
  • BME280-SCL -> Sonoff-TX
  • BME280-SDA -> Sonoff-RX

Wirering BME280 with Sonoff BASIC

NOTE:
YOU NEED TO DISABLE SERIAL LOG COMPLETLY TO ALLOW SENSORS ON TX/RX PINS

On Tasmota web interface go to „Configuration->Configure Module“ and set

GPIO setting

Make sure I2C sensor is enabled before compiling:

// -- I2C sensors --------------------------------- #define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram)

#ifdef USE_I2C #define USE_BMP // Enable BMP085/BMP180/BMP280/BME280 sensor (I2C address 0x76 or 0x77) (+4k code)

This guide was tested with:

Tasmota-Version for BE280

Sensordata

Clone this wiki locally
You can’t perform that action at this time.