Bosch BSEC integration completed

This commit is contained in:
Klaus K Wilting committed 2018-11-25 16:05:30 +01:00
1 parent 165f2813f5
commit b85dc829a5
15 files changed
+183 -202

No files matched your search

+1 -5
View File
@@ -13,16 +13,12 @@
#define SPI_SCLK GPIO_NUM_18
#define SPI_CS GPIO_NUM_5
////////////// test //////////
// enable only if device has these sensors, otherwise comment these lines
// BME680 sensor on I2C bus
#define HAS_BME GPIO_NUM_21, GPIO_NUM_22 // SDA, SCL
// #define BME_ADDR BME680_I2C_ADDR_PRIMARY // i2c addr 0x76
#define BME_ADDR BME680_I2C_ADDR_SECONDARY // i2c addr 0x77
//
// user defined sensors
//#define HAS_SENSORS 1 // comment out if device has user defined sensors
////////////// test //////////
#define CFG_sx1276_radio 1 // select LoRa chip
//#define CFG_sx1272_radio 1 // select LoRa chip
+6 -1
View File
@@ -10,7 +10,12 @@
// disable brownout detection (avoid unexpected reset on some boards)
#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature
#define HAS_BME 0x76 // BME680 sensor on I2C bus; comment out if not present
// enable only if device has these sensors, otherwise comment these lines
// BME680 sensor on I2C bus
#define HAS_BME GPIO_NUM_21, GPIO_NUM_22 // SDA, SCL
// user defined sensors
//#define HAS_SENSORS 1 // comment out if device has user defined sensors
#define HAS_LED 13 // ESP32 GPIO12 (pin22) On Board LED
#define LED_ACTIVE_LOW 1 // Onboard LED is active when pin is LOW
+1 -5
View File
@@ -5,16 +5,12 @@
// Hardware related definitions for TTGO T-Beam board
////////////// test //////////
// enable only if device has these sensors, otherwise comment these lines
// BME680 sensor on I2C bus
#define HAS_BME GPIO_NUM_21, GPIO_NUM_22 // SDA, SCL
// #define BME_ADDR BME680_I2C_ADDR_PRIMARY // i2c addr 0x76
#define BME_ADDR BME680_I2C_ADDR_SECONDARY // i2c addr 0x77
//
// user defined sensors
//#define HAS_SENSORS 1 // comment out if device has user defined sensors
////////////// test //////////
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC
-2
View File
@@ -8,8 +8,6 @@
// This settings are for boards labeled v1.6 on pcb, NOT for v1.5 or older
*/
#define HAS_BME 0x77 // BME680 sensor on I2C bus (SDI=21/SCL=22); comment out if not present
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC