Alrighty guys, the motor with the INNOTRACE M620 CAN Simple controller has been assembled and the encoder has been calibrated and it it works.
Here is the motor controller installation process. Make sure you flashed the firmware on the controller before installing it to the motor. The firmware file and firmware installation instructions can be found in the "Readme.txt" file in the "M620 CAN Simple Controller\Firmware" folder in the shared archive of the controller files.
1) 3D print the "Rotary Encoder Bumper 3D Print.step" file located in "M620 CAN Simple Controller\Idividual Parts Footprints, Symbols, 3D CAD\Extra parts" folder in the shared archive of the controller files out of high temperature plastic. I used ABS. Glue this bumper to the encoder area on the PCB on with B-7000 glue.
It is not necessary, but it might save your controller if the motor rotor bearing will fail.
The glue can be purchased here
2) 3D print the "Insulation.step" file located in "M620 CAN Simple Controller\Idividual Parts Footprints, Symbols, 3D CAD\Extra parts" folder in the shared archive of the controller files out of high temperature plastic. I used ABS. You also can cut this part manually out of 0.4-0.5mm thick sheet of high temperature resistant insulating material (you can use fiberglass boards or fish paper for this purpose)
2) Glue the insulation on the bottom of the PCB with double sided adhesive tape.
The tape can be purchased here
3) Cut 2 of 13x34mm rectangular shape thermal pads out of 0.5mm thick thermal pad. Attach those to bottom of the controller in the openings in the insulation and remove the protective layer.
This thermal pad should do it
4) Attach the controller to the motor case with 3 of M3X5mm screws. I also recommend to apply Loctite 243 blue to those screws before installation.
These screws should work
McMaster-Carr is the complete source for your plant with over 595,000 products. 98% of products ordered ship from stock and deliver same or next day.
www.mcmaster.com
Loctite 243 can be purchased here
5) Attach the original Bafang M620 controller green, yellow and blue phase leads to the controller following the color indication on the controller PCB with M3x6x6 terminal block screws. Do not overtighten the screws.
M3x6x6 terminal block screws can be purchased here
https://www.aliexpress.us/item/3256807308404688.html?spm=a2g0o.productlist.main.2.1453fnPdfnPd0K&algo_pvid=6043b8b5-2430-4c81-8cd6-4ee721288407&algo_exp_id=6043b8b5-2430-4c81-8cd6-4ee721288407-1&pdp_ext_f={"order"%3A"328"%2C"eval"%3A"1"%2C"fromPage"%3A"search"%7D&pdp_npi=6%40dis%21USD%213.01%212.93%21%21%2120.21%2119.66%21%40210328df17860617113504682e0ea7%2112000041017461189%21sea%21US%214251763666%21X%211%210%21n_tag%3A-29919%3Bd%3A92cc84d5%3Bm03_new_user%3A-29895&curPageLogUid=UcoYNtQOB1xk&utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A1005007494719440%7C_p_origin_prod%3A
6) Connect the 8 pins connector (display, throttle, brakes) to the receptacle marked "DISP" on the controller PCB. Also connect the 4 pins speed sensor connector (blue, red, green, black bands marked wires on the Bafang M620 CAN harness) to the receptacle marked "SPD" on the controller PCB.
7) Attach the battery leads to the controller following the GND (black lead) and B+ (red lead) indications on the controller PCB with M3x6x6 terminal block screws. Do not overtighten the screws. The image below indicates the proper leads routing.
8) Connect the Bluetooth dongle to the controller receptacle marked "BLE".
The information for the Bluetooth dongle cable and pinout can be found here
What is the maximum power it can handle?
endless-sphere.com
9) Place the Bluetooth dongle the way it does not interfere with anything and route the Bluetooth antenna cable outside the motor crossing the motor harness rubber grommet like it is illustrated on the picture below.
10) Attach the plastic cowl
11) Make sure the motor case gasket is on the motor side case halve. Connect the torque sensor connector to the receptacle on the controller PCB marked "TRQ"
12) Connect the motor stator temperature sensor connector to the receptacle on the controller PCB marked "TEMP"
Proceed here
VESC based INNOTRACE M620 Simple motor controller