I am using my 5V Mini Pro Arduino to send a 12v signal to vehicles PCM. I can’t do a Low side switch because I have to activate 12v to the computer. I was able to use a 2n2222 NPN transistor and a A838 PNP transistor to activate the the 12v signal successfully. Attached is the schematic I modeled mine after.
I need to do this across 3 different wires though. So i have 6 transistors and 9 resistors to make this all work.
Is there a IC chip that does what l’ve done here? I am trying to fit this into a very small enclosure with other electronics and am also looking to make around 100 of these, so a smaller and cheaper option is desired.
I am also looking into an opto-isolator/opto-coupler instead of these transistors. Would this be a better route to go?