Update Stepper_A3967.md
This commit is contained in:
parent
7ccb4f0f49
commit
fea91b45ce
|
|
@ -11,14 +11,14 @@ The Allegro A3967 is a specialized driver designed for stepper motors. It contai
|
|||
* *Motor A* - connect to the "A" coil of the stepper motor
|
||||
* *Motor B* - connect to the "B" coil of the stepper motor
|
||||
#### **Control Connections**
|
||||
* *ENABLE* - connect to a digital pin on the ESP32 - used to enable/disable to motor driver
|
||||
* *STEP, DIR* - connect to two digital pins on the ESP32 - used to step the motor and set the direction
|
||||
* *MS1, MS2* - connect to two digital pins on the ESP32 - used to set the step type mode
|
||||
* *STEP, DIR* - connect to two digital pins on the ESP32 - used to step the motor and set the direction
|
||||
* *ENABLE* - connect to a digital pin on the ESP32 - used to enable/disable to motor driver
|
||||
* *SLEEP, RESET* - already pulled high on the EasyDriver board, so no connection neeed. If using a different driver board, ensure these pins are pulled high, else connect to VCC
|
||||
* *PFD* - not used
|
||||
|
||||
The **Stepper_A3967** class includes the following constructor:
|
||||
* `Stepper_A3967(int M1, int M2, int STEP, int DIR, int ENABLE)`
|
||||
* `Stepper_A3967(int MS1, int MS2, int STEP, int DIR, int ENABLE)`
|
||||
* controls the driver board using 5 digital pins from the ESP32, where the parameters specify the pin numbers. Supports the following step type modes:
|
||||
|
||||
* FULL_STEP_TWO_PHASE
|
||||
|
|
|
|||
Loading…
Reference in New Issue