Hello once again , this time i have trouble calculating the value for $100 (X) (Y) & (Z) I've look all over the web to find how to calculate the steps and each place I find has a different method that comes out wrong .Im using a lead screw with 1/4 steps on the driver , Arduino CNC Shield , the machine is home built and I think I got most of the bugs ,but wont be sure until I configure X,Y,Z and run a bunch more test.The driver is a A4988 ,CNC Shield V3 GRBL1.1 lead screw 1.8 degree .Any suggestion would be appreciated .
I have never seen a lead screw specified that way. Usually they are specified by diameter and pitch. A, common, stepper is 200 steps per revolution or 1.8 degrees per step.
If you are driving a lead screw then you are interested in mm travel per step - so you need to factor in the pitch of the thread .
Can you not just write a simple sketch , send it say 100 steps and measure the screw movement , then work out steps per mm of lead screw and use that ?
Alright , so the place I get my hardware don't say much about details , there more of a supplier than technical people so I guess the pitch would be 8mm , so how do I add this to a formula or is there a better formula from the one I posted above ? or perhaps free software to provide the answer because 33.33 steps for X,Y are really low values or just completely wrong .
The pitch of a screw is the distance from the top of one thread to the top of the next Thread. That distance will not be 8mm. It is much more likely to be 1mm or 1.5mm if it is a metric thread.
The simple way to determine the pitch is to rotate the screw by exactly 10 turns and measure how far the carriage moves. Divide the movement by 10 and you have the pitch.
so rotate the screw 10 full revolutions and divide by 10 revolutions the distance traveled .Ok , let me ask you this
if the lead screw is 1.8 degree and for 1 revolution is 360 degree so then the formula is 360/1.8 = 200 steps
which is already in UGS .Now for X,Y, Z I have to compensate for the A4988 driver set a 1/4(.25) microsteps , so that value in UGS comes to 250 steps ,so when i tell it to move say 20 mm and it moves 7.4mm what am i missing ?