I am somewhat new to electronics and I've got a problem.
I made a H-bridge, I'm trying to control it indirectly with my Ardunio through a PNP (BC557). The motor spins once PNP is in place however the motor keeps spinning even when I coded the digital pin (D6) to HIGH. I've tried using pull-up resistors connected to 5 V on my Arduino to get it to turn off but it still keeps on going.
I've got some experience with NPN and know that PNP transistor logic is reverse but I still don't know what I'm doing wrong.
Any help would be great, thanks in advance.
(Ingnore the other transistors in the schematic, trying to keep it tiding and just get once side working for now.)
!!!!!UPADATE!!!!!
Thanks for everyone for the help and feed back. i was able to get the answer from Transistor by following this website (http://lednique.com/gpio-high-side-driver-fail/) , what i did was added a NPN low-side switch to the base of the PNP, and control the NPN low side switch with my Arduino, which help get rid of the PNP always turning on. Now it works great and saves me going done to the shops and getting NPN's and re doing the circuit all over again to get this H-bridge working.
i will keep in mind the feedback revived when i do more motor projects in the future.
Thanks again.