ESP32 and i2c multiplexer TCA9548A

For general Flowcode discussion that does not belong in the other sections.
Post Reply
stefan.erni
Valued Contributor
Posts: 1065
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 201 times
Been thanked: 225 times

ESP32 and i2c multiplexer TCA9548A

Post 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 2645 times

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Flowcode v10 Re: ESP32 and i2c multiplexer TCA9548A

Post 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 2635 times
Martin

stefan.erni
Valued Contributor
Posts: 1065
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 201 times
Been thanked: 225 times

Re: ESP32 and i2c multiplexer TCA9548A

Post 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 2629 times

stefan.erni
Valued Contributor
Posts: 1065
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 201 times
Been thanked: 225 times

Re: ESP32 and i2c multiplexer TCA9548A

Post 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?

Post Reply