Skip to main content

BME280 Temperature, Pressure, & Humidity Sensor

Build Status Coverage Status PyPi Package Python Versions

Suitable for measuring ambient temperature, barometric pressure, and humidity, the BME280 is a great indoor environmental sensor.

Pre-requisites

You must enable:

  • i2c: sudo raspi-config nonint do_i2c 0

You can optionally run sudo raspi-config or the graphical Raspberry Pi Configuration UI to enable interfaces.

Installing

Stable library from PyPi, the smbus library is also needed:

  • Just run python3 -m pip install pimoroni-bme280

Latest/development library from GitHub:

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

1.0.0

  • Repackage to hatch/pyproject.toml
  • Require i2cdevice>=1.0.0 (smbus2)

0.1.1

  • Fix so package is included in .whl releases

0.1.0

  • Switch to setup.cfg
  • Match humidity compensation to BOSCH formula

0.0.2

  • Update to i2cdevice>=0.0.6 set/get API

0.0.1

  • Initial Release

Release files for pimoroni-bme280 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pimoroni-bme280 1.0.0
File Size Uploaded
pimoroni_bme280-1.0.0.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pimoroni-bme280 1.0.0
File Interpreter ABI Platform
pimoroni_bme280-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / pimoroni_bme280-1.0.0.tar.gz

Download URL pimoroni_bme280-1.0.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2cafc2b636535c5dc01df37c0b0bd8c0b5d0228da23a177ec8884c31db3ec05c
BLAKE2b-256 checksum
How to use checksums
696e9b34cf9149e23fdd521440ae6a2786e77d542a4ccefef8bc2d00341a1f71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / pimoroni_bme280-1.0.0-py3-none-any.whl

Download URL pimoroni_bme280-1.0.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7415a037ba3dd14ce40d705bb006e02f53b276c72aef75fda5ea86daef666a4f
BLAKE2b-256 checksum
How to use checksums
366c76303eaaf79a2e8c68b00875fa8191c422639568e4dc9a3c5ec5b9a34604
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.1

3 release files

0.1.0

3 release files

0.0.2

3 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page