[ Register ]

### Question #: 14254

Question: stepper motor steps per inch formula

Current Solution

The formula and calculation is a starting point to get into the area of steps per inch. You will then need to use the mach3 calibration utility to get the exact steps per inch.

Formula:
step per inch = (motor steps * microstepping) / (travel at one turn of the motor in inches)
if microstepping is set at 16 (1/16 on the driver) then and you are using a sprocket and chain with a pitch of .25 inches and 12 teeth on the drive sprocket
= (200 * 16) / (12 * .25)
= 3200 / 3
= 1066.666 steps per inch

For lead screw that has a travel of .5 inches at one turn like the 5 start 1/2 inch lead screw and using 4 microsteps per step (1/4):
= (200 * 4) / (.5)
= 800 / .5
= 1600 steps per inch

Remember to use the mach3 calibration wizard and double check the driver microstep setting.

Respond:

### Other Possible Solutions to this Question

• WHAT IS THE FORMULA TO DETERMINE STEPS PER INCH OR RESOLUTION FOR EACH AXIS?

The formula and calculation is a starting point to get into the area of steps per inch. You will then need to use the mach3 calibration utility to get the exact steps per inch.

Formula:
step per inch = (motor steps * microstepping) / (travel at one turn of the motor in inches)
if microstepping is set at 16 (1/16 on the driver) then and you are using a sprocket and chain with a pitch of .25 inches and 12 teeth on the drive sprocket
= (200 * 16) / (12 * .25)
= 3200 / 3
= 1066.666 steps per inch

For lead screw that has a travel of .5 inches at one turn like the 5 start 1/2 inch lead screw and using 4 microsteps per step (1/4):
= (200 * 4) / (.5)
= 800 / .5
= 1600 steps per inch

Remember to use the mach3 calibration wizard and double check the driver microstep setting.

WHAT IS THE FORMULA TO DETERMINE STEPS PER INCH OR RESOLUTION FOR EACH AXIS?

• With a 1/2 lead screw what is the optimal steps for the stepper motor driver 1/16, 1/8, 1/4 etc

We typically use a 1/4 microstepping for lead screws, but you want to determine the microstepping only after you determine what resolution you want on that axis of the machine.

The formula:
Resolution is steps per inch or steps per milimeter

I will go over this using steps/inch:
steps = motor steps x driver microstepping
inch = the amount of travel with one full stepper motor rotation

In the case of our 1/2" 5 start 10 TPI lead screw, the axis will travel .5 inches with one stepper motor rotation.

Let's use 1/4 microstepping (4 microsteps for each stepper motor step)

Therefore:
(200 steps x 4) / .5 inches =
800 steps / .5 inches =
1600 steps/inch

Now let's use 1/2 microstepping (2 mistrosteps)

(200 steps x 2) / .5 inches =
400 steps / .5 inches =
800 steps/inch

Remember that increasing microsteps, the torque is also reduced, but the smoothness from the motor is increased.

With a 1/2 lead screw what is the optimal steps for the stepper motor driver 1/16, 1/8, 1/4 etc

• HOW MANY STEPS PER INCH DO I SET IN MOTOR TUNING?

blueChick:

X-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

blackToe:

X-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

blackFoot:

