Page 1 of 1

ESP32 and i2c multiplexer TCA9548A

Posted: Thu May 16, 2024 3:01 pm
by stefan.erni
Hi to all

I use the i2c multiplexer and it works great. Very convenient to connect 8 different temperature sensors boards.
with Flowcode just one loop and read all sensors in an array.

But this i2c multiplexer module only works in i2c software mode.

Then I have a question about the address bit propertis. How do I configure this? This is described differently in the help
Screenshot 2024-05-16 154132.png
Screenshot 2024-05-16 154132.png (8.31 KiB) Viewed 2647 times

Re: ESP32 and i2c multiplexer TCA9548A

Posted: Thu May 16, 2024 5:21 pm
by medelec35
hi Stefan.
there are two versions of this component.
What about selecting the component that is within Comms Interface?
TCA9548A.png
TCA9548A.png (45.6 KiB) Viewed 2637 times

Re: ESP32 and i2c multiplexer TCA9548A

Posted: Thu May 16, 2024 6:10 pm
by stefan.erni
Hi Martin

Now I have understood. With the multiplexer TCA9548A I can select 1 of the 8 “qwii i2c connectors”.
But I can also use 8 different multiplexers TCA9548A with these A2, A1, A0. Address selector.
With the other component I simply select the address in hex if I use several TCA9548A.
I will test the other component if i2c hardware works and post the result here.

how to change change the adress from the TCA9548A on the sparkfun device
Screenshot 2024-05-16 184941.png
Screenshot 2024-05-16 184941.png (43.81 KiB) Viewed 2631 times

Re: ESP32 and i2c multiplexer TCA9548A

Posted: Thu May 16, 2024 7:34 pm
by stefan.erni
Hi Martin

The other component also works well, but only in software mode I2c bus.
Do you have any idea why the three components only work in software mode?