Hello everyone i am new to this world and I want your help to solve the problem. Actually I am working on a Project where I have one Stepper motor with model no-(417-13-18D-11R0), arduino uno, driver board with model no-(DM320CPbF) and one power supply. Now the problem is stepper motor does not move. I have used the sketch of StepperOneRevolution which is the example in arduino IDE and yes I am using the stepper method witth two pins. So, I want to know that where is the problem why motor is not running? It will be great if you help me.
HpOliver:
Hello everyone i am new to this world and I want your help to solve the problem. Actually I am working on a Project where I have one Stepper motor with model no-(417-13-18D-11R0), arduino uno, driver board with model no-(DM320CPbF) and one power supply. Now the problem is stepper motor does not move. I have used the sketch of StepperOneRevolution which is the example in arduino IDE and yes I am using the stepper method witth two pins. So, I want to know that where is the problem why motor is not running? It will be great if you help me.
Thanks in advance.
Welcome to the Arduino forums. I see you are using an industrial stepper motor controller. The Arduino examples are not designed to interface to that type of commercial controller, only the hobby type controllers.
What voltage is your single power supply? 24 volt DC or greater?
Can we assume you have a copy of the controller PDF in front of you?
First of all thank you so much for the reply. Yes the power supply is of 24 volt DC and I have the pdf with me. I have one question you said that " Arduino examples are not designed to interface to that type of commercial controller, only the hobby type controllers." What does it mean? What I have to do for moving stepper motor?
First of all thank you so much for the reply. Yes the power supply is of 24 volt DC and I have the pdf with me. I have one question you said that " Arduino examples are not designed to interface to that type of commercial controller, only the hobby type controllers." What does it mean? What I have to do for moving stepper motor?
Thanks for your help.
That library is designed for 4 pins on a very small stepper motor. Like the one that came with my beginners kit!
I can't see a picture of your specific controller, but must have a section called "signal".
That section has connections for PUL (pulse), DIR (direction), and ENA (enable). Each one has + and - connections.
Connect all the - connections together and connect that to the Arduino ground.
You will need to write a simple program from scratch. Identify Arduino digital pins for: enable, direction, and pulse. Those three will be output pins.
In the "setup" section, set the enable pin high and then delay 5 microseconds, then set the direction pin high and again delay 5 microseconds. That is the minimum time required, according to the PDF.
Now, in the program section: "loop", set the pulse pin high, delay some time, perhaps 10 milliseconds, then set the pin low and delay again for 10 milliseconds. That is all the code necessary in the "loop".
Your motor should turn. Actually much simpler than the Arduino example.
Can you please give me some kind of drawing for the connection I am very confused in this ? I think there is something problem in the connection. I had connect motor with power supply and driver board but now the question is how to connect it with arduino and use it ?
Can you please give me some kind of drawing for the connection I am very confused in this ? I think there is something problem in the connection. I had connect motor with power supply and driver board but now the question is how to connect it with arduino and use it ?
Thanks.
Better yet, a picture of the front panel of the controller and a drawing of how YOU have things connected would help.
I follow your instructions and connect all -ve connections into ground and +ve connections to three different pins of arduino and then create a simple sketch as you said. But, still motor is not moving. Please help.