Author Options:

Driving DC brushed motors with Pi/PWM/Arduino? Answered

I have a few motors (2) that i would need to be able to drive via a PWM input (Probably from pi/arduino). I have been looking at H bridges, and that seems to be my answer, however, I can't figure out which one i need... The motors are identical 9v ~2 amp stall current motors. I would need both directions for each, and would obviously be using an external power supply. 
With that said, which H bridge would suite my needs, along with what type of setup? I only have abut 4-6 PWM pins left to use, if that helps.


One motor needs one PWM output, and one direction control digital pin. So long as the H bridge will take the stall current, you have a pretty free choice.

So an H Bridge uses two pins, not counting ground? And as long as the H Bridge can handle 9v and ~2 amps, it should work? I assume they also have an input for external power supply for the motor?

I found this http://luckylarry.co.uk/arduino-projects/control-a... , and its basically what i would need, but according to the spec sheet, it can only handle 600mA... Any chip that works similarly, but with a much higher load limit?

It would work, thought there are better chips from TI for example. You can use this pretty well with the other link you posted.

Mk, I'll just stick with this then, and will probably purchase the complete board with the chip already on it. Thanks!