I am working on some custom lighting designs for vintage autos where high-side switching is required (chassis is grounded). The current project requires augmenting six existing 12V lighting circuits so that the lights turn on either via their existing physical switches, or a microcontroller output.
I have some experience using p-channel MOSFETs with for high-side switching, but always on new circuits. This will be the first time I am augmenting an existing circuit in this way, and I'd love some input to know if I'm on the right track. My current thought is to splice into the wiring harnesses and interrupt each circuit with a diode and a single lead back to my control box, where I will have my Arduino driving an array of six BJTs, and those driving six PMOS (with an additional diode between the PMOS and the existing circuit). I don't have any experience using diodes to create OR logic, so that is where I am most in the dark on this one.
I'm sure there are other ways to go about this, but one of the goals here is to be as non-destructive as possible with these vintage vehicles, and not make it too difficult for the owner to reverse/remove the augmentation down the road if they choose. Which is why I'm attempting to make a single splice only, leaving the rest of the wiring loom intact (as opposed to rerouting/rewiring any existing circuits).
Here is a rough schematic of where I'm at so far...

Some questions:
-If diodes make sense in this application, which type of diode is recommended and how do I size them properly for each circuit? (current varies between circuits)
-If diodes are not recommended, what is preferred here?
-Is there anything additional I need to include to make sure the Arduino is protected?
Assumptions:
-Lighting system power: 12V regulated power supply from a Lithium power source (not connected to alternator and car battery)
-Switching current: varies from 0.2A to 2.5A
-Arduino REF Voltage: 5V (Arduino Mega)
-Arduino power supply: same regulated 12V source (via barrel jack)
Thanks in advance for any insight.
I have some experience using p-channel MOSFETs with for high-side switching, but always on new circuits. This will be the first time I am augmenting an existing circuit in this way, and I'd love some input to know if I'm on the right track. My current thought is to splice into the wiring harnesses and interrupt each circuit with a diode and a single lead back to my control box, where I will have my Arduino driving an array of six BJTs, and those driving six PMOS (with an additional diode between the PMOS and the existing circuit). I don't have any experience using diodes to create OR logic, so that is where I am most in the dark on this one.
I'm sure there are other ways to go about this, but one of the goals here is to be as non-destructive as possible with these vintage vehicles, and not make it too difficult for the owner to reverse/remove the augmentation down the road if they choose. Which is why I'm attempting to make a single splice only, leaving the rest of the wiring loom intact (as opposed to rerouting/rewiring any existing circuits).
Here is a rough schematic of where I'm at so far...

Some questions:
-If diodes make sense in this application, which type of diode is recommended and how do I size them properly for each circuit? (current varies between circuits)
-If diodes are not recommended, what is preferred here?
-Is there anything additional I need to include to make sure the Arduino is protected?
Assumptions:
-Lighting system power: 12V regulated power supply from a Lithium power source (not connected to alternator and car battery)
-Switching current: varies from 0.2A to 2.5A
-Arduino REF Voltage: 5V (Arduino Mega)
-Arduino power supply: same regulated 12V source (via barrel jack)
Thanks in advance for any insight.