I have designed this H-Bridge Circuit using two NPN transistors and two PNP transistors. My plan is to use an Arduino to control the base current in all of the transistors. My supply voltage is 12V, and that is where the problem arises.
With 12V at the emitter of a PNP transistor, the 3.3V from the Arduino is simply not enough to prevent the PNP from conducting when the arduino GPIO goes high (3.3V). What is the solution to this problem? Am I supposed to use another set of transistors to connect the base pin of the PNP transistor either to 12V or to GND?
I have attached a simulation of my circuit, and here is a screenshot as well: