Goal

By the end of this section, you will have mounted the Duet electronics in it’s enclosure, and mounted it on the printer. HUX2-electronics-29

Wiring the Duet

The Duet electronics board controls all the functions of the printer. We use an external 5V regulator board to provide good, clean 5V power.

# Component Qty Type
394 Duet PCB 1 Electronics
587 5V regulator PCB 1 Electronics
677 DC power link wire 1 Electronics
111 M3x8mm cap head screw 2 Fastener
258 M3 nut 2 Fastener
212 M3 washer 2 Fastener
HUX2-electronics-01
Take the 5V regulator PCB. Push the M3x8mm cap head screws into the two mounting holes; one goes through the MOSFET. Secure with an M3 washer and M3 nut on the back. Both sides of the 5V regulator PCB are shown here. HUX2-electronics-02
Take the DC power link wire (the short, wide, grey piece of wire). Cut open the length of 2-core and earth copper cable and extract the blue and brown cores. ORM2-electronics-02
Strip both ends of each core as shown. These dc-power-links should be about 16mm long, with 6mm of exposed wire each end, and 4mm of insulation. HUX2-electronics-04
Make sure that the screw gates of all the screw terminals are OPEN. The gate on the left is open, the one on the right is only partially open. They are usually supplied closed, so unscrew them first, before inserting any wire. The screw terminal is tightened by turning the screw clockwise. If the wires are not tight in the terminals, they will not make a good connection, and possibly cause heat to be generated. HUX2-electronics-05
Insert the dc-power-links into the Duet’s POWER IN screw terminals, and tighten the screw terminals. Make sure the blue and brown wire insulation IS NOT TRAPPED by the screw terminals, or you will have a poor connection. These wires carry a lot of current (for the heated bed), so poor connections can get hot. Cut the insulation shorter, or leave it off, if you need to. HUX2-electronics-06
Push on the 5v regulator PCB and secure to the Duet by tightening the screws of the 5v regulator PCB’s power output terminal. Again, make sure the blue and brown wire insulation IS NOT TRAPPED by the screw terminals, or you will have a poor connection. HUX2-electronics-07

Mount the Duet in the enclosure

Assemble the electronics enclosure using the following parts:

