I am working on a project that involves controlling a DC motor using a microcontroller. I am having trouble getting the motor to run at a consistent speed and it keeps stalling. I have tried adjusting the PWM signal and playing with the circuit but n...