Python interface for BME68X sensor and BSEC
Project description
BME68X and BSEC2.0 for Python by pi3g
This Python extension enables you to read measurement data by the BME68X sensor and the BSEC2.0 library from BOSCH
How to install the extension without BSEC
- run 'pip3 install bme68x'
How to install the extension with BSEC
- unzip this folder to a location of your choice
- download the licensed BSEC2.0 library from BOSCH
- unzip it into the AirQuality folder, next to this README
- open a new terminal window inside the AirQuality folder
- execute: sudo python3 setup.py install
- this will build and install the extension
How to use the extension
- to import in Python use: 'import bme68x' or 'from bme68x import BME68X'
- see PythonDocumentation.md for reference
- to test the installation make sure you connected your BME68X sensor via I2C
- run the following code in a Python3 interpreter: from bme68x import BME68X BME68X(I2C_ADDR, 0).get_data()
- I2C_ADDR should be either 0x76 or 0x77
For documentation and examples please refer to our GitHub For feedback, bug reports or functionality requests send an E-mail to nathan@pi3g.com
pi3g is an official approved Raspberry Pi reseller, and a Coral Machine Learning Platform (from Google) distribution partner. We take care of all your Raspberry Pi and Coral related hardware and software development, sourcing, accessory and consulting needs! Check out our homepage and file your personal software or hardware request.
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
Built Distribution
File details
Details for the file bme68x-1.0.1.tar.gz
.
File metadata
- Download URL: bme68x-1.0.1.tar.gz
- Upload date:
- Size: 23.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e8c1f5ea818a5c0f21548ea135c50644f67af3e7e2013689d4e27e74fb0f09 |
|
MD5 | f5462db6c8e9fc6a9d7290827d07f5e8 |
|
BLAKE2b-256 | 64c33351fed8c325550dbedf2ad1cc0d98c67ee7ec5bb7bcdf083d0df7e95901 |
File details
Details for the file bme68x-1.0.1-cp37-cp37m-linux_armv7l.whl
.
File metadata
- Download URL: bme68x-1.0.1-cp37-cp37m-linux_armv7l.whl
- Upload date:
- Size: 66.5 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd72b6256065c2858d44a93a4340ba03361229eb6be6e2901fb7ad31b9e823a |
|
MD5 | 1dc589e46c96bc31ee39293b2b23299e |
|
BLAKE2b-256 | 34cfa13ce6fe24c9f3145e6a80352ff663f60bea49233fe7409fce2caf717ce2 |