Page 1 of 1

MCP960x and TCA9548A use more then one multiplexer problem

Posted: Tue Jun 04, 2024 11:22 am
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 1818 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 1818 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 1818 times
2024-06-04_12-01-58.PNG
2024-06-04_12-01-58.PNG (38.43 KiB) Viewed 1818 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 1818 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 1818 times

Re: MCP960x and TCA9548A use more then one multiplexer problem

Posted: Tue Jun 04, 2024 12:42 pm
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 1812 times
2024-06-04_13-35-36.PNG
2024-06-04_13-35-36.PNG (130.78 KiB) Viewed 1812 times