Note, this unit is not designed to control the speed of DC motors, but should work fine if you include a freewheel diode across the motor.