pi3g / bme68x-python-library

Python 3 Library for BME688 and BME680 (Bosch Sensortec sensors), supports Bosch BSEC
MIT License
44 stars 18 forks source link

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.
The BME68X sensors by BOSCH Sensortec measure temperature, pressure and humidity.
Most importantly the sensor estimates the air pollution by recording the amount of VOCs (Volatile Organic Compounds).
With use of the (licensed) BSEC library from BOSCH, this allows for measuring the IAQ (Indoor Air Quality).

Check out this Installation Video!

How to install the extension without BSEC

pip3 install bme68x

How to install the extension with BSEC

Replace I2C_ADDR with the I2C address of your sensor

Either 0x76 (default for BME680) or 0x77 (default for BME688)

bme68x = BME68X(I2C_ADDR, 0) bme68x.set_heatr_conf(1, 320, 100, 1) data = bme68x.get_data()



#### For documentation and examples please refer to our [GitHub](https://github.com/pi3g/bme68x-python-library)<br>
#### For feedback, bug reports or functionality requests send an E-mail to nathan@pi3g.com<br>

![pi3g logo](https://pi3g.com/wp-content/uploads/2015/06/pi3g-150px-only-transparent-e1622110450400.png)<br>
pi3g is an official approved Raspberry Pi reseller, and a Coral Machine Learning Platform (from Google) distribution partner.<br>
We take care of all your Raspberry Pi and Coral related hardware and software development, sourcing, accessory and consulting needs!<br>
Check out [our homepage](https://pi3g.com) and file your personal software or hardware request.<br>
Also visit [our shop](https://buyzero.de).<br>