I have a problem with a circuit as shown below.
I want to drive a pump with the Pump_enable signal but no metter how is this signal state - high or low, the Q3 and Q2 tranistors are always on and the pump is always running.
When I remove the optocoupler from the circuit and simply connect the Q2 base to the ground the pump is running and when I connect it to the +12V its stop.
I am not sure what I have done wrong, I appreciate for any advice and materials to learn.
I am also not sure about the placement of the blue LED diode in this circuit, the purpouse was to sygnalize when the pump is ON. It works fine when I pull Pump_Enable signal high, the LED turns on there is no difference in transistors work. Without D7 and R30 there is no difference.