Discussion in "General help Guidance and Discussion" started by    daemotheo    Jan 20, 2010.
Tue Jan 26 2010, 11:04 pm
#11


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 ?.
Wed Jan 27 2010, 03:46 pm
#12

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.
Wed Jan 27 2010, 11:16 pm
#13


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.
Thu Feb 04 2010, 06:48 pm
#14
we haven't made any progress yet....we tried printing the schematic on a PCB and inserted all our components(just in case that the project board is the source of our problems, loose wiring/connections)...but luck is not our side.....WE HAVE NOT MADE THE STEPPER TO TURN.....we can't even have a LOGIC OUTPUT. ..... . . . .(and the projects due next month) w
Fri Feb 05 2010, 02:29 am
#15
can you post your circuit?
Fri Feb 05 2010, 11:09 am
#16
daemotheo,

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...




Fri Feb 05 2010, 11:24 am
#17
The color coding of the wires is as follows... Sorry for the blurred pic

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 ]
Fri Feb 05 2010, 11:29 am
#18
Ajay Sir ,ExperimenterUK sir,

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
Sun Feb 07 2010, 11:48 pm
#19
ULN is too small for your requirement, you can use TIP series power transistor to design your circuit e.g TIP122.

make sure you have connected heat sink with the circuit and free wheeling diodes across windings.
 rohitsuresh like this.
Mon Feb 08 2010, 04:22 pm
#20
Sir, I have no idea how to design using TIP transistors. Can you please give me an idea/schematic on how to do this?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

AntoniaRoons
Fri Apr 19 2024, 09:59 pm
carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am