In a project, I need to swap the polarity of a 12V power/signal and GND wire combination electronically. The current flow is between 7 and 28 mA.
I'm using a DPDT relay for this - the input wires are connected to the Common terminals, NC and NO are crossed between both relay halves and then go +12V on the board (A) and GND (B). If the relay is unpowered, 12V is connected to the first input and GND to the second one. If it is powered, 12V is connected to the second input and GND to the first.
As the relay (FRT-5) draws quite a lot of current, I would like to substitute it for an analog CMOS switch like the ADG1434 / ADG5434.
Do CMOS switches work on "reverse" current as well, with just a +12V single supply?