cyanpraveen
Junior Member level 3
Hello guys
i am trying to interface P89v51 rd2 controller with stepper motor. i had bought the stepper motor with drive. please see the specification of
stepper motor in below mentioned link.
Stepper motor:
**broken link removed**
Diver details:
**broken link removed**
i am trying to establish serious connections using this motor and driver and i need to interface with micro controller to rotate the motor in clockwise and anti clock wise direction.
i tried programming the motor as normal stepper motor but it doesn't work. like
i would be really great full if someone give solution for this. thanks in advance
i am trying to interface P89v51 rd2 controller with stepper motor. i had bought the stepper motor with drive. please see the specification of
stepper motor in below mentioned link.
Stepper motor:
**broken link removed**
Diver details:
**broken link removed**
i am trying to establish serious connections using this motor and driver and i need to interface with micro controller to rotate the motor in clockwise and anti clock wise direction.
i tried programming the motor as normal stepper motor but it doesn't work. like
Code:
sbit Coil_A = P2^0; // R
sbit Coil_B = P2^1; // O
sbit Coil_C = P2^2; // B
sbit Coil_D = P2^3; // G
void main()
{
P2 = 0x00;
while(1)
{
//Coil_A = 1;
Coil_A = 1;
Delay (1000);
// Coil_A = 0;
Coil_A = 0;
Delay(200);
Coil_B = 1;
Delay(200);
Coil_C = 0;
Coil_D = 0;