From caeb94f13236db84f253963b961200a9e95d2b87 Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Tue, 27 Jun 2023 22:04:25 -0500 Subject: [PATCH] Update StepperModes.md --- docs/StepperModes.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/StepperModes.md b/docs/StepperModes.md index 4755b2a..63cfb32 100644 --- a/docs/StepperModes.md +++ b/docs/StepperModes.md @@ -2,12 +2,13 @@ A typical stepper motor has two sets of coils, *A* and *B*. Applying a current to one or both coils creates a magnetic field that fixes the motor's position. Any changes to the direction and/or magnitude of the current flowing through the coils causes the motor to "step" to a new fixed position. By repeatedly changing the current flow according to a specific pattern the motor can be made to continuously step clockwise or counterclockwise. The specific pattern chosen, known as the *step mode* in the **StepperControl** class, determines the size of the step and overall performance of the motor. The speed at which changes to the current flow are made determines the speed at which the motor rotates. -**StepperControl** supports two different types of step modes: those that simply set the direction of the current flow to either fully on or off, and those that also use PWM to modulate the magnitude of the current flow. +**StepperControl** supports two different types of step modes: digital-only modes that simply set the direction of the current flow to either fully on or off, and PWM modes that use a PWM signal to also modulate the magnitude of the current flow. -![fullStep2](images/fullStepTwoPhase.png) -![fullStep1](images/fullStepOnePhase.png) +image
+ +image
+ +image
-![halfStep](images/halfStep.png) - -![pwmSteps](images/StepperPWM.png) +image