adafruit_bmp3xx
¶
CircuitPython driver from BMP3XX Temperature and Barometic Pressure sensor.
- Author(s): Carter Nelson
Implementation Notes¶
Hardware:
Software and Dependencies:
- Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
# * Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
-
class
adafruit_bmp3xx.
BMP3XX
¶ Base class for BMP3XX sensor.
-
altitude
¶ The altitude in meters based on the currently set sea level pressure.
-
filter_coefficient
¶ The IIR filter coefficient.
-
pressure
¶ The pressure in hPa.
-
pressure_oversampling
¶ The pressure oversampling setting.
-
reset
()¶ Perform a power on reset. All user configuration settings are overwritten with their default state.
-
sea_level_pressure
= None¶ Sea level pressure in hPa.
-
temperature
¶ The temperature in deg C.
-
temperature_oversampling
¶ The temperature oversampling setting.
-
-
class
adafruit_bmp3xx.
BMP3XX_I2C
(i2c, address=119)¶ Driver for I2C connected BMP3XX. Default address is 0x77 but another address can be passed in as an argument
-
class
adafruit_bmp3xx.
BMP3XX_SPI
(spi, cs)¶ Driver for SPI connected BMP3XX.