Hi astanapane.
One pulse on STEP input moves motor one step only.
Ioannis
Hi astanapane.
One pulse on STEP input moves motor one step only.
Ioannis
Hi Ioanni
I will do some tests on the Code and once i have some Good news i will let you Know.
At the moment I'm on the 3d design of the model. Actually i design a Base for the stepper Motor.
May i ask you something that might sound stupid?
On the Motor i have it is recognised as a 1.8 degree angle.
They do say that is a 200 step per revolution.
If i turn the axis by hand i feel the steps but as i measured is not more that 50 steps.
Am i right or what i try to count doesnt have to do anything corresponding to its operation and the 200 steps.
The actual steps have nothing to do with what your are feeling turning it by hand.
If you follow the step pulses then you will confirm the 1.8 degrees/step. With microstepping even less, but this is complicated for now.
Ioannis
thanks for the clarification.
i will do my tests and will upload my code.
The 50 detents you feel when rotating the shaft by hand comes from the 50 magnetic poles of a standard 1.8° 2-phase motor. Had it been a 0.9° 2-phase motor you would have felt 100 detents.
Moving the rotor between two "natural resting positions" (the detents) takes 4 electrical steps (the 90° phase shifted signal you use to drive the motor). 4*50=200 steps.
/Henrik.
That is really interesting.
I learn from you guys everyday. Thanks a lot.
New i only need to understand how To give a step and a direction at the same time
Basically you don't.
You set the direction signal high or low depending on the desired direction, then you start sending out the step-pulses. You want to make sure the direction signal is in its correct state before the step-pulse goes out. If it's not the motor might move a step in the wrong direction.
Bookmarks