Each stepper motor driver has a set of dip switches. They look like this:
There are switches on the bar that stand in a certain position. They only have 2 positions: on and off.
Each of these switches or a combination of these switches is responsible for a particular parameter. On the driver itself there is a plate which indicates which switch must be turned on or off to achieve a particular mode.
With these switches you configure 2 parameters:
Current. Those. the maximum current that the driver will supply to the motor. This current should not exceed the currents that the motor can handle.
Microstep. Microstepping will allow you to tune smoother stepper motor rotation.
In most cases, microstepping options can be as follows:
Let's try setting the dip switches to Micro step = 4. This example is for TB6600 drivers.
According to the table, we must move the switches to this position:
Let's try setting the dip switches to Current (A) = 3.0. This example is for TB6600 drivers.
According to the table, we must move the switches to this position:
After you have changed the position of the dip switches for the micro step, you need to set the required number of pulses to 1 mm.
You can find out how to do it here.