Skip to main content

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 logo
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

bme68x-1.0.2.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

bme68x-1.0.2-cp37-cp37m-linux_armv7l.whl (66.5 kB view details)

Uploaded CPython 3.7m

File details

Details for the file bme68x-1.0.2.tar.gz.

File metadata

  • Download URL: bme68x-1.0.2.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

Hashes for bme68x-1.0.2.tar.gz
Algorithm Hash digest
SHA256 98e5f3f89bb649121aa809094347e3f898d5fc138a991aefb720be4eb0284b5c
MD5 ae5c35f2fad46c6ba5559f8aea87c466
BLAKE2b-256 d8f6e247d4dc89e6fe7b22ddf4c7189448a8563cdd908c67b2d779d701348706

See more details on using hashes here.

File details

Details for the file bme68x-1.0.2-cp37-cp37m-linux_armv7l.whl.

File metadata

  • Download URL: bme68x-1.0.2-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

Hashes for bme68x-1.0.2-cp37-cp37m-linux_armv7l.whl
Algorithm Hash digest
SHA256 0fe1db2edaa1faeb63d2c6056b77a73472026e99d8b93971d2974c0e9449d3e4
MD5 23f54a2684496bab2239fc024ca7afa1
BLAKE2b-256 511fc6b3b5b705efa250cbd19dce0482fe6cb6e6700ffcec3ba10b452fd80c6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page