Skip to main content

Python library for the BMP280 temperature and pressure sensor

Project description

BMP280 Temperature, Pressure, & Altitude Sensor

Build Status Coverage Status PyPi Package Python Versions

Suitable for measuring ambient temperature, barometric pressure, and altitude, the BMP280 is a basic weather sensor.

Installing

Stable library from PyPi:

  • Just run sudo pip install bmp280

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/bmp280-python
  • cd bmp280-python
  • sudo ./install.sh

Changelog

0.0.4

  • Add support for forced-mode on demand i2c
  • Change altitude formula
  • Allow manual temperature compensation for altitude
  • Allow oversampling settings to be configured on __init__

0.0.3

  • Migrate to i2cdevice>=0.0.6 set/get API

0.0.2

  • Added get_altitude method
  • Corrected pressure to hPa

0.0.1

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bmp280-0.0.4.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page