but how to measure sensor resistance. My sensor are electrodes which are suspended in the tank. Are u suggesting that when two sensors are short due to water level, that resistance to be measured? say if the resistance is 500k , so 5x will be 2.5 Mega ohm... correct?The 10k resistors are too much off a load for the equivalent resistance of the sensor.
I would first measure the sensors resistance. From there, pick a pull up or pull down resistor so that you have a clear transition of logic.
Let's say your sensor has a resistance of 500k. And you want active high. So a pull down resistance of 4x of that would approach the St pins input threshold (80 percent Vcc). I would go above that and pick a 5x or 6x multiplier.
I think those types of resistance. Will expose to a slew of issues. As such, inpendence translation near the sensors is the way to go.