Em 16/3/2011 13:48, alan smith escreveu: > The load is a small DC motor. > > If I understand what your saying, the PWM will drive the gate of a FET th= at is the switch node, but I would still need the inductor, cap and diode t= o make act like a switching supply..correct? The motor itself will be your inductor. You don't need the capacitor, only the flyback diode. You don't need to keep the voltage on the motor constant, only the current (with some ripple). Isaac --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .