-
-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BME680 and DISPLAY not working parallel #231
Comments
fixed in v1.7.03 (currently in development-bme680-2 branch) |
good evening, I know that you have closed the trend, it is days that I have read everything, but I still have this problem, I have the ttgo t3 v 2.1 with display and a sensor bme 680. I have tried the various versions but I always have the probklema that together they don't work. "Starting I2C bus scan ... |
@mcapani Looks like a non working i2c bus. Please show your |
; PlatformIO Project Configuration File ; ---> SELECT THE TARGET PLATFORM HERE! <--- [platformio] [common] [env] [env:ota] [env:usb] [env:dev] paxcounter.conf // ----- Paxcounter user config file ------ // Device options // Payload send cycle and encoding // MAC sniffing parameters // BLE scan parameters // Corona Exposure Notification Service(ENS) counter // for additional sensors (added by some user) /* Note: guide for setting bluetooth parameters
// WiFi scan parameters // LoRa payload default parameters // Hardware settings // Settings for BME680 environmental sensor // OTA settings // settings for syncing time of node with a time source (network / gps / rtc / timeserver) // time zone, see https://github.com/JChristensen/Timezone/blob/master/examples/WorldClock/WorldClock.ino // Ports on which the device sends and listenes on LoRaWAN and SPI // Cayenne LPP Ports, see https://community.mydevices.com/t/cayenne-lpp-2-0/7510 // MQTT settings, only needed if MQTT is used (#define HAS_MQTT in board hal file) |
@mcapani You selected ttgov21new.h board hal file. Are you sure you have this board? Please show a photo of your board to verify version is matching the selected hal file. Please show your modifications of this file for BME680 (you need to enable the external sensor in your board's hal file, see example in generic.h). |
Which pins did you use to connect the BME680? |
Please show your hal file. Did you add/edit the BME680 settings in hal file? PS: on your photo it looks like the black wire is not connected to GND, but to 3V3? |
now works!!!! I'm a bit ashamed :) you have hit the problem !! great i did a lot of tests and it was trivially a 3.3V pin soldering error. I apologize for having lost this time, probably yesterday I was "melted". Thanks again. now I do the other tests and maybe we will talk about something else ..... ps it also works to detect immune apps (covid-italia) thanks |
If you need support, please use discussion tab next time, not issue. Thx. |
ok thanks |
BME680 sensor and OLED display both use i2c communication from separate parallel tasks.
Since esp32 i2c hal is not thread safe, we need a mutex solution for this, otherwise the i2c bus driver crashes.
The text was updated successfully, but these errors were encountered: