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 https://www.bosch-sensortec.com/software-tools/software/bme688-software/
- 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 see our GitHub
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.0.tar.gz
.
File metadata
- Download URL: bme68x-1.0.0.tar.gz
- Upload date:
- Size: 23.6 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 | 4f672dfa01ccf0247cc25c5e7c9c9114ab190d48ece63885db979d8e65b54876 |
|
MD5 | 780db38f30e8665b8011882c39c8fda0 |
|
BLAKE2b-256 | a1e0a77016920bfc4ecde59dd59f67249d983a057471c3ff38dd87e6031cc8c5 |
File details
Details for the file bme68x-1.0.0-cp37-cp37m-linux_armv7l.whl
.
File metadata
- Download URL: bme68x-1.0.0-cp37-cp37m-linux_armv7l.whl
- Upload date:
- Size: 66.4 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 | 59bb05783828e3f0ada442202f3e711279e989318c86caf2b4257400e1c30149 |
|
MD5 | e00f19fa51a87d7a699829d74f89ee6b |
|
BLAKE2b-256 | 15987b64231524cfc181e95772e045a01129b9b173a97ae724797987a62327a2 |