Tool/software:
I have a multi channel system running on a stm32 mcu based pcb. For the most part it takes and displays thermocouple readings well but I've noticed when I run the functions in my code to read both channels it tends to have a greater percentage of error on one channel if the other channel doesn't have a sensor plugged in. For example
Both sensors plugged in:
Channel 1 = 0.04mv Channel 2 = 0.04mv
Channel 1 Plugged in with Channel 2 unplugged
Channel 1 = 0.08mv Channel 2 = 312.5mv
Channel 2 Plugged in with Channel 1 unplugged
Channel 1 = 312.5mv Channel 2 = 0.08mv
The gain is set to 8 so the 312.5 is just the high limit of the voltage range it reads But why would one sensor reading overrange because its open have an effect on the other sensor when I'm changing the mux to a different channel between readings and is there a way around this? This only happens when I call the functions to read both of the sensors when one is unplugged. Its like getting an over voltage reading causes some of the reading to bleed into the other channel. Its very confusing because I wasn't aware an ADC could have that problem