The BME680 sensor from Bosh Sensortec measures relative humidity, barometric pressure, ambient temperature and gas (VOC).
The open source driver provides raw measurements, such as the resistance of the gas sensing element.
The heater element of gas sensor affects the temperature and humidity measurements.
Compensated temperature and humidity measurements are available trough a closed source integration library (BSEC).
The BSEC provides three air quality estimates derived from raw measurements:
index of air quality (IAQ, 0-500);
CO2 equivalent (eCO2, ppm);
breath VOC (bVOC), ppm).
MCU680 module
The GY-MCU680v1 is a chinese module with an STM32F051K8 mirocontroller (μC) and 3.3V low-dropout regulator (LDO).
The μC acts as UART bridge, providing BSEC outputs from the BME680 sensor.
Serial communication
Under factory settings, the serial protocol is UART 9600 8N1 (3.3V/5V TTL).
The alternative 115200 BAUD rate will not be not supported.
BME680 sensor
The BME680 sensor from Bosh Sensortec measures relative humidity, barometric pressure, ambient temperature and gas (VOC). The open source driver provides raw measurements, such as the resistance of the gas sensing element.
The heater element of gas sensor affects the temperature and humidity measurements. Compensated temperature and humidity measurements are available trough a closed source integration library (BSEC). The BSEC provides three air quality estimates derived from raw measurements:
MCU680 module
The GY-MCU680v1 is a chinese module with an STM32F051K8 mirocontroller (μC) and 3.3V low-dropout regulator (LDO). The μC acts as UART bridge, providing BSEC outputs from the BME680 sensor.
Serial communication
Under factory settings, the serial protocol is UART 9600 8N1 (3.3V/5V TTL). The alternative 115200 BAUD rate will not be not supported.
Commands
A5 55 3F 39
: Output all data, factory settingA5 55 XX YY
: Select output data, whereXX
output selection (temperature_flag | rel_humidity_flag | pressure_flag | IAQ_flag|gas_flag | altitude_flag)YY
message checksum (0xA5+0x55 XX)%0x100
01
temperature_flag02
rel_humidity_flag04
pressure_flag08
IAQ_flag10
gas_flag20
altitude_flagA5 56 02 FD
: Automatic output, factory settingA5 56 01 FC
: Query outputA5 58 01 FE
: 115200 BAUD rateA5 58 02 FF
: 9600 BAUD rate, factory settingA5 5A 01 00
: Save setup. Save the current settings to flash and restart according to the saved settings.A5 5A 02 01
: Restore setting. Factory setting are restored, the baud rate is 9600, and all data is automatically output.Message format
Under the factory settings, the module provides 7 values packed on a 20 bit message. The following hexdump (
xxd -g1 -c20
) shows one message per lineto do