need URGENT HELP on our stepper motor wiring...
The output of a ULN2003 doubled up, should be enough to at least move your motor
although using four power transistors instead,may be better.
-ok, we'll give it a try...but how are we going to connect it?....can you give me a schematic diagram? (or if you got a current amplifier circuit, it'll be much better ile)daemotheo
The The output of the ULN2003 is already doubled up in your circuit.
When you have sorted out the stepping, get a bigger 5 volt supply,
you don't need a "current amplifier".
So you have removed the motor and replaced it with four LEDs and
resistors of say 220 ohms.
If the LEDs do not light one at a time and in order you have a logic fault.
Don't connect the motor until you have the LEDs switching correctly.
we suspects that the line/connection to the D coil, the one that didn't blink,
which was connected to the 74194(specifically pin 13) was damaged....what do you think?daemotheo
Actually none of the coils should be connected to the 74194.
I suspect you have a wiring fault around the 74194, or it could be damaged.
Replace the ULN2003 if you can and check for shorted tracks.
Does D1 flash at a sensible steady rate ?.
The The output of the ULN2003 is already doubled up in your circuit.
When you have sorted out the stepping, get a bigger 5 volt supply,
you don't need a "current amplifier".
-ok...but how come the motor does not turn??
So you have removed the motor and replaced it with four LEDs and
resistors of say 220 ohms.
If the LEDs do not light one at a time and in order you have a logic fault.
Don't connect the motor until you have the LEDs switching correctly.
-hmmm...yesterday, three LEDs were switching(2:1) but just now they were all lit at the same time and does not switch..... ....
Actually none of the coils should be connected to the 74194.
I suspect you have a wiring fault around the 74194, or it could be damaged.
Replace the ULN2003 if you can and check for shorted tracks.
-we'll check that one
Does D1 flash at a sensible steady rate ?.
-yes.
The The output of the ULN2003 is already doubled up in your circuit.
When you have sorted out the stepping, get a bigger 5 volt supply,
you don't need a "current amplifier".
-ok...but how come the motor does not turn??daemotheo
You need to go back and understand how stepper motors work.
Having current does not make them turn.
having current in the right coil at the right right time makes them turn.
I am also in the same boat as you. Even my college project is on hold because of this motor.I have a 5.1V 1Amp Sanyo Denki Motor 1.8 degree/step motor.
i have written the code on how to run the motor. It is as follows... I Tested it with Proteus and it works..
void step_0()
{
D0=on;
D1=on;
D2=off;
D3=off;
}
void step_1()
{
D0=off;
D1=on;
D2=on;
D3=off;
}
void step_2()
{
D0=off;
D1=off;
D2=on;
D3=on;
}
void step_3()
{
D0=on;
D1=off;
D2=off;
D3=on;
}
/// For 1.8 degree step angle we need 25 rotations for 8 slots
// here y stands for no of 45 degree rotations
//x stands for one 45 degree turn
void rotate_left_slot(unsigned char times)
{
for(y=0;y<times;y++)
{
for(x=0;x<6;x++)
{
step_0();
stepper_delay();
step_1();
stepper_delay();
step_2();
stepper_delay();
step_3();
stepper_delay();
step_0();
stepper_delay();
}
}
}
void rotate_right_slot(unsigned char times)
{
for(y=0;y<times;y++)
{
for(x=0;x<6;x++)
{
step_0();
stepper_delay();
step_3();
stepper_delay();
step_2();
stepper_delay();
step_1();
stepper_delay();
step_0();
stepper_delay();
}
}
}
This is how you call the motor to run it left or right. It is working properly in Proteus. D0,D1,D2,D3 are the pins you use. I have defined off as 0 and on as 1.
You can also use 0 and 1 instead of off and on.
See the attachment and tell me whether this is your motor...
Wire 1: BLACK - Supply voltage(5.1V through driver).It is not a ground
Wire2:Pure RED - A D0
Wire3:REDandWHITE - A(bar) D1
Wire4:Pure GREEN -B D2
Wire5:GREENandWHITE -B(bar)D3
Wire6:WHITE -Supply voltage(5.1V through driver). It is not a ground
Ajay Sir,Experimenter UK sir,
Please help me in designing a driver for the 5.1V 1Amp motor.
[ Edited Fri Feb 05 2010, 11:31 am ]
I need one help. I need a driver circuit for running the above motor at 5.1V and 1 Amp. Please kindly provide me with a circuit diagram for the same. Even my project is on hold because of this. The coding is all complete and working beautifully in proteus where i have substituted to a 12V 1.8deg motor and used ULN2003.
So, please guide me on designing a driver for the 5.1V 1 Amp motor
make sure you have connected heat sink with the circuit and free wheeling diodes across windings.