The Duex 2 and Duex 5 are expansion boards for the Duet 2 Wifi and Ethernet. They provide up to 5 additional stepper, heater etc channels to allow for 3d printers or other machines with more axis, multiple drivers per axis, tool changers ets.
In the following instructions given for the Duex 5 apply equally to the Duex 2 except where noted..
Features
Hardware specification
- 5 additional TMC2660 stepper motor drivers with stall notification.
- 5 additional extruder heater outputs.
- 5 servo outputs with 5V power and 5V signal levels, sharing control channels with the heaters. So you can use unused heater channels to drive servos.
- 5 additional endstop inputs with indicator LEDs and 3.3V/5V voltage selection. These are also usable as outputs.
- 6 additional PWM controlled fan outputs*, also usable for driving LEDs etc. The output voltage may be switched between 5V, 12V and VIN .
- 4 uncommitted general purpose I/O pins. **Note:** the duex.gp1-4 pins have a permanent 10K pullup to 5V
- 12V 2A switching regulator, for generating a 12V supply for fans, LEDs etc. when the VIN power is higher than 12V.
- 5 additional thermistor inputs.
- Support for 2 more thermocouple or PT100 daughter boards, supporting up to 4 more sensors.
- Optional 5V external power input for powering servos, fans etc.
Operating limits
Stepper drivers | Up to 2.4A peak current |
---|---|
Heater outputs | 2 (DueX2) or 5 (DueX5) x extruder heaters up to 6A each |
Input power voltage | 11V to 25V1 |
Input connector rated current | 25A maximum |
Inputs/Outputs | Endstop pins are 5V-tolerant |
Fuse | 7.5A for stepper drivers, extruder heaters and fans |
12V current limit | 2A total for fans and 12V header (when internal 12V is selected) |
5V current limit | (supplied by connected Duet 2) 1A total on PWM pins and fans (when internal 5V is selected) |
External 5V current limit | 3A maximum total peak current, 2A continuous total on PWM pins and fans (when external 5V is selected) |
Note: At high currents, it is essential to use either ferrules or solid core wire with the terminal blocks on the Duet 2 and DueX2/5.
1 The maximum recommended power input voltage is 25V. This is a permanent limitation, because the TMC2660 drivers are rated at 30V when supplying power to motors.
Mounting and Cooling
The Duex is designed to be mounted back-to-back with the Duet 2 using long M4 screws and spacers. Alternatively, it can be mounted adjacent to the Duet 2 with the expansion connectors on the two boards next to each other.
It is also possible to mount the two boards side-by side with power connectors next to each other, but in this case the 50-way ribbon cable needs to be at least 200mm long instead of the standard 100mm.
As with the Duet 2, the stepper motor drivers are cooled via the PCB. To improve cooling, you can use a fan to blow air over the PCB, especially the underside. When the Duet 2 and Duex are mounted back to back, you can use a single fan to blow air between the two boards.
Wiring
Note, these expansion boards are not compatible with the Duet 0.6 or 0.8.5
Duex 2 and Duex 5 wiring diagram
- Use the 50-pin ribbon cable supplied with the Duex 5 to connect the two expansion connectors together. Important! The cables must be oriented as shown in the diagram. If you have a white pre-production Duet 2 WiFi then the 50-way expansion connector is probably fitted the wrong way round, with the keyway on the side next to the edge of the board (wrong!) instead of away from the edge (correct). To fit the cable, you will need to file down or cut off the protruding key on the cable end.
- Connect VIN and GND terminals of the Duex 5 to the corresponding terminals of the Duet 2. Do not run separate ground wires from each terminal block back to the power supply unless the power supply is very close (less than 100mm) to the Duet 2 and Duex. Instead, run a very short and thick ground wire directly from the negative (-) terminal of the VIN terminal block on the Duex board to the negative VIN terminal of the Duet. Also connect the negative wire from your power supply to the negative VIN terminal of the Duet. You can run separate +VIN wires from the Duet 2 and Duex back to the positive terminal of the power supply if you wish. The screw terminal rated current is 25A maximum. At high currents, it is essential to use either ferrules or solid core wire with the terminal blocks on the Duet 2 and DueX.
- Caution! On early production (v0.6, v0.7) Duex 2 and Duex boards, the VIN and GND markings on the underside of the board are incorrect and should be swapped over, so GND is the terminal that is also marked -, and VIN is the terminal that is also marked +.
- Important! You must have a reliable low-resistance connection between the negative (ground) terminals of the two VIN terminal blocks. Failure to do so may result in high currents flowing in the ground connectors of the ribbon cable and may cause damage to the Duet 2 or Duex. Preferably, make this connection using either solid core wire, or stranded core wire with ferrules of the correct size crimped on securely. Re-tighten the terminal block screws regularly for the first few days of use, to make sure there is no creep in the wires causing the screws to become loose.
- Important! If you have previously used the Duet with Duex 4 expansion board, note that the VIN terminal block polarity of the Duex 2 or 5 is not the same as on the Duex 4. Instead, the + and - terminals line up between the two boards when the Duet 2 and Duex 5 are positioned back-to-back.
- You do not need to connect anything to the 5V_EXT_POWER connector unless you want to supply external 5V power to power servos and fans.
- As with the Duet 2, you must never connect or disconnect anything (except the USB connector) when the board is powered up. In particular, connecting or disconnecting stepper motors while powered may damage the stepper driver chips.
Using multiple power supplies
In some cases, where current draw is particularly high, for example you have a large number of heaters, you may want to connect more than one PSU.
- The grounds of the VIN connectors of the Duet and DueX should be tied together by a short thick wire as usual.
- If you power up the Duet before you power up the DueX, the stepper drivers on the DueX won't get initialised. Ideally power them up at the same time, or the Duex first.
- If the VIN to the DueX goes below the minimum level (about 10V) then the stepper drivers on the DueX will stop functioning, but you won't be warned about it, because VIN to the DueX is not monitored separately.
- It should be possible to use PSUs of different voltages, eg 24V and 12V.
- Another way to use 2 PSUs would be to use one to power the bed heater only and the other to power everything else.
Jumpers
- Place the fan voltage select jumper in the 5V, 12V or VIN position according to your needs
- Place the endstop voltage selection jumper in the 5V or 3.3V position according to your needs
- Place the 5V_SELECT jumper in the INT position, unless you want to provide 5V power to servos and fans from the external 5V input
- If you will be using VIN power greater than 12V and you wish to enable the on-board 12V converter, put a jumper across the 12V_EN PINS
Commissioning
The Duex 2 or 5 is supported in firmware 1.16 and later. You must upgrade your firmware if you are using an earlier version.
- Double check your wiring, in particular the polarity and security of the connections to the VIN terminal block. The Duex is not protected against reverse supply voltage polarity.
- Apply 5V power only, for example via the USB port on the Duet 2.
- Connect to the Duet 2 via Duet Web Control, or using a USB host program such as Pronterface.
- If using DWC, go to the Gcode Console page
- Send command M115. Check that the ELECTRONICS string reports "Duet 2 WiFi + Duex 5" or "Duet 2 WiFi + Duex 2" as appropriate. If the "Duex 5" part is missing, remove power and check your wiring.
- If you have connected additional thermistors, thermocouples or PT100 sensors, send appropriate GCode commands to enable them and test that they are giving the correct readings.
- If everything is working so far, apply 12V or 24V power and proceed with testing other devices you have connected.
Using a DueX5 with External drivers
DueX5 revision 0.10 and 0.11 have the ability to disable the onboard drivers D7,D8 and D9 and switch the board to be in "DueX2" mode so the D7,D8 and D9 can be used to provided Step/Dir/Enable output for an external driver.
DueX5 v0.11 with External Drivers
Caution! The signals on D7, D8 and D9 are all at 3.3V. The Step, Dir and Enable signals are an extension of the signals coming from the Duet over the 2x25 expansion header, with no additional voltage translation or protection. The Stop signal is a duplication of the one found on the corresponding endstop connection on the Duex. If you want to use them take the same precautions as if you were plugging directly into the expansion header of the Duet.
Switch to DueX2 mode
Remove the jumper that is labelled "open for DueX2"
Disable the internal drivers
Remove the enable jumpers for D7, D8 and D9
DueX5 v0.10 with External Drivers
There are two modifications to do, both of which use drillable/solderable jumpers on the DueX5 v0.10 PCB. The first change is to change the board ID so that the Duet 2 thinks a DueX2 is attached, and the second is to disable the onboard drivers so that external drivers can be used.
Switch to DueX2 mode
There is a jumper marked "Cut for Duex 2" on the underside of the Duex 5 v0.10 board:
To break the circuit to make the Duex 5 appear to be a Duex 2, gently remove the copper ring of the jumper using a 1mm drill bit and confirm its removal by testing between the two pads using a multi-meter; there should be no connection.
''Note that the "cut for Duex0" jumper is not supported in firmware yet'.
Disable the internal drivers
From version 0.10 it is possible to disable the internal drivers on the Duex 5 so external drivers can be used.
To do this there are 5 small drill-able solder jumpers on the underside of the board labelled EN5 to EN9. The image below shows jumpers EN5 and EN6:
to disable the internal jumper, gently remove the copper ring of the jumper using a 1mm drill bit and confirm its removal by testing between the two pads using a multi-meter; there should be no connection.
PCB revision history
Duex5 and Duex 2 have undergone a number of minor PCB revisions. from the original release (0.6) to the current (0.11). All Duex revisions are compatible with all PCB revisions of the Duet 2 Wifi and Duet 2 Ethernet.
PCB revision v0.11
These changes were done to make it easier to change between Duex5 and Duex 2 mode by replacing some of the drill/solder jumpers with normal jumpers on pin headers. Connecting external drivers to D7, D8 and D9 positions is now easier as Molex KK headers are provided.
- Replaced the drill/solder jumpers for the Duex2/5 select and driver 7,8,9 with pin header jumpers.
- Changed the test points for D7,8,9 to a Molex KK header, added an endstop pin and ground to the header as well to make it easier to connect the fault line of the external driver to this header as well.
- Modified the series resistors of the temperature inputs to be 2k2 so they perform better with PT1000 sensors. From RRF3.4 the Duex 5 version will be detected and the correct R values set in M308, for RRF 3.3 and earlier use R2200 in the M308 command.
PCB revision v0.10
- Added a normally connected solder jumper (drill out to disconnect) to the enable line of each stepper driver. This allows for the onboard drivers to be disabled if required.
PCB revision v0.9a
Compared to PCB revision v0.9 the following change has been implemented:
* Reduce the I2C pullup resistors from 4k7 to 1k0 to improve I2C communication reliability.
PCB revision v0.9
Compared to PCB revision v0.8a the following changes have been implemented:
- Further changes to the layout of the 12V circuit to further reduce EMI.
- Moved the location of the 12V enable jumper.
- Change the layout around the SX1509 to improve assembly..
- Added a Mini blade fuse holder and fuse for V_IN (supplied with a 7.5A fuse).
- Added capacitors on stepper driver outputs to reduce EMI
- Minor routing changes.
PCB revision v0.8a
Compared to PCB revision v0.8 the following changes have been implemented:
- Changed the layout of the 12V BUCK circuit to further reduce EMI.
- Addition of a 12V output header
- Minor routing changes and modification of capacitor values
- Changed the normal component population to only omit the stepper components on Duex 2.
PCB revision v0.8
Compared to PCB revision v0.6 the following changes have been implemented:
- Added an additional fan MOSFET (now 6 fans on the Duex).
- Added flyback diodes on the Fan outputs.
- Minor routing changes.
DueX2 features for reference
The DueX 2 is now discontinued. here are the features for reference
DueX2 v0.8a and newer
- 2 additional TMC2660 stepper motor drivers with stall notification.
- 5 additional extruder heater outputs.
- 5 servo outputs with 5V power and 5V signal levels, sharing control channels with the heaters. So you can use unused heater channels to drive servos.
- 5 additional endstop inputs with indicator LEDs and 3.3V/5V voltage selection. These are also usable as outputs.
- 6 additional PWM controlled fan outputs, also usable for driving LEDs etc. The output voltage may be switched between 5V, 12V and VIN .
- 4 uncommitted general purpose I/O pins.
- 12V switching regulator, for generating a 12V supply for fans, LEDs etc. when the VIN power is higher than 12V.
- 5 additional thermistor inputs.
- Support for 2 more thermocouple or PT100 daughter boards, supporting up to 4 more sensors.
- Optional 5V external power input for powering servos, fans etc.
DueX2 v0.8 and older
- 2 additional TMC2660 stepper motor drivers with stall notification.
- 2 additional extruder heater outputs.
- 2 servo outputs with 5V power and 5V signal levels, sharing control channels with the heaters. So you can use unused heater channels to drive servos.
- 2 additional endstop inputs with indicator LEDs and 3.3V/5V voltage selection. These are also usable as outputs.
- 6 additional PWM controlled fan outputs*, also usable for driving LEDs etc. The output voltage may be switched between 5V, 12V and VIN .
- 4 uncommitted general purpose I/O pins.
- 12V switching regulator, for generating a 12V supply for fans, LEDs etc. when the VIN power is higher than 12V.
- 2 additional thermistor inputs.
- Support for 2 more thermocouple or PT100 daughter boards, supporting up to 4 more sensors.
- Optional 5V external power input for powering servos, fans etc.
Note 6 fan outputs were introduced from version 0.8 onwards
4 Comments
Thank you Ian! Exactly what I was looking for, thanks for your quick response!
Jack Reinke - Reply
What current can the additional 5 heaters on the Duex 5 handle?
Jack Reinke - Reply
I’ve added the operating limits section to the page. The heater outputs are rated to 6A; the board as a whole has a fuse rated at 7.5A. However, you should be okay if you have ‘normal’ heaters (a 40W heater at 24V pulls 1.66A), so 4 x heaters on full would pull around 6.64A. Having 5 heaters on full may push it over the 7.5A limit. If you have larger heaters, stagger the heating up until each are running on PWM and pulling less current, before heating up the next.
Ian A-S -
For what is this expansion board good for? Please add this information to the description.
Gerhard A. E. Uhlhorn - Reply