Introduction

Documentation Status Discord

I2C and SPI driver for the Bosch BME280 Temperature, Humidity, and Barometric Pressure sensor

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

API Reference

adafruit_bme280

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 (seaLevelhPa) - which you must enter ahead of time)

humidity

The relative humidity in RH %

pressure

The compensated pressure in hectoPascals.

seaLevelhPa = None

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

temperature

The compensated temperature in degrees celsius.