Difference between revisions of "Sensors: BME680"

From HiveTool
Jump to: navigation, search
(Created page with "==BME680== ===Download the drivers=== git clone https://github.com/BoschSensortec/BME680_driver.git git clone https://github.com/twartzek/bme680-raspberry.git ===Compile...")
 
Line 10: Line 10:
  
 
  gcc bme680_main.c bme680.c -o bme680
 
  gcc bme680_main.c bme680.c -o bme680
 +
 +
===Test===
 +
 +
./bme680
 +
**** BME680 start measurements  ****
 +
2018-07-05 13:27:40 T: 25.14 degC, P: 942.12 hPa, H: 74.29 %rH, G: 8029 Ohms
 +
2018-07-05 13:27:43 T: 25.13 degC, P: 942.12 hPa, H: 74.29 %rH, G: 9043 Ohms
 +
2018-07-05 13:27:46 T: 25.11 degC, P: 942.10 hPa, H: 74.38 %rH, G: 9976 Ohms
 +
**** Measurement finished ****

Revision as of 04:39, 5 July 2018

BME680

Download the drivers

git clone https://github.com/BoschSensortec/BME680_driver.git
git clone https://github.com/twartzek/bme680-raspberry.git


Compile

gcc bme680_main.c bme680.c -o bme680

Test

./bme680
**** BME680 start measurements  ****
2018-07-05 13:27:40 T: 25.14 degC, P: 942.12 hPa, H: 74.29 %rH, G: 8029 Ohms
2018-07-05 13:27:43 T: 25.13 degC, P: 942.12 hPa, H: 74.29 %rH, G: 9043 Ohms
2018-07-05 13:27:46 T: 25.11 degC, P: 942.10 hPa, H: 74.38 %rH, G: 9976 Ohms
**** Measurement finished ****