X-axis
“CW8060 (6.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100 (“0”=down, “1”=up)
Mach3 Motor Tuning: 914.29 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

greenBull:

X-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/16 Microstep
Dipswitches: 01100110 (“0”=down, “1”=up)
Mach3 Motor Tuning: 914.29 steps/in

Y-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/16 Microstep
Dipswitches: 01100110
Mach3 Motor Tuning: 914.29 steps/in

Z-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/4 Microstep
Dipswitches: 01100100
Mach3 Motor Tuning: 1600 steps/in

Scratch-Build / Book-Build Kit:

X-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100 (“0”=down, “1”=up)
Mach3 Motor Tuning: 1600 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

Scratch built/book CNC with NEMA 34 motors and CW8060 microstep driver

HOW MANY STEPS PER INCH DO I SET IN MOTOR TUNING?

• I am asking what to set my steps per using your kit stepper motors and a 1/2"x13 lead screw with Mach3

Here is the formula for steps/inch (steps per inch)

Steps = how many steps for a full ration of the motor = standard motor steps x number of microsteps for each step
Standard motor steps for our stepping motors is 200 steps per revolution.
Microsteps are selected on the driver and are shown as full, 1/2, 1/4, 1/8, 1/16, 1/32 etc... Use the denominator for the number of microsteps per step.

Inches = how far the travel is for one full rotation of the motor. For the 1/2" - 13 TPI (threads per inch), the travel length will be 1"/13 or .076923". So, for one revolution of the motor, the travel distance will be .076923 inches.

So, the steps = 200 * microsteps, let's make this 1/4 just for the formula.
The inches will be .076923. Plug those into the formula:
Steps / inch = (200 * 4) / .076923 This can also be written as:
200 * 4 / (1 / 13) = 10,400

I am asking what to set my steps per using your kit stepper motors and a 1/2"x13 lead screw with Mach3

• how do I determine the steps per inch for the motors?

blueChick:

X-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

blackToe:

X-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

blackFoot:

X-axis
“CW8060 (6.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100 (“0”=down, “1”=up)
Mach3 Motor Tuning: 914.29 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

greenBull:

X-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/16 Microstep
Dipswitches: 01100110 (“0”=down, “1”=up)
Mach3 Motor Tuning: 914.29 steps/in

Y-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/16 Microstep
Dipswitches: 01100110
Mach3 Motor Tuning: 914.29 steps/in

Z-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/4 Microstep
Dipswitches: 01100100
Mach3 Motor Tuning: 1600 steps/in

Scratch-Build / Book-Build Kit:

X-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100 (“0”=down, “1”=up)
Mach3 Motor Tuning: 1600 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

Scratch built/book CNC with NEMA 34 motors and CW8060 microstep driver

how do I determine the steps per inch for the motors?

• stepper motor runs smooth then rough for a moment then smooth, etc. Does this at all steps, and connected motors.

This sounds like it could be a loose wire, or poor connection with the motor wires. Make sure all wires that are to be connected to each other are soldered and use a lineman's splice when putting the wires together. Also, make sure that the wires going into the driver is securely fastened.

If this is an issue where the motors have run well for a long time then just started to show this performance issue, then make sure that there are no wire ties or other binding method that is chaffing the wires. This would make the motors run oddly at certain travel positions where the chafing has caused a short with the wires.

If this is an issue where you don't have the motor plugged in at all and are just trying to turn it by hand and this phenomenon is occuring, then make sure all of the wires are not touching each other. When wires are touching each other and you are trying to spin the shaft by hand, the motor will feed current back into the motor making it difficult to turn.

• reverse stepper motor direction on pokeys

When trying to use two motors on a single axis, there is a multitude of methods to get them to work together.
First: There should always be a slave option in the CNC control software(mach 3/ planet-cnc/emc2/etc.), this will be the easiest way to make the dual motor configuration work. However some adjusting might be necessary due to the orientation of the motor when mounting it on the opposite side of the CNC machine.(Mach3/config/slaveaxis, planet-cnc/file/settings/axes).

Secondly: Dealing with our interface boards(maybe third-party as well), you can have two drivers going to the same axis on the interface board. Which then will have one motor per driver, this will use the same motion and control from the (ex.) x-axis to driver two motors. However some adjusting might be necessary due to the orientation of the motor when mounting it on the opposite side of the CNC machine.

Adjusting of the driver or motor wires, can be done separate from the control software with the use of a hex inverter, that can be used and to switch the signal (ex. takes a low signal and brings it high, and takes a high signal and brings it low) of one of the motors, to run the same as the other motor.
There is also another method of inverting the orientation of the motors movement without the use of a hex inverter. This method you will have to wire the coil's of the motors oppositely of what is recommended for one of the motors. Example, you will wire our Nema 24 as follows(recommended): A+ - red/blue, A- - yellow/black, B+ - white/brown, B- - green/orange. However to run another motor with with it you will have to switch the A/B connections to: A+ - white/brown, A- - green/orange, B+ - red/blue, B- - yellow/black.

These method's are usually needed/used when trying to control two motors and setting it up without the help of the CNC control software, and also due to the mounting orientation of the second motor, the inverting the direction of motion will be necessary so they work together instead of working against each other.

reverse stepper motor direction on pokeys

• do I need a stepper driver for each motor?

Refer to this video:

do I need a stepper driver for each motor?

• How can I have two stepper motors on one axis

Yes, you can use 2 motors in the same axis output, however you will still need a driver for that motor! Also depending on the orientation on which you mount the motor you might have to invert the direction of the motor, and that will be simple by swapping the A+,A-, to the B+,B- locations and vice versa, from the driver to the motor wiring.

Also you can run a slave motor using another axis on the board, and setting it up in the Planet-CNC settings.

Planet-CNC/File/Settings/Axes, here you will enter 3 in the Number of Axes location, and then change the Function of the Axis 4 to Slave 1. There you will have the 4th axis or A-axis be a slave for the x-axis.
Slave 1 - X-Axis
Slave 2 - Y-Axis
Slave 3 - A-Axis
Slave 4 - B-Axis
Etc...

How can I have two stepper motors on one axis

• How do I wire two stepper motors for one axis?

Yes, you can use 2 motors in the same axis output, however you will still need a driver for that motor! Also depending on the orientation on which you mount the motor you might have to invert the direction of the motor, and that will be simple by swapping the A+,A-, to the B+,B- locations and vice versa, from the driver to the motor wiring.

Also you can run a slave motor using another axis on the board, and setting it up in the Planet-CNC settings.

Planet-CNC/File/Settings/Axes, here you will enter 3 in the Number of Axes location, and then change the Function of the Axis 4 to Slave 1. There you will have the 4th axis or A-axis be a slave for the x-axis.
Slave 1 - X-Axis
Slave 2 - Y-Axis
Slave 3 - A-Axis
Slave 4 - B-Axis
Etc...

How do I wire two stepper motors for one axis?

• Where are the datasheets for the stepper motors?

You can find the datasheets to our motors be going to the the stepping motor category page https://www.buildyourcnc.com/category/nema and selecting the motor. This will bring you to the product page for the motor and all of the motor information will be found there.

Where are the datasheets for the stepper motors?

• What size stepper motors does the blueChick use?

The blueChick uses NEMA 23 425 oz/in motors.

What size stepper motors does the blueChick use?

• can my stepper motor lift the weight of my router?

There are two main questions that we can answer with respect to motor torque and the mechanical advantage of lead screws, 1) What torque motor do you need to lift a particular weight, or 2) What maximum weight will my motor torque be able to lift.

