Hi, I am trying to build a robot with a dual motors controlled by a l298 chip and PWM. I have some really nice 9.6V NiMh battery packs that I would like to use. The problem is that the motors need 3-5v. Could I just use PWM to control the voltage of the motors by working out what duty cycle would give me the correct voltage and then supplying that to the motors? Would I need a capacitor to smooth out the voltage and reduce noise?