A motor controller converts the battery DC-voltage to a form that can be used by the motor.

The ebike controller is the brain of the e-bikes. It is connected to all the other electronic parts such as the battery, motor and the throttle if exist. It takes all the inputs from all the other components and determine what should be signaled to them in return.