I want to build a motor controller that can handle 5-6 amps
Im planning on using these schematics for a transistor H bridge 4Rumer.com is for sale | HugeDomains
It doesnt seem too hard, looks like i"ll need 2 pins plus the ground to control it as is but is it possible to modify it so that it gets controlled via PWM
and only needs one pin plus ground? (Like rc servos/esc's) How would I go about doing this and what would I have to add/change in the circuit?
Will I have to use the analog pins for the PWM?
Using hardware PWM the analog pins aren't going to help, on standard Arduinos you are limited to 3,5,6,9,10,11 for hardware PWM.
You could add a separate switch to route the PWM pin to one or other of the control lines, if manual control of direction is alright...
Given the relatively slow transistors used you will be limited to relatively slow PWM, but that's what the Arduino does by default anyway.
Be careful not to energy both lines simultaneously (that physical switch idea can help here) or high short-circuit currents can flow and do bad things.
I'm thinking about rather using mosfets instead of transistors since i read the transistors have a larger power loss. What mosfets could i use that can handle at least 10-15amps?
Anything i have to look out for when choosing them? Also can i still use the schematics from the first post and simply substitute the transistors with the mosfets or will I also have
to get
And is there a advantage of using a motor driver between the arduino and the mosfets/transistors?
Does anyone have any alternative schematics for a simple H bridge
Thanks