This formula uses Newtons (N) as it's final unit. Use this with the included radius (R) to determine the torque. Newtons can easily be converted to lbs or ounces using online conversions.

Effort = Sf + (Load/(2 x pi x (R/p) x Se))

where:
p = pitch of the screw
Se = screw efficiency = Standard lead screw will be between 20% (.2) and 40% (.4)
Sf = static force. This is the force that is needed to start the movement. The number may be eliminated, but it is good to use a number in the 5 N to 20 N range.
Load = the expected load that the effort will need to carry (i.e., the router and the included axis assembly that the motor will need to lift)

This formula is based on the "law of the machine"

The final effort amount with its unit of newtons and R will be the torque. For example, if the effort comes to 100 N (newtons) and the R is .5 inches, then you can assume that the effort is 50 N-in since it would take twice the effort to turn form the one inch mark from the center of the shaft.

Example:

Load = 90 N (20.2 lbs)
R = 1 inch since that is the length from the center of the shaft that the motor is rated
p = 1 inch / 13 = .08 inches

Effort = 5 N + (90 N / (2 x 3.14 x (1 / .08) x .2))
Effort = 5 N + (90 N / (6.28 x 12.5 x .2))
Effort = 5 N + (90 N / (15.7))
Effort = 5 N + (5.73 N)
Effort = 10.7 N = 2.4 lbs = 38.4 oz-in

I am putting the oz-in on the end because the formula considers the distance from the center of the shaft to be one inch.

Therefore, a 425 oz-in motor would be able to lift a 20.2 lb Router with its accompanying assembly. If the assembly and router is heavier, plug in the numbers and determine the effort required.

With a bit of algebra, the formula can be rewritten to find the load:

Load = (Effort - Sf) x (2 x pi x (R/p) x Se)

Another formula that does not consider friction at all:

