First time using external stepper driver with 1XD EXT board
-
I have never used an external stepper driver, so it is my premier with the duet 1XD board and I try to follow documentation in the Duet Docs and the documentation for the extruder that the stepper is for, but I am little bit confused.
Mainly due to different pin markings on the board, driver and even in the documentation of the driver and stepper itself. The markings of the stepper in the duet docs is also different when compared to the driver I have. I believe that my confusion is caused by fact that I don´t know much of electronics, but I hope you can guide me how to plug it correctly.
The duet3d extension board has 8 pins +5V, D0_STEP-; D0_STEP+,D0_DIR-,D0_DIR+, D0_EN-, D0_EN-, +5V, and the driver in the docs has PUL+, PUL-, DIR+, DIR-, ENA+,ENA-
but the physical driver I have has pins: P-UP,STALL; GND;ENA;STEP;DIR
and when I compare it to the dyze design docs, the supposed pins of the board and even the drivers pins are again entirely different.
Can you please tell me what pins on the 1XD board do I connect to which pins on the driver?
I have some additional questions:
-
What is the difference between single ended connection and differential connection shown in the duet docs for the 1xd board?
-
The steppers required current is 2.7A RMS, but the max output from the 1XD is 2A. Can I plug the PWR connectors of the driver to the same 48V PSU as the 1XD extension board and the 6HC mainboard I use?
-
-
@qlqlo it would help if you can provide a link to the manual for your driver; but the following will probably work. Connect STEP+ DIR+ and ENA+ on the 1XD to your driver STEP DIR and ENA input respectively. Leave STEP-, DIR- and ENA- not connected. Also connect GND on your driver to a GND pin on the 1XD. We don't provide a GND pin on the driver connector of the 1XD because it isn't normally needed, so use the GND pin on the 1XD IO_0 connector.
Check that when you enable the driver using the M17 command, the motor energises; and that when you use M18 to disable the driver, the motor de-energises and turns freely. If you find it's the other way round then connect ENA on the driver to EN- on the 1XD instead of to EN+.
You can use the same 48V PSU for the motor and both boards, provided that your 6HC board is a recent one that can accept 48V input.
-
@dc42 Thank you. That would mean to leave the P-UP, and STALL on the driver also not connected. Is that correct?
Here is the driver documentation.https://docs.dyzedesign.com/stepper-driver.html#duet-configuration
-
@qlqlo thanks.
Can you tell me why you are using this driver, instead of using a Duet 3 6HC output to drive the same motor? I suspect it uses the same stepper driver chip as the 6HC and 3HC.
-
@dc42 I use this driver because it was provided by the extruder manufacturer and the 6 drivers on the 6HC is already reserved for X,Y,Z.
-
@qlqlo you could connect the Stall output of the driver to one of the three IO_ inputs on the 1XD. That would allow you to set up a trigger when a stall is detected.