tnx for the sharing mr FvM..
actually i am a novice here about those kinds of motor..
it is from a printer motor..the one that rolls the paper..
it rotates by step..so it must be a bipolar stepper motor..
the problem is it has 4 leads and when i search some circuits on the internet..
i got circuits for 6 leads..what i mean here is that i got 4 wires from the motor..
the motor got to drive by step when i experiment on this
1 2 3 4 --> leads of the motor
+ - - - --> + is 12v and - is GND
- + - -
- - + -
- - - +
the problem is I got a PIC16F628A to drive the motor..
i tried to have transistor driven relay circuit between the PIC and the motor
but what has come up is not a good way of rotation.
my teacher said that it is because the relay cannot go with the timing.
so now i need a circuit..