|
| 1 | +BME680 |
| 2 | +====== |
| 3 | + |
| 4 | +https://shop.pimoroni.com/products/bme680 |
| 5 | + |
| 6 | +The state-of-the-art BME680 breakout lets you measure temperature, |
| 7 | +pressure, humidity, and indoor air quality. |
| 8 | + |
| 9 | +Installing |
| 10 | +---------- |
| 11 | + |
| 12 | +Full install (recommended): |
| 13 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 14 | + |
| 15 | +We've created an easy installation script that will install all |
| 16 | +pre-requisites and get your BME680 up and running with minimal efforts. |
| 17 | +To run it, fire up Terminal which you'll find in Menu -> Accessories -> |
| 18 | +Terminal on your Raspberry Pi desktop, as illustrated below: |
| 19 | + |
| 20 | +.. figure:: http://get.pimoroni.com/resources/github-repo-terminal.png |
| 21 | + :alt: Finding the terminal |
| 22 | + |
| 23 | +In the new terminal window type the command exactly as it appears below |
| 24 | +(check for typos) and follow the on-screen instructions: |
| 25 | + |
| 26 | +.. code:: bash |
| 27 | +
|
| 28 | + curl https://get.pimoroni.com/bme680 | bash |
| 29 | +
|
| 30 | +Manual install: |
| 31 | +~~~~~~~~~~~~~~~ |
| 32 | + |
| 33 | +Library install for Python 3: |
| 34 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 35 | + |
| 36 | +.. code:: bash |
| 37 | +
|
| 38 | + sudo pip3 install bme680 |
| 39 | +
|
| 40 | +Library install for Python 2: |
| 41 | +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 42 | + |
| 43 | +.. code:: bash |
| 44 | +
|
| 45 | + sudo pip2 install bme680 |
| 46 | +
|
| 47 | +Development: |
| 48 | +~~~~~~~~~~~~ |
| 49 | + |
| 50 | +If you want to contribute, or like living on the edge of your seat by |
| 51 | +having the latest code, you should clone this repository, ``cd`` to the |
| 52 | +library directory, and run: |
| 53 | + |
| 54 | +.. code:: bash |
| 55 | +
|
| 56 | + sudo python3 setup.py install |
| 57 | +
|
| 58 | +(or ``sudo python setup.py install`` whichever your primary Python |
| 59 | +environment may be) |
| 60 | + |
| 61 | +In all cases you will have to enable the i2c bus. |
| 62 | + |
| 63 | +Documentation & Support |
| 64 | +----------------------- |
| 65 | + |
| 66 | +- Guides and tutorials - https://learn.pimoroni.com/bme680 |
| 67 | +- Get help - http://forums.pimoroni.com/c/support |
| 68 | + |
0 commit comments