BME680 Library  0.5
Library for the Bosch BME680 Air Quality sensor
bme680_read.c File Reference

Sensor driver for the Bosch BME680 air quality sensor. This library supports i2c and 4-wire SPI connections, reads temperature, pressure, relative humidity, and VOC levels, and provides limited support for adjusting the sensors settings. More...

#include "bme680.h"

Functions

char bme680_readSensor (bme680_t *dev)
 Instructs the BME680 sensor to take a reading.
Readings take approximately 200ms and should be retireved using bme680_temperature(), bme680_pressure(), bme680_humidity(), bme680_altitude(), and bme680_gasResistance(). More...
 

Detailed Description

Sensor driver for the Bosch BME680 air quality sensor. This library supports i2c and 4-wire SPI connections, reads temperature, pressure, relative humidity, and VOC levels, and provides limited support for adjusting the sensors settings.

Author
Matthew Matz
Version
0.5

Function Documentation

◆ bme680_readSensor()

char bme680_readSensor ( bme680_t dev)

Instructs the BME680 sensor to take a reading.
Readings take approximately 200ms and should be retireved using bme680_temperature(), bme680_pressure(), bme680_humidity(), bme680_altitude(), and bme680_gasResistance().

Note
The internal heating element for the gas (VOC) sensor can skew temperature and humidity readings if the sensor is read at intervals of under 3 seconds. If frequent temperature and humidity readings are desired, use bme680_heaterDisable() to prevent the heating element from turning on.
Parameters
*devpointer to the bme680 device.