BME280 #998
JohanScheepers
started this conversation in
General
BME280
#998
Replies: 2 comments 1 reply
-
Did you enable the sensor in the acutual used hal file? This probably won't be |
Beta Was this translation helpful? Give feedback.
1 reply
-
You must modify the ttgobeam10.h file, using the example entry for BME280 from generic.h |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a BME280 with a TTGO T-beam
BME280 --- TTGO T-beam --- OLED
VCC -> VCC -> VCC
G -> G -> G
SDA -> 21 -> SDA
SDL -> 22 -> SDL
generic.h
// BME280 sensor on I2C bus
#define HAS_BME 1 // Enable BME sensors in general
#define HAS_BME280 GPIO_NUM_21, GPIO_NUM_22 // SDA, SCL
#define BME280_ADDR 0x76 // change to 0x77 depending on your wiring
If I send a downlink
Push to downlink queue (append) -> True
FPort -> 2
Payload Type -> Bytes
Payload -> 84
I get in the serial
15:59:23.514 > I (2012638) src/lorawan.cpp: Received 1 byte(s) of payload on port 2
15:59:23.527 > I (2012639) src/rcommand.cpp: Remote command: get bme680 sensor data
15:59:23.531 > W (2012640) src/rcommand.cpp: BME sensor not supported
I can not figure out where else to change setting to get the BME280 to work.
Help will be appreciated.
Thank you
https://sbamueller.wordpress.com/2019/02/26/paxcounter-mit-umweltsensor/
Beta Was this translation helpful? Give feedback.
All reactions