Crate bosch_bme680

source ·
Expand description

This a pure rust crate to read out sensor data from the BME680 environmental sensor from bosch.

Notes: This library only supports reading out data with I²C but not SPI and only works for the BME680 and NOT for the BME688 though this could be implemented. The official c implementation from Bosch was used as a reference.

For further information about the sensors capabilities and settings refer to the official product page.

Structs

Sensor driver
Used to set Sensor settings. All options not set by the builder are set to default values.
Used to enable gas measurment. Default values are 150ms heater duration and 300°C heater target temperature
Measurment data returned from the sensor

Enums

All possible errors
Use Primary if SDO connector of the sensor is connected to ground and Secondary if SDO is connected to Vin.
IIR filter control applies to temperature and pressure data.
Oversampling settings for temperature, humidity, pressure