I've used an H-Bridge to control motors going forwards and backwards with the arduino. Now I'd like to also be able to control the speed of the motors in either direction. I researched a bit and found a MOSFET may be needed, but can you bypass the MOSFET by sending PWMs from the arduino?
If a MOSFET or some other external hardware is needed, a link/instuctions to such a circuit would be much appreciated.
It's quite substantial and the library that comes with it allows you to easily control things like motor speed and such. Example being: motor.setSpeed(255);
I've used PWM before to control a Hbridge. i used the L298 HBridge chip. I just made sure I was using PWM lines on the arduino and used the analogWrite function