Hi and
to the forum.
It sounds as if the phase wires and Hall sensors might be out of sync, or one of the Hall sensors is not responding.
With the external controller it is quite easy to check the correct operation of the three Hall sensors:
Using a voltmeter, you will need to measure the voltage on each of the Hall sensor signal wires (The thin Yellow, Green and Blue wires).
Push the Black meter probe into the "Z/0V" connection to make contact with the crimped metal connector and then push the Red meter probe into the Yellow Hall sensor connection.
With the battery tuned on you should have a voltage reading that continually alternates between zero and five volts as the wheel is turned very slowly by hand.
Move the Red probe into the Green Hall sensor connector and try the same test and the voltage reading should alternate again, then do the same with the Blue Hall sensor.
If the reading from all three sensors alternates between zero and 5 volts when the wheel is moved slowly, it at least means that the hall sensors are working correctly.
The three thick phase wires
(Yellow, Green and Blue) or even the three small Hall sensor wires, may be connected in the wrong sequence, so double check that the wire colours match the colours on the controller connections.
The Hall Sensor connector should have the wires in the following sequence from top to bottom on the controller:
Red, Black, Blue, Green and Yellow.
If this is all OK, there's a slight possibility that the wires may have been marked incorrectly, in which case you will need to find the correct configuration by trial and error, but don't use full throttle, just enough to hopefully make the wheel move.
As you have the external controller, it should run in sensorless mode so you can try unplugging the hall sensors to see if the wheel will run in either direction, but in sensorless mode the wheel will need to be moving before the controller will start to work. If you can secure the bike with the wheel off the ground it will be much easier and safer to spin the wheel and test it.
If the wheel runs in the reverse direction you will need to swap two of the phase wires over and try again.
If it spins in the correct direction, unplug the Yellow wire and then move the Blue wire to the Yellow terminal, the Green wire to the Blue terminal and the refit the Yellow wire on the green terminal.
Reconnect the Hall sensor connector and test with slight throttle again to see if it runs smoothly.
If it doesn't run at all, or runs very roughly, try moving the phase wires along once more:
Unplug the Blue wire and move the Green wire to the Yellow Terminal, the Yellow wire to the Blue terminal and refit the Blue wire to the Green terminal and try the motor again.
Please let me know whether any of the above sorts the problem
(or makes any difference).
Alan