#I'm having difficulty getting a TCA9548A to work with two BME680s.

1 messages · Page 1 of 1 (latest)

brisk glade
sudden summit
#

Some suggestions.

How have you wired the BME680? Is this your own wiring? Breakout boards? The part supports SPI and I2C so I’m curious. Can’t comment on anything ESPHome specifically as I’ve only used a BME680 with a Pi Pico and my own code. Also bus frequency is unusually low. I think you should stick with the standardised “standard mode” of 100khz, which is explicitly mentioned in the datasheet. It seems unlikely that this is a problem but since the device operates by doing repeated sampling as part of its sensing mechanism, who knows. Looking at my own code I used 100Khz for my I2C clock.

tawny ocean
brisk glade
#

Doh, I thought I was in the ESPHome Discord.....sorry about that.

sudden summit
#

Am curious what they say. 🙂

brisk glade
#

OK, I changed the frequency to 100kHz and one sensor started working

tawny ocean
brisk glade
#

Understood....I found a loose solder joint for the other sensor and now it's working....so coming here by mistake wasn't so much of a mistake.

#

Thanks @sudden summit and @tawny ocean ...

sudden summit
#

Super. 🙂 They are a nifty part. Curious why you need two lol

brisk glade
#

HVAC curiosity....one for the return air and one for the supply air.

#

I want to try a differential pressure sensor at some point as well.

sudden summit
brisk glade
#

Hmm, didn't know that was an issue. I've used them in moving air applications for a few other projects with no issues....just not two with the same microcontroller.