From 199b442c388eaa13df5a2537b89f85a3b1dd674d Mon Sep 17 00:00:00 2001 From: Raymond Mouthaan Date: Thu, 17 May 2018 08:44:47 +0200 Subject: [PATCH] BME680 added --- Wemos-D1-Mini.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/Wemos-D1-Mini.md b/Wemos-D1-Mini.md index b7bd003c..327919f5 100644 --- a/Wemos-D1-Mini.md +++ b/Wemos-D1-Mini.md @@ -268,7 +268,7 @@ After reboot of the device the displays the VEML6070 UV light intensity. ## BME280 Temperature, Humidity and Pressure Sensor (I2C) - + "BME280 sensor, an environmental sensor with temperature, barometric pressure and humidity" See [BME280 Temperature, Humidity and Pressure Sensor](https://www.adafruit.com/product/2652) for more information. @@ -299,6 +299,44 @@ After reboot of the device the displays temperature, humidity and pressure measu +## BME680 Temperature, Humidity, Pressure and Gas Sensor (I2C) + + + + +"BME680 sensor, an environmental sensor with temperature, humidity, barometric pressure and gas". See [BME680 - Temperature, Humidity, Pressure and Gas Sensor](https://www.adafruit.com/product/3660) for more information. + +Buy example: +- [Adafruit](https://www.adafruit.com/product/3660) +- [AliExpress](https://nl.aliexpress.com/item/CFsunbird-BME680-temperature-and-humidity-temperature-pressure-high-altitude-sensor/32852091387.html?spm=a2g0z.10010108.1000016.1.681262bcNmktSg&isOrigTitle=true) + + +_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 | + +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** + + + +After reboot of the device the displays temperature, humidity, pressure and gas measured by the BME680. + + + ## HC-SR04 Ultrasonic Sensor