Revestroke
Newbie level 4
- Joined
- Jan 9, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,356
Hello friends, I am interfacing a unipolar stepper motor with P89V51RD2 controller using ULN2803.
-I have connected Pin0.0 to Pin0.3 of Port0 to ULN2803 and connected phase 1 to 4 of stepper motor to the o/p of the driver IC(ULN2803).
-Motor drive voltage is 12V. I'm getting appropriate readings using multimeter regarding h/w connections.
-Program code I am using is a basic C program given in Muhommad Ali Mazidi book for 8051 for stepper motor clockwise /anticlockwise rotation, but motor is not rotating.
-However whenever I connect center-tap and a phase of stepper motor it takes a step and turns with a single step clockwise and similarly when latch up center-tap with other winding phase it rotates anti-clockwise.
I want to rotate the motor continuously in both directions giving a little delay. Kindly suggest.
Thank You.
-I have connected Pin0.0 to Pin0.3 of Port0 to ULN2803 and connected phase 1 to 4 of stepper motor to the o/p of the driver IC(ULN2803).
-Motor drive voltage is 12V. I'm getting appropriate readings using multimeter regarding h/w connections.
-Program code I am using is a basic C program given in Muhommad Ali Mazidi book for 8051 for stepper motor clockwise /anticlockwise rotation, but motor is not rotating.
-However whenever I connect center-tap and a phase of stepper motor it takes a step and turns with a single step clockwise and similarly when latch up center-tap with other winding phase it rotates anti-clockwise.
I want to rotate the motor continuously in both directions giving a little delay. Kindly suggest.
Thank You.