There is a quick way to identify which two or three/four coils are the same group:
Let the lead wires of the stepper motor spread out, turn the shaft and taste the torque;
Connect two wires to try out the torque again, if you find the torque is similar or same with the above step, the two wires are not the same group;
Try out all two wires, and you will find the torque between the same group wires are large than the different group wires.
A+,A-,B+,B-
Am I right? Every experts there.:withstupi