As Much Information I have About Driving a Stepping Motor
kenwtn
Posts: 250
··I am trying to drive a stepping motor.
· In the past I have been told that I have not provided enough information, so this time I have attached a drawing of my circuit, a PDF of the Motor I am using and the program I am using to test it all with. When I attach everything as indicated in my drawing and run the program the motor does nothing. Before you ask I have several of these type of motors and have tried several with same result. I have tried using a 470 ohm resistor connected to a LED to test the pins on the motor and the LED does light as expected. I guess I either have the motor connected wrong or maybe it is a power issue. Please help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When you spend 10 times what it cost to build it yourself - That's when it becomes a HOBBY !
···································································
Post Edited (kenwtn) : 8/22/2008 3:11:08 PM GMT
· In the past I have been told that I have not provided enough information, so this time I have attached a drawing of my circuit, a PDF of the Motor I am using and the program I am using to test it all with. When I attach everything as indicated in my drawing and run the program the motor does nothing. Before you ask I have several of these type of motors and have tried several with same result. I have tried using a 470 ohm resistor connected to a LED to test the pins on the motor and the LED does light as expected. I guess I either have the motor connected wrong or maybe it is a power issue. Please help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When you spend 10 times what it cost to build it yourself - That's when it becomes a HOBBY !
···································································
Post Edited (kenwtn) : 8/22/2008 3:11:08 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When you spend 10 times what it cost to build it yourself - That's when it becomes a HOBBY !
···································································
That stepper does not have a common + input. Only four wires. The ULN you are using only provides a ground return and no power for the coils. The stepper you are using requires·two bridge type drivers to provide the power input on one side of the coil and a ground return on the other.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D. A. Wreski
That makes sense and explians why it will not step. Thanks for the information. Here is a another dumb question. Can the motor be stepped by simply applying power to A+ then no power to A+ and power to B+ ETC...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When you spend 10 times what it cost to build it yourself - That's when it becomes a HOBBY !
···································································
To answer your question, no. You need a current path through the windings to get it to step. If you ground A2 and B3 the most you would get is two steps out of the four for a full revolution.
On the PDF spec sheet it has a chart on the lower right. It shows the polarity of the two windings. First step is A1 and B3 is ground with A2 and B1 being supply at +5 volts. Then the second step is shown on the next line down.
The Polou Micro Dual Serial Motor controller from Parallax MAY work for you. I do not know if it is fast enough for this application but may be worth looking into.
Go to the Parallax site and check this out.
Pololu Micro Dual Serial Motor Controller Documentation (.pdf)
However, you most likely have to build your own·discrete bridge from four transistors. And don't forget the protection diodes.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D. A. Wreski
·· I will look into that. I really want to thank you for the time you have spent helping me to understand what I have.
Thanks Again,
· Ken
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When you spend 10 times what it cost to build it yourself - That's when it becomes a HOBBY !
···································································
Here are two ways to make a H-bridge to drive your stepper motor. See attached or go to this web site for a good explaination on stepper motor drivers.
http://www.cs.uiowa.edu/~jones/step/circuits.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
D. A. Wreski
Thanks so much for the information, Yes that is a big HELP!
Ken
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When you spend 10 times what it cost to build it yourself - That's when it becomes a HOBBY !
···································································