Using the internal drivers make the stepper motor driver for a 3D printer

0 comments

Using the internal drivers make the stepper motor driver for a 3D printer

The Duet 3 has 6 on-board stepper drivers. Duet 2 WiFi, Ethernet and Maestro all have 5 on-board stepper drivers.

To connect stepper motors to the internal drivers.The pinout of each stepper motor connector is the same as for other popular 3D printer electronics.

For ALL DUETS, you must connect the two wires for one phase of the stepper motor to the two pins at one end of the connector, and the wires for the other phase to the two pins at the other end. See the next section to identify your motor's phases.

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.

Caution! Mixing the phases up on the 4-pin connector can and often does result in damage to the stepper driver. So make sure that you know which pairs of wires belong to the same phase. It doesn't matter which phase you connect to which pair of pins, or which way round you connect each phase: swapping the two phases over or swapping the pair of wires in a phase simply causes the motor to turn the other way, which you can correct in the config.g file.

Be especially careful when using stepper motors with detachable cables! A Nema 17 motor with a detachable cable usually has a 6-pin JST connector on it, but different manufacturers use different pinouts on that connector. Always check the stepper motor phases (see next section) when using motors with detachable cables.

It is highly recommended that the stepper motor casings be grounded, especially in belt-driven printers. Otherwise, motion of the belts causes static charge to build up, which eventually arcs over to the windings. Filament motion in extruders can cause static charge to build up on the extruder drive motor too. If the motors are screwed to a metal frame, grounding the frame is sufficient.

Leave a comment

All blog comments are checked prior to publishing
You have successfully subscribed!