I need to switch some power to a device, so I was wondering, if this will work OK, or do I need to add some other stuff to protect it, or make it work correctly.
I ran some simulations, on CircuitLab, and according to them this should work, but I would like, the opinion of other professionals.
VCC = 12V (2A)
YELLOW_IN, WHITE_IN = 0-5V, 40mA (PWM from Arduino)
YELLOW, WHITE = VCC
I should also probably put a resistor between the Collector of Q1 and Base of T1.
This schematic is pretty straight forward, when you put 5V to YELLOW_IN it will act as a switch and then the YELLOW will be connected to VCC which is 12V.
Do you see any problems with this schematic or design?
As for this schematic, it acts the same as the other one, except for one more case, I need to be able to supply ~0.4V to WHITE when WHITE_IN is 0.4V, and when WHITE_IN is 5V, it will bridge VCC with WHITE.
But in that case what happens with the voltage/current coming from WHITE_IN.
Do I need to build that part of the circuit differently ?
Edit 1: I've modified the schematics according to the suggestions, is this sufficient now.