Being back on steppers after a while, I am trying to make a reference list of stepper coil switching sequences for 08M2 and 18M2 use as I still cannot work out what the table means in manual 3 in relationship to Picaxe pin order/designation. I think
Can someone please check my list so far is correct. All work okay with exception to the 18M2 using B.4-B.7. I have LED'S on the 18M2 output and B.6 does not come on. Sorry to admit ignorance but I don't want to carry on with trial and error. The double bank of syntax lines refer to motor running forward/reverse. It also leave out Let ..... and pauses.
Thanks
EDIT: Just found my 18M2 output on B.6 is dead, reason for B.4-B.7 not working properly. Appreciate a check on my list, thanks
Can someone please check my list so far is correct. All work okay with exception to the 18M2 using B.4-B.7. I have LED'S on the 18M2 output and B.6 does not come on. Sorry to admit ignorance but I don't want to carry on with trial and error. The double bank of syntax lines refer to motor running forward/reverse. It also leave out Let ..... and pauses.
Thanks
Code:
'Stepper coil sequence - 18M2 Using B.0-B.3
%00000101 ' B.0/B.2
%00001001 ' B.0/B.3
%00001010 ' B.1/B.3
%00000110 ' B.1/B.2
------------------------------------
%00000110 ' B.1/B.2
%00001010 ' B.1/B.3
%00001001 ' B.0/B.3
%00000101 ' B.0/B.2
'Stepper coil sequence - 18M2 Using B.4-B.7
%01010000 ' B.4/B.6
%10010000 ' B.4/B.7
%10100000 ' B.5/B.7
%01100000 ' B.5/B.6
------------------------------------
%01100000 ' B.5/B.6
%10100000 ' B.5/B.7
%10010000 ' B.4/B.7
%01010000 ' B.4/B.6
===========================
'Stepper coil sequence - 08M2 Using C.0-C.4
%00010010 ' C.1/C.4
%00010001 ' C.0/C.4
%00000101 ' C.0/C.2
%00000110 ' C.1/C.2
---------------------------------------
%00000110 ' C.1/C.2
%00000101 ' C.0/C.2
%00010001 ' C.0/C.4
%00010010 ' C.1/C.4
Last edited: