adafruit_bme280 - Adafruit BME280 - Temperature, Humidity & Barometic Pressure Sensor

CircuitPython driver from BME280 Temperature, Humidity and Barometic Pressure sensor

  • Author(s): ladyada
class adafruit_bme280.Adafruit_BME280[source]

Driver from BME280 Temperature, Humidity and Barometic Pressure sensor

altitude

The altitude based on current pressure versus the sea level pressure (sea_level_pressure) - which you must enter ahead of time)

humidity

The relative humidity in RH % returns None if humidity measurement is disabled

iir_filter

Controls the time constant of the IIR filter Allowed values are the constants IIR_FILTER_*

measurement_time_max

Maximum time in milliseconds required to complete a measurement in normal mode

measurement_time_typical

Typical time in milliseconds required to complete a measurement in normal mode

mode

Operation mode Allowed values are the constants MODE_*

overscan_humidity

Humidity Oversampling Allowed values are the constants OVERSCAN_*

overscan_pressure

Pressure Oversampling Allowed values are the constants OVERSCAN_*

overscan_temperature

Temperature Oversampling Allowed values are the constants OVERSCAN_*

pressure

The compensated pressure in hectoPascals. returns None if pressure measurement is disabled

relative_humidity

The relative humidity in RH % returns None if humidity measurement is disabled

sea_level_pressure = None

Pressure in hectoPascals at sea level. Used to calibrate altitude.

standby_period

Control the inactive period when in Normal mode Allowed standby periods are the constants STANDBY_TC_*

temperature

The compensated temperature in degrees celsius.

class adafruit_bme280.Adafruit_BME280_I2C(i2c, address=<sphinx.ext.autodoc.importer._MockObject object>)[source]

Driver for BME280 connected over I2C

class adafruit_bme280.Adafruit_BME280_SPI(spi, cs, baudrate=100000)[source]

Driver for BME280 connected over SPI