Assuming that you are using a unipolar stepper (vs a bipolar stepper) you'll need to use transistors or logic-level MOSFETs to sink current from the stepper motors' wires in turn, as the I/O pins of the 8051 will not be able to supply enough current.Rich (BB code):Mov a,#66h back: Mov p2,a rr a acall delay sjmp back delay: Mov r0,#100 m1: Mov r1,#255 m2: Djnz r1,m2 djnz r0,m1 ret end
You should post an image of your schematic, preferably in .png format.sir!
m doing my work on keil and check my code in proteous
i m using 8051..
unipolar stepper
'uln 2003
these are availabel in proteous...
The code you found is faulty. The code you were using before was better.i search last time on net some code.
i make their hex. file and load in proteous.
they were running in proteous..
bt i didn't understand code .plz explan this..
only their hex value.that what there purpose to used there..
code is
Rich (BB code):<snip>
by Duane Benson
by Duane Benson
by Duane Benson
by Aaron Carman