If I have a switch in some consumer electronics that I take apart, and want to replace a mechanical switch with a digitally controlled one, which component should I use? The only problem I see with MOSFET/transistors is don't I need to know if it is going to be a high side switch or a low side switch? What if I don't have access to the whole circuit when choosing?
Just wondering if there is a rule of thumb for choosing which method to replace a switch I'm missing.