Hi..as per my knowledge for a DC motor you'd need a rectifying circuit then you'd need a Capacitor and a bleeder resistor at min. The cap smooths out the voltage so it's a steady voltage. The bleeder resistor will discharge the cap when it's turned off or it will still be supplying power to the motor.
china pcba