Effort = (Load x p) / (2 x pi x R)

Lets see if we get similar results:

Effort = (20 lb x .08 inches) / (2 x 3.14 x 1)
Effort = 1.6 / 6.28 = .255 lbs = 4.08 oz-in

The results from both formulas appear to be very small because a 13 TPI screw will have enormous mechanical advantage.

It is evident that the first formula that does consider friction that we are loosely estimating is far more conservative than the second formula. Either way, even the most conservative formula shows that the 425 oz-in motor will handle very large weights. If you are using a lead screw with only two turns per inch, .5 inch pitch, you can determine the requirements with the first formula.

Example for a 10 TPI 5 start (2 turns per inch) lead screw:

Load = 90 N (20.2 lbs)
R = 1 inch since that is the length from the center of the shaft that the motor is rated
p = 1 inch / 2 = .5 inches

Effort = 5 N + (90 N / (2 x 3.14 x (1 / .5) x .2))
Effort = 5 N + (90 N / (6.28 x 2 x .2))
Effort = 5 N + (90 N / (2.512))
Effort = 5 N + (35.83 N)
Effort = 40.828 N = 9.18 lbs = 146.88 oz-in

Customer Response:
thank you so much

how do i calculate torque of stepper motor if lead screw coupled to motor shaft and load applied by lead screw on plate is 100 kg by vertically

Pls

1m 16mmdiameter ball screws calculations

can my stepper motor lift the weight of my router?

• how to calibrate stepper motors with ballscrews In mach3

The easy way is to use Mach3's calibration process to calibrate the axis with the ballscrew coupled to the stepper motor. This is done in the settings tab of Mach3 and clicking the button just above the "Reset" button called "Set Steps Per Unit". A dialog box will appear asking how far you want Mach3 to move that axis. Mach3 will move that axis at a distance that is determined by the existing steps per unit value set in the motor tuning dialog box (config menu -> motor tuning). Not knowing the distance that this axis will travel, it's best to use a very small value.

The more difficult way and the technique that should be used to create the initial value for the step per unit in the motor tuning dialog box. Use the steps/unit formula. This example will use inches.

Steps/Inch
= ((motor natural steps) x microsteps) / (the travel for one complete revolution)

The travel for one revolution would be the distance a ball nut will travel with one complete turn of the ball screw. This is generally the number of starts / threads per inch. Say the ball screw has 5 starts (5 threads starting from the beginning of the screw) and 10 threads per inch (TPI), then the travel for one complete turn of the screw would be 5/10, or 1/2".

Say you set the microstepping to be 1/4 on the stepper motor driver and your stepper motor has 200 natural steps per revolution (1.8 degrees per step), then the total steps would be 200 x 4 = 800.

So, the steps/inch is 800 / 1/2" = 1600 steps per inch

Hope that helps

how to calibrate stepper motors with ballscrews In mach3

• What brand and/or country of origin are the stepper motors?

The stepping motors we sell are from China.

What brand and/or country of origin are the stepper motors?

• What are the toggle switch settings on the stepper motor drivers for the .5 in. lead screw 10 tpi 2 turns per inch? Thankyou!

On the top of the stepper motor drivers is a grid with the appropriate toggle switch positions for the lead screw being used. If it is 2 turns per inch, the proper toggle switch positions would be 01101110. Try this and see if it works.

• My stepper motor has little to no torque on anything less than 1/4 steps.. tested on two drivers verified to be working. Can this be remedied?

For our motors, you must verify the correct wiring for each.
425 oz-in motor: (Wiring: Red and Blue to A+, Yellow and Black to A-, White and Brown to B+ and Orange and Green to B-.)
651 oz-in motor: (Wiring: Red to A+, Green to A-, Yellow to B+ and Blue to B-).

• How long does it take to ship to Israel 3 nema 11 stepper motors ?

Unfortunately I am not able to give an estimate of shipping time. This is because there are multiple shipping options, Some of them cost more than others, but ensure the package arrives in a certain number of days. Others do not give a number of days, and many factors could change the length of shipping time, such as weather, or busy season. It would be best to choose an option you are comfortable with the price of, and then Google search the typical times it takes for that option to get to you, or call the shipping company and request that estimated time from them.