1. Introduction
This manual provides essential information for the installation, operation, and maintenance of the Bafang 8fun 48V 1000W mid motor replacement controller, specifically designed for M620 (MM G510) series motors. It covers both UART and CAN communication protocols. Please read this manual thoroughly before attempting any installation or operation to ensure proper function and safety.
2. Product Overview
The Bafang M620/G510 replacement controller is a critical component for your e-bike's mid-drive motor system. It manages the power delivery and communication between the motor, battery, and display unit. This controller is available in variants supporting either UART or CAN protocol. It is crucial to identify the correct protocol for your existing motor system to ensure compatibility.

Figure 1: Top-down view of the Bafang M620/G510 controller with internal components and wiring visible.

Figure 2: Internal view of the Bafang M620/G510 controller showing the circuit board and various connectors.

Figure 3: Side view of the Bafang M620/G510 controller with exposed wiring.

Figure 4: External view of the Bafang M620/G510 controller with its protective cover installed.
3. Specifications
| Feature | Detail |
|---|---|
| Model Compatibility | Bafang M620 (MM G510) Mid Motor |
| Voltage Options | 48V, 52V |
| Rated Power | 1000W |
| Communication Protocols | UART, CAN |
| Origin | Mainland China |
| Product Weight | 1.2 kg |
| Package Dimensions (L x W x H) | 10 cm x 10 cm x 10 cm |
4. Compatibility
This replacement controller is exclusively designed for Bafang M620 (MM G510) series mid-drive motors. It is available in variants supporting either 48V or 52V systems, and utilizes either UART or CAN communication protocols. It is critical to verify both the voltage (48V or 52V) and the communication protocol (UART or CAN) of your existing motor system before purchasing and installing this controller. Using an incompatible controller may result in malfunction or damage to your e-bike system. If you are unsure about your motor's specifications, consult a qualified e-bike technician or contact the seller with photos of your current controller for identification.
5. Installation and Setup
Warning: Installation of e-bike components requires technical knowledge and should ideally be performed by a certified e-bike technician. Incorrect installation can lead to serious injury or damage to the product and your e-bike.
- Safety First: Ensure the e-bike's battery is disconnected and powered off before beginning any installation.
- Access the Motor: Carefully remove any covers or components necessary to access the existing motor controller within the Bafang M620/G510 mid-drive unit.
- Disconnect Old Controller: Document or photograph the existing wiring connections before disconnecting the old controller. Pay close attention to the color coding and connector types.
- Verify Protocol: Double-check that the new controller's protocol (UART or CAN) matches your motor and display system.
- Connect New Controller: Connect the new controller to the motor, battery, and display wiring according to the original configuration. Ensure all connections are secure and properly seated.
- Secure Controller: Mount the new controller securely within the motor housing.
- Reassemble: Reinstall any covers or components that were removed.
- Initial Test: Reconnect the battery and power on the e-bike. Perform a low-speed test in a safe environment to ensure all functions (motor assist, display, throttle if applicable) are working correctly.
The product is supplied as pictured, without additional accessories. Ensure you have all necessary tools and components for installation.
6. Operation
Once correctly installed, the controller operates automatically as part of your Bafang M620/G510 mid-drive system. It translates your input from the display and throttle (if equipped) into motor power. The specific operational characteristics, such as pedal assist levels and throttle response, are typically configured via the e-bike's display unit and are dependent on the motor's firmware and your display settings.
7. Maintenance
- Keep Dry: Protect the controller and motor from excessive moisture and water ingress. While many e-bike components are water-resistant, they are not typically waterproof.
- Clean Connections: Periodically inspect all electrical connections for corrosion or looseness. Ensure they are clean and dry.
- Physical Inspection: Regularly check the controller housing for any signs of physical damage, cracks, or loose mounting.
- Avoid Overheating: Ensure the motor and controller have adequate ventilation, especially during prolonged high-power usage.
8. Troubleshooting
If you experience issues with your e-bike's motor system after installing the new controller, consider the following:
- No Power/Motor Not Responding:
- Check all electrical connections to ensure they are secure.
- Verify the battery is fully charged and properly connected.
- Ensure the display unit is powered on and functioning.
- Incorrect Functionality:
- Confirm that the installed controller's protocol (UART or CAN) matches your motor and display. An incorrect protocol will prevent proper communication.
- Check for any error codes displayed on your e-bike's screen and consult your motor/display manual for their meaning.
- Unusual Noises or Vibrations:
- Immediately cease operation and inspect the motor and controller for any loose parts or foreign objects.
For persistent issues, it is recommended to consult a professional e-bike technician.
9. Warranty and Support
For warranty information and technical support, please contact the seller or the manufacturer directly. Keep your purchase records, including the order number and date of purchase, as they may be required for warranty claims or support inquiries.

