Connecting External Stepper Drivers
-
The expansion header has E2 to E5 as shown in the wiring diagram:
https://duet3d.com/wiki/Duet_WiFi_wiring_diagramsWhen setting up axis etc these are Drive number 5- 9
So as David shows in the IDEX documentation E2 is drive 5
https://duet3d.com/wiki/Configuring_multiple_independent_X-carriages_on_a_Cartesian_printerE.g.
M584 X0 Y1 Z2 U3 E4:5
Where the second extruder is assigned to drive 5, ie E2 on expansion header
-
The E2 pins on the expansion connector will be driver number 5, E3 will be 6, and so on.
-
Thanks i should have guessed.
My last issue is no matter what i connect to the 4988 it ignores everything. Steps/mm etc..
I added U to it and X moves normally but U moves really rapid.
-
Well barring an issue with the A4988 itself have you checked that your enable line is low? Also if it is enabled then the motor should be powered and thus held.
-
Well barring an issue with the A4988 itself have you checked that your enable line is low? Also if it is enabled then the motor should be powered and thus held.
Not sure what you mean.
Also i should jumper RESET and SLEEP right?
-
Have you configured the microstepping control inputs to the driver? To get x16 microstepping you need to connect the MS1, MS2 and MS3 inputs to +3.3V.
-
Have you configured the microstepping control inputs to the driver? To get x16 microstepping you need to connect the MS1, MS2 and MS3 inputs to +3.3V.
Nope! I was thinking this is simple! So I just connect those pins to the 3.3v pin?
This is so not my strong point!
-
Sorry, This diagram is helpfull:
https://www.pololu.com/product/1182Checkout the minimum wiring diagram but add that you need to connect MS1-3 to 3.3V as David has already said.
-
Yeah i got everything correct apart from supplying 3.3v to the MS* pins.
All working thanks!
-
Great!
-
Glad it's working. With 1.15e and 1.16 series firmware, you no longer need to tie the Enable line to ground, you can connect it to the correct Enable line on the expansion connector instead.
-
Awesome. I'll run up a page on the wiki when I get chance. If your wiring up a stepper from scratch on a PCB then it not so easy if it's a first time job!