MCP960x and TCA9548A use more then one multiplexer problem

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

MCP960x and TCA9548A use more then one multiplexer problem

Post by stefan.erni »

Hi to All

If I use one 8 Channel multiplexer and record the temperatur with the appdeveloper it's working nice.
If I touch a sensor the temparetur will increase. ( Temp is temp x100)
2024-06-04_11-37-50.PNG
2024-06-04_11-37-50.PNG (65.21 KiB) Viewed 1817 times

but if I add a second 8 Channel multiplexer and increase the number of sensor to 12, all channel are wrong even the first 8channel.
As if the MCP960 is wrong config.
2024-06-04_11-40-46.PNG
2024-06-04_11-40-46.PNG (75.1 KiB) Viewed 1817 times
For the second multiplexer I changed the adress:
2024-06-03_16-38-15.PNG
2024-06-03_16-38-15.PNG (301 KiB) Viewed 1817 times
2024-06-04_12-01-58.PNG
2024-06-04_12-01-58.PNG (38.43 KiB) Viewed 1817 times
My macros for the Sensor:
Thermocouple_get_strg.fcm
(4.47 KiB) Downloaded 182 times
2024-06-04_12-20-56.PNG
2024-06-04_12-20-56.PNG (163.31 KiB) Viewed 1817 times
Init_thermo.fcm
(3.63 KiB) Downloaded 180 times
2024-06-04_12-15-14.PNG
2024-06-04_12-15-14.PNG (142.44 KiB) Viewed 1817 times

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

Re: MCP960x and TCA9548A use more then one multiplexer problem

Post by stefan.erni »

Ok I found what i did wrong

I have to make an additional disableAll when I have finished reading. Then it works nice.
I suppose a disable channel would also work



All 12 channel are fine
2024-06-04_13-33-31.PNG
2024-06-04_13-33-31.PNG (87.89 KiB) Viewed 1811 times
2024-06-04_13-35-36.PNG
2024-06-04_13-35-36.PNG (130.78 KiB) Viewed 1811 times

Post Reply