Python library for the bme280 temperature, pressure and humidity sensor
Project description
BME280 Temperature, Pressure, & Humidity Sensor
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
sudo pip install pimoroni-bme280 smbus
Latest/development library from GitHub:
git clone https://github.com/pimoroni/bme280-python
cd bme280-python
sudo ./install.sh
Changelog
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
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
pimoroni-bme280-0.1.0.tar.gz
(5.5 kB
view hashes)
Built Distributions
Close
Hashes for pimoroni_bme280-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f579f5d4012c28df669095dc6dcf6382c884e9504653a76d617e11fd8ba3156 |
|
MD5 | e97b6754c8e53eab234e9f30ec5535b2 |
|
BLAKE2b-256 | aac81251f134218b91418e341af89b23a7ceb90001bdd7c07e129717977de3a4 |
Close
Hashes for pimoroni_bme280-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24f562c173b13da4c26e7c63d4ec3d3269992bca38646b91650e5aacd83777d8 |
|
MD5 | 72f52a953ea4e05131fc0388781fd1a2 |
|
BLAKE2b-256 | 61be466246d3333466baf21bbcd55660c864f54ac197228128d6a3c398689c79 |