84 gas_resistance_sensor_ = gas_resistance_sensor;
96 void set_heater(uint16_t heater_temperature, uint16_t heater_duration);
100 void setup()
override;
101 void dump_config()
override;
102 float get_setup_priority()
const override;
103 void update()
override;
107 uint8_t calc_heater_resistance_(uint16_t
temperature);
109 uint8_t calc_heater_duration_(uint16_t duration);
114 float calc_temperature_(uint32_t raw_temperature);
116 float calc_pressure_(uint32_t raw_pressure);
118 float calc_humidity_(uint16_t raw_humidity);
120 float calc_gas_resistance_(uint16_t raw_gas, uint8_t range);
122 uint32_t calc_meas_duration_();
129 uint16_t heater_temperature_{320};
130 uint16_t heater_duration_{150};
BME680CalibrationData calibration_
BME680IIRFilter
Enum listing all IIR Filter options for the BME680.
void set_humidity_sensor(sensor::Sensor *humidity_sensor)
void set_pressure_sensor(sensor::Sensor *pressure_sensor)
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
This class simplifies creating components that periodically check a state.
void set_gas_resistance_sensor(sensor::Sensor *gas_resistance_sensor)
int8_t ambient_temperature
BME680Oversampling
Enum listing all oversampling options for the BME680.
Implementation of SPI Controller mode.
Base-class for all sensors.
Struct for storing calibration data for the BME680.
This Class provides the methods to read/write bytes from/to an i2c device.