Motor controller for an electric spinning wheel