clough42 / electronic-leadscrew

Lathe electronic leadscrew controller
MIT License
322 stars 117 forks source link

Stepper Drive Starts at a resolution of 400 #115

Open ofer1973 opened 3 years ago

ofer1973 commented 3 years ago

If the driver of my stepper starts with a resolution of 400, Something needs to change in the code ? 71ghgGa4WTL _AC_SL1500_

Hobby-Lofty commented 3 years ago

Ofer, I would leave the code as: // Stepper driver configuration

define STEPPER_MICROSTEPS 8

define STEPPER_RESOLUTION 200

and set the dip switches on your DM542T driver to 1600, off off on on

for a 1.8 degree stepper motor = 200 steps per rev, times this by 8 = 1600 Lofty

ofer1973 commented 3 years ago

And if I want to change the poly of the stepper to a ratio of 1: 2, what do I need to change ?

Hobby-Lofty commented 3 years ago

try setting your driver to 800, this should double the speed of the stepper motor.

ofer1973 commented 3 years ago

My intention is just the opposite, I want to reduce the speed of the stepper to half.

Hobby-Lofty commented 3 years ago

try setting your driver to 3200, this should half the speed of the stepper motor.

ofer1973 commented 3 years ago

I'll try it, thank you very much :-)