Quote Originally Posted by cropwell View Post
m_c,

I would do it all with a 4066 quad analogue switch.
Might work but not at 24V... or at least without spilling some smoke. Also CMOS tends to have a high switching voltage at high VSS - the 5V sensor voltage wouldn't cut it at 12V. Max current through a single channel is 10mA so rate the LED resistor accordingly.

Sorry!, not a dig!

OP: Why not use a common ground as a sense input, rather than a 5V input? (if you have 5V handy then ignore)