I made a h-bridge from two pnp and two npn resistors. I have programmed them via arduino uno, and for a test run i connected two generic six volt motors, and and they are both turning in the same direction.
The 4 enables (two for each hbridge) are connected to four pins. The supply of the h-bridges are connected to two different power supplies and are being provided 5V. Grounds of the power supplies and arduino are common.
Now here is the issue, the motors work really slowly. but as soon as i touch one of the METALLIC terminal of the arduino or the mosfet, the motor speeds up to its normal speed. I have tried changing the breadboards but its of no use.
What could be the problem?