help in programming
Discussion in "Project Help" started by kasinova Nov 15, 2007.
Thu Nov 15 2007, 09:03 am
i'm a third year student of engg. and i'm preparing my project stepper control using 8051.
My objective is to rotate the motor clockwise and anticlockwise by sensing the two switches.
If S1 is closed then clockwise if S2 is closed then anticlockwise. S2 is connected at p0.7. And stepper motor o/p are p2.4 - p2.7.
If not possible with stepper motor DC motor is also prefferable using H bridge circuit.
Can anyone plz give the program for this with hex code and description bcoz its urgent.
My email is [email protected].
Thanking you.
My objective is to rotate the motor clockwise and anticlockwise by sensing the two switches.
If S1 is closed then clockwise if S2 is closed then anticlockwise. S2 is connected at p0.7. And stepper motor o/p are p2.4 - p2.7.
If not possible with stepper motor DC motor is also prefferable using H bridge circuit.
Can anyone plz give the program for this with hex code and description bcoz its urgent.
My email is [email protected].
Thanking you.
Thu Nov 15 2007, 12:54 pm
In tutorial section you will find sample code for both DC and stepper motor... so check it...
Powered by e107 Forum System