From d7184fce0d9aeb7881615ec62a13a06122b86b78 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 15 Oct 2019 15:03:03 -0400 Subject: [PATCH] DRV8825, Diagrams, etc. --- A4988-Stepper-Motor-Controller.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/A4988-Stepper-Motor-Controller.md b/A4988-Stepper-Motor-Controller.md index 7aa929be..37e547c7 100644 --- a/A4988-Stepper-Motor-Controller.md +++ b/A4988-Stepper-Motor-Controller.md @@ -1,6 +1,6 @@ -Use an A4988 controller to easily control stepper-motors like "NEMA 17" and siblings. Detailed information about the controller can be found in the [datasheet](http://www.allegromicro.com/~/media/Files/Datasheets/A4988-Datasheet.ashx?la=en). +Use an stepper motor controller to easily control stepper-motors like "NEMA 17" and siblings. -## Enable A4988 support +## Enable Stepper Motor Support To enable this feature, add `#define USE_A4988_STEPPER` to your `user_config_override.h` file and compile your own firmware. ## Connecting the motor controller @@ -25,7 +25,15 @@ There are six corresponding GPIO [components](Components) for this Tasmota drive `A4988 MS2 (174)` `A4988 MS3 (175)` -The minimal configuration for the A4988 are the `DIR` and `STEP` signals. In such a configuration the motor will be permanently powered and microstepping will be set to 1/1 (full steps). +The minimal configuration for the A4988 are the `DIR` and `STEP` signals. In such a configuration the motor will be permanently powered and microstepping will be set to 1/1 (full steps). Detailed information about the A4988 controller can be found in the [datasheet](http://www.allegromicro.com/~/media/Files/Datasheets/A4988-Datasheet.ashx). + +#### A4988 Microstepping Configuration +![A4988-Truth-Table](https://user-images.githubusercontent.com/34340210/66860427-2d256a80-ef5b-11e9-9979-47778140661f.png) + +### DRV8825 Controller +The A4988 is directly pin compatible with the DRV8825. Only the number of microsteps is different (there are more on the DRV8825). +#### DRV8825 Microstepping Configuration +![DRV8825 -Truth-Table](https://user-images.githubusercontent.com/34340210/66860425-2d256a80-ef5b-11e9-95cf-6625833eea87.png) ## Operation Refer to the [Stepper Motor Commands](Commands#Stepper-Motors) @@ -39,4 +47,15 @@ Thus the wish to install a high-torque stepper-motor (with shifting gear) was bo The **"TasmotaSmartCatFeeder"** circuit consists of a WeMos D1 mini, a A4988 controller, and two power supplies (5V&12V). This all fits into the housing of the feeder and costs less than 50€! -Virtually everything which has to be moved or rotated can be done now using these cheap components. It can be a window, door, shutter, cat or dog flap, a solar panel which follows the sun, a moving spotlight, PTZ-camera, or whatever. \ No newline at end of file +Virtually everything which has to be moved or rotated can be done now using these cheap components. It can be a window, door, shutter, cat or dog flap, a solar panel which follows the sun, a moving spotlight, PTZ-camera, or whatever. + + + +## Wiring Diagrams +![Nema-17_v1](https://user-images.githubusercontent.com/34340210/66860250-d6b82c00-ef5a-11e9-8897-1a4e9d7fdf21.jpg) +![28BYJ-48_V1](https://user-images.githubusercontent.com/34340210/66860253-d91a8600-ef5a-11e9-9195-c816e329abb8.jpg) + +### A4988/DRV8825 Stepper Motor Control Development Boards +[Banggood](https://www.banggood.com/A4988DRV8825-Stepper-Motor-Control-Board-Expansion-Board-For-3D-Printer-p-1238774.html) +[Ali Express #1](https://www.aliexpress.com/item/32908836265.html) +[Ali Express #1](https://www.aliexpress.com/item/32870732179.html)