I've a DC stepper motor with step angle of 1.8 Degree (200 steps per revolution).
I want it to go by a speed of only 15 steps per minute. Is it possible to go that slow with the available stepper motor.
Stepper Specifications :
a. Nominal Voltage = 12 ~ 24 Volt DC (-0.3 to 7 Volt DC/ phase)
b. Current = 2.4 A/ phase
c. Resistance = 1.7 Ohm/ phase
d. Inductance = 3.1 mH/ phase
e. Holding torque = 13.9 Kg.cm
f. Rotor-intertia = 134 gr-cm2
g. Weight = 1000 gr
I'm unable to write the code for arduino to do it.
Kindly help.
vats:
I've a DC stepper motor with step angle of 1.8 Degree (200 steps per revolution).
I want it to go by a speed of only 15 steps per minute. Is it possible to go that slow with the available stepper motor.
Going slow like that.... eg. 1 step every 4 seconds ----- should be absolutely no problem.
Your code can be just like a timing routine.
Could first define a reference time variable --- for timing purposes.
unsigned long ref_time = 0;
... in the setup area, have this:
ref_time = millis();
somewhere in your main loop..... could put this...
if (millis() - ref_time >= 4000 ) { //every 4 seconds.... carry out the instructions below
put in the code here to make the motor advance by 1 step;
ref_time = millis();
}
Thanks for the heads-up Paul__B. I typed the comments in too fast.... the code is for 4000 milliseconds, so the comment should be amended to 'every 4000 milliseconds', or (equivalently) 'every 4 seconds'.