Nema 14 don't work with duet wifi drivers
-
Hello I need some help.
I have tried everything but the nema 14 round motors (5 of them) for orbiter extruder won't work with any of the duet wifi drivers. I have used the motors on another board with A4982 motor drivers and they were running perfectly.
The board is working fine though with nema 17 motors.
The nema 14 motors are:
wantai 36bygh218 (1.88A current, I have put from 900-1500mA current)
unknown company (1A current, I have put from 900-700mA current)I have checked all the wiring more than ones. I have changed the motor current in the config file with different currents. I have tried different accelerations. But never worked.
When I give the command to move some mm, it is doing like skipping steps and worms up quickly.I there something else to configure?
This is part of my config file.
; Drives
M569 P0 S1 ; physical drive 0 goes forwards (X axis)
M569 P1 S1 ; physical drive 1 goes forwards (Y axis)
M569 P2 S0 ; physical drive 2 goes backwards (Z axis)
M569 P3 S1 ; physical drive 3 goes forwards (E0)
M569 P4 S0 ; physical drive 4 goes backwards (Coupler)
M584 X0 Y1 Z2 E3 C4 ; set drive mapping
M350 C8 I0 ; configure microstepping without interpolation
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X100.00 Y100.00 Z400.00 E655.00 C100.00 ; set steps per mm
M566 X400.00 Y400.00 Z10.00 E300.00 C2.00 ; set maximum instantaneous speed changes (mm/min)
M203 X16500.00 Y16500.00 Z1000.00 E3600.00 C5000 ; set maximum speeds (mm/min)
M201 X4000.00 Y4000.00 Z400.00 E600.00 C400.00 ; set accelerations (mm/s^2)
M906 X1200 Y1200 Z1400 E700 C400 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S120 ; Set idle timeout -
@sigourosandreas Your stepper current is way too high; should be 450mA. Here's my motor config, which is otherwise much the same as your, for Orbiter v1.5 with 2.85mm Bondtech gears, but mostly the same, works great:
M584 X0 Y1 Z2:3 E4 ; Set drive mapping M569 P4 S0 ; physical drive 4 goes backwards M350 E16 I1 ; configure microstepping with interpolation M92 E743.50 ; set steps per mm M566 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 E3600.00 ; set maximum speeds (mm/min) M201 E600.00 ; set accelerations (mm/s^2) M906 E450 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout
Ian
-
@droftarts thank you.
I tried it, but it does the same.
I really do not think it is current issue.
It must be something else, because it worked on a rambo board with about 900mA. -
@sigourosandreas Ah yes, sorry, I see you have the Wantai motor.
Have you tried it on a different motor driver on the Duet? It sounds like one of the phases may be disconnected.Ian
-
@sigourosandreas said in Nema 14 don't work with duet wifi drivers:
@droftarts thank you.
I tried it, but it does the same.
I really do not think it is current issue.
It must be something else, because it worked on a rambo board with about 900mA.Have you checked the pairs of coils are wired the correct way? that seems like the most likely cause to me (Not all motors use the same colours for the coil pairs unfortunately )
-
Looking at the Rambo board, the coils are wired the same way as Duet; one coil to the left pair of pins, one coil to the right pair.
Ian
-
@droftarts said in Nema 14 don't work with duet wifi drivers:
Looking at the Rambo board, the coils are wired the same way as Duet; one coil to the left pair of pins, one coil to the right pair.
Ian
I wouldn't know about the Rambo TBH but it seems like a connection issue to me @sigourosandreas have you changed the std connectors from Dupont's onto Molex ones first if not I would put money on a poor connection on one or more pins!
Doug
-
Thanks for the help guys. All the motors are working.
I changed the pairs on the wirings and they are working.I had them BAAB ( like it is advised on the "duet wiring") and changed them to AABB and are moving.
I spent a month trying to solve this thing.
Thank you all.
-
@sigourosandreas you must have missed this: https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Using_the_internal_drivers
Ian
-
The question is @sigourosandreas where BAAB is advised? In the Orbiter documentation? Because that's clearly wrong ...
-
@oliof no, it’s that there is no standard for describing how to connect the coils. We followed Trinamics naming for Duet 2 WiFi/ Ethernet, but even they changed it, which is why we ended up with (from the link I posted):
Each stepper motor connector has four pins. On Duet 2 WiFi/Ethernet these are labelled '2B 2A 1A 1B' on the back of the board, and on the wiring diagram. The '1' and '2' refer to the coil or phase, the 'A' and 'B' refer to the positive and negative.
On Duet 2 Maestro and Duet 3, the four motor connector pins are labelled 'B1 B2 A1 A2' on the back of the board and on the wiring diagram. The 'A' and 'B' refer to the coil or phase, the '1' and '2' refer to the positive and negative. This is the naming convention used by most stepper motor manufacturers.
Ian