https://github.com/pimoroni/bme280-python
Python library for the BME280 temperature, pressure and humidity sensor
https://github.com/pimoroni/bme280-python
pypi-package
Last synced: 4 months ago
JSON representation
Python library for the BME280 temperature, pressure and humidity sensor
- Host: GitHub
- URL: https://github.com/pimoroni/bme280-python
- Owner: pimoroni
- License: mit
- Created: 2019-05-07T16:32:06.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T14:21:18.000Z (12 months ago)
- Last Synced: 2024-12-16T17:47:48.677Z (4 months ago)
- Topics: pypi-package
- Language: Python
- Homepage: https://shop.pimoroni.com/products/bme280-breakout
- Size: 63.5 KB
- Stars: 65
- Watchers: 13
- Forks: 25
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# BME280 Temperature, Pressure, & Humidity Sensor
[](https://github.com/pimoroni/bme280-python/actions/workflows/test.yml)
[](https://coveralls.io/github/pimoroni/bme280-python?branch=main)
[](https://pypi.python.org/pypi/pimoroni-bme280)
[](https://pypi.python.org/pypi/pimoroni-bme280)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`