# Component Qty Type
Duet board assembly 1 Assembled
578.2 enclosure-perimeter 1 Etched
680 enclosure-base 1 Etched
786 DC power cable 1 Wiring
258 M3 nut 10 Fastener
818 M3x18mm stand-off (VBMP-M3-5.0-18) 4 Fastener
286 Kapton tape 1
HUX2-electronics-08
Take the enclosure-base. All the aluminium parts may have oil on them; wipe them over with a paper towel to remove the oil, and any swarf that may be left over from the cutting process. You can clean them up with a little fine-grade sandpaper, or wire wool. Check that the slots are clear – the perimeter is usually quite a tight fit. HUX2-electronics-11
Fit the M3x18mm stand-offs onto the corners of the Duet board, each with an M3 nut on the back. Leave these loose, for some ‘wiggle’ room fitting the board. HUX2-electronics-09
You’re going to trial mount the Duet PCB, to check that there are no short circuits to the metal case underneath the boards. Place the Duet board on the enclosure-base, making sure all six screws go through the base. The nuts under the Duet act as spacers between the Duet board and the enclosure-base. You can lightly screw on more M3 nuts behind if you want. Picture to come
IMPORTANT: Look between the Duet board and the enclosure base. You do not want any of the soldered pins on the back of the board to touch the metal of the enclosure base. If they are touching and power is applied to the board, it will short circuit, and potentially damage the board. ORM2-electronics-12
Trim any long pins with a pair of side cutters. ORM2-electronics-13
Check again that there is nothing in danger of contacting the enclosure base. Once you are happy nothing is touching, remove the Duet from the enclosure-base. HUX2-electronics-10
You can also put strips of Kapton tape (which is electrically insulating) on the enclosure-base, under the Duet. HUX2-electronics-12
The Duet enclosure-perimeter comes pre-bent to shape. Fit it to the enclosure-base as shown; check you have it oriented correctly. CARE SHOULD BE TAKEN WITH ITS SHARP EDGES. There are three slots in the enclosure base at each end, which correspond to the tabs in the enclosure perimeter. Make sure they are aligned, then slot the two parts together as shown; a fair amount of pushing force is required to push the tabs into the slots. Put a pieces of Kapton tape over the edge of the perimeter as shown – the ‘expansion header’ pins are over this area. HUX2-electronics-13
Place the Duet assembly in the enclosure. Line up the screws, so they go through the mounting holes. HUX2-electronics-14
The USB connector is the longest part. Check it comes through the hole at the end, and that the SD card socket and ethernet socket line up. HUX2-electronics-15
Once the Duet is in place, and the screws are showing through the enclosure base, tighten the four M3 nuts under the Duet. If you push down on the board, the M3 nuts should bite enough to tighten, turning the M3x18mm stand-off. A 5mm spanner is very handy, but you can do this with a pair of pliers. HUX2-electronics-16
Secure the Duet and the 5V regulator PCB with six M3 nuts on the back of the enclosure-base. Make sure they are securely tightened. The one that goes through the MOSFET of the 5V regulator is particularly important; it is used to heatsink this to the enclosure back. Make sure it is securely fixed. HUX2-electronics-17
Now fit the DC power cable. If you pull back the braiding, you should see one of the two white wires has a black stripe. Use the wire with the black stripe as the negative/ground wire. HUX2-electronics-18
Push the cable up through the hole in the enclosure, and feed the ferrules into the screw terminals. This is quite a tight fit – you may need to heat the heatshrink to shrink it a little more, so it comes up through the hoe easily. Make sure the wire with the black stripe goes in the ‘-‘ (negative/ground) screw terminal, not the ‘+’ (positive) terminal. HUX2-electronics-19
The completed assembly. HUX2-electronics-20
IMPORTANT!
With a multimeter, check the resistance between the screws of the Duet’s POWER IN terminal (between +V and ground). Except for the charging of capacitors (which will take a few seconds), this should be open circuit. If there is a short circuit (no resistance), double-check no pins of the Duet or 5V regulator board are touching the metal enclosure. Much easier to check now than later!

Mounting the enclosure on the frame

# Component Qty Type
Duet enclosure assembly 1 Assembled
193 Power jack 1 Electronics
455 Power jack nut 1 Electronics
687 duet-bar-clamp 3 Printed
520 M3x35mm cap head screw 3 Fastener
258 M3 nut 3 Fastener
HUX2-electronics-21
Mount the power jack in the hole at the bottom of the enclosure. HUX2-electronics-22
Fit the three duet-bar-clamps to the frame, in roughly the positions shown in the picture. HUX2-electronics-23
Offer the enclosure up to the frame. Push the M3x35mm cap head screws through the enclosure holes, and then through the printed part. Secure them with an M3 nut on the back. The nut should pull into the nut trap in the printed part. HUX2-electronics-24
Connect the DC power cable to the tabs on the back of the jack. Ground is the centre of the three tabs (the wire with the black stripe should connect to this), and positive is the tab that connects to the centre pin. HUX2-electronics-25
Make sure the crimps do not touch. This is the jack viewed from underneath the printer. You can’t route the cable over the frame, or the Y carriage will hit the wire. Once connected, check the Y carriage can move past the wire without contact. HUX2-electronics-26

Fitting the enclosure lid

# Component Qty Type
577 Duet enclosure lid 1 Assembled
257 M3x12mm cap head screw 4 Fastener
HUX2-electronics-27
Like you did for the enclosure-base, check the slots in duet-enclosure-lid are clear. Push the duet-enclosure lid onto the rest of the enclosure, noting it’s orientation from the picture. The tabs in the enclosure perimeter should engage with the slots in the lid. Secure with the four M3x12mm cap head screws, which screw into the M3x18mm standoffs in the Duet. Finally, remove the lid. The next section deals with wiring, and you will need to access the Duet to connect the wiring looms. HUX2-electronics-28

Enclosure fitted

The Huxley Duo with the electronics and enclosure fitted. HUX2-electronics-29