Wemos D1 Mini and BME680 Temperature, Humidity, Pressure and Gas Sensor - seurat-atreides/Sonoff-Tasmota GitHub Wiki

BME680 Temperature, Humidity, Pressure and Gas Sensor (I2C)

"BME680 sensor, an environmental sensor with temperature, humidity, barometric pressure and gas".

The BME680 takes those sensors to the next step in that it contains a small MOX sensor. The heated metal oxide changes resistance based on the volatile organic compounds (VOC) in the air, so it can be used to detect gasses & alcohols such as Ethanol, Alcohol and Carbon Monoxide, and perform air quality measurements. Note it will give you one resistance value, with overall VOC content, but it cannot differentiate gasses or alcohols.

See BME680 - Temperature, Humidity, Pressure and Gas Sensor for more information.

Buy example:

Note: before the BME680 can be used with Tasmota, make sure it's enabled. To enable it, remove the forward slashes before this line before you compile and upload tasmota to your Wemos device.

#define USE_BME680                                // Add additional support for BME680 sensor using Adafruit Sensor and BME680 libraries (+6k code)

Connecting the BME680 to a Wemos Mini D1

Wemos BME680
GND GND
3.3V VCC
D2 (gpio4) SDA
D1 (gpio5) SCL

Tasmota Configuration

In the Configuration -> Configure Module page, select the following:

  1. Module Type : 18 Generic
  2. D2 GPIO4 : 06 I2C SDA
  3. D1 GPIO5 : 05 I2C SCL

Tasmota Main

After reboot of the device the displays temperature, humidity, pressure and gas measured by the BME680.

⚠️ **GitHub.com Fallback** ⚠️