Creating and Configuring Stepper Motors
Stepper motors are created much the same way as servos are:
Click or drag out a stepper motor to create one:
Stepper Motor Connection
Section titled “Stepper Motor Connection”Bottango currently supports three kinds of connections to stepper motors:
4-pin bipolar
Section titled “4-pin bipolar”
In this connection type, you supply four pins: two pins for the A coil, and two pins for the B coil of your bipolar stepper motor.
Here’s an example of the kind of controller you would use for this connection type: The Adafruit DRV8833 DC/Stepper Motor Driver Breakout Board.
Step and direction
Section titled “Step and direction”
In this connection type, you supply two pins.
The first is the step pin. This is the pin that will signal to the breakout board to step on a rising edge on that pin.
The second pin is the direction pin. This indicates to the breakout board if the step should be clockwise or counterclockwise. You can set whether a low signal on that pin should mean a clockwise or counterclockwise step. The setting here will depend on your exact board as well as the order you wired up the coils of your stepper motor. You may need to experiment with both settings.
Configuring Stepper Motor Steps
Section titled “Configuring Stepper Motor Steps”You configure the steps values of a stepper motor in much the same way you configure the PWM of a servo motor:
On the right you enter the number of clockwise steps the stepper should take to move to its maximum movement (
1.0).
On the left you enter the number of counterclockwise steps the stepper should take to move to its minimum movement (
0.0). Note that this is always a negative number. You move positive steps from home clockwise, and negative steps from home counterclockwise. You can use the nudge slider to nudge the values as well.
Finally, unlike a servo, a stepper’s “home” is always 0 steps. This is the state the stepper motor should be in when it is synchronized, as we’ll discuss in Synchronizing Stepper Motors.