Professional Documents
Culture Documents
Duet - RepRap
Duet - RepRap
Duet - RepRap
Duet
Note for 2nd Generation Duets (Duet Wifi, Duet Ethernet) check www.duet3d.com (https://www.duet3d.com)
Duet
Release status: working
The first generation Duets that this page details were developed by Andy and Tony from Think3dPrint3d (http://www.think3d
print3d.com/) in conjunction with RepRapPro (http://www.reprappro.com) and with much advice from Chris Palmer
(Nophead)
The Duet is a 3D Printer controller board that is compatible with the Arduino Due. This 3D Printer controller combines the 32
bits Arduino Due microcontroller with 4 (v0.6) or 5 (v0.8.5) stepper motor drivers, Ethernet, Hi-Speed SD card slot and more.
Contents
Description Duet - Arduino Due Co
1 Overview Electronics
2 Wiring License CERN OHL
3 Hardware Author T3P3
3.1 General Contributors
3.2 Specifications [4] Based-on Arduino Due
3.3 Dimensions
3.4 Drive numbers Categories Electronics, Electronics
3.5 Ethernet surface-mount electron
4 Open hardware license CAD Models https://github.com/T3P
5 Software External http://blog.think3dprint
6 Older versions Link Arduino-Due-compatib
6.1 Duet v0.6 controller.html
6.1.1 Wiring
6.1.2 Issues and gotchas of v0.6 boards
7 Where to get it
8 Gallery
9 Resources
9.1 Support
9.2 Hardware
9.3 Firmware
10 References
11 Further reading
Overview
The Duet runs the 32 bit, ARM core Atmel SAM3X8E (http://www.atmel.com/devices/SAM3X8E.aspx) microprocessor, as found on the Arduino Due (https://www.ar
duino.cc/en/Main/ArduinoBoardDue). This is a step change from preceding controllers using 8 bit microprocessors and leaves loads of overhead to do cool things (like
running a web-server or running delta bots much faster). The Duet comes with Ethernet built in allowing it to run as a network printer controller, along with USB and
an SD card (fully SD 2.0 compliant). The Duet 0.8.5 version update supports an additional extruder, so it can be used with both dual and single extruder printers (5 axes
control). In addition it takes the Duex4 (http://www.think3dprint3d.com/Duex4-Duet-Expansion-Board) expansion board which adds a further 4 stepper channels - for a
total of 9 axes controls (3 axis + 5 extruders for example). A more in-depth description of the original design can be found in this blog post (http://blog.think3dprint3d.
com/2013/12/Duet-Arduino-Due-compatible-3DPrinter-controller.html). The v0.8.5 update is described here (http://blog.think3dprint3d.com/2015/08/new-duet-electro
nics-version-085.html). Another expansion "shield" for two drives was distributed by RepRapPro (only for Duet 0.6).
In addition to 3D printer, this board can be used to control a laser cutter [1] [2] [3]
The PanelDue (https://miscsolutions.wordpress.com/paneldue/) is a compatible colour graphics touch screen control panel. The Duet can also be controlled over Wi-Fi
as described here (http://blog.think3dprint3d.com/2014/04/using-duet-with-wifi-router.html).
Wiring
https://reprap.org/wiki/Duet 1/6
10/11/2018 Duet - RepRap
Hardware
General
All connectors are now Molex KK type, with lock and polarization.
Board is built with four layers, including a complete ground plane, which allow good thermal dissipation and reduce noise and ground loops.
Biggest thermal dissipation came from the bottom of the board, which shall be taken into account while establishing the cooling flow.
Processor voltage is 3.3V and inputs are not protected, so using sensor with higher voltage need reliable protection. Optocoupler or diode protection may be more
reliable than voltage dividers.
Specifications [4]
Maximum acceptable voltage for stepper drivers and capacitors is 35V, the PMV40UN2 fets used on the fans are rated to 30V, so the max VIN in 30V. Boards
were tested at 24V and may be safe for a stable supply up to 30V.
Stepper driver A4982 are designed for a maximum current of 2A, with a really usable current depending from the board cooling. Board was tested with 0.8A
without cooling and 1.5A on all drivers with good cooling. Drivers have a thermal safety.
Stepper driver current is adjusted by program, using a specific G-code.
Microstepping is locked to 1/16. Board throughput is always sufficient to handle it, including on 0.9° steppers.
On board 5v is supplied by a buck converter with ultimate current of 2A, however the 3.3V is taken from this 5V supply, so the available 5V current (for fans or
small wifi router) shall take into account the 3.3V consumption of the board and other 3.3V accessories (sensors and control panel).
Micro-SD card type SDHC, to be formatted in FAT32, cluster size 32 kB.
Ethernet sustained transfer speed came from 100 kB/sec to 900 kB/sec depending SD card quality and file size. You may experience faster speed with larger files.
[5]
Direct connection of mechanical switches to endstop inputs is reliable with shielded or twisted cables.
Dimensions
Size 123 x 100mm, hole spacing 115 x 92mm Ethernet plug, micro-SD slot and mini USB plug are on one small side. For 0.8.5 version, the reset and erase buttons are
also on same side (they were on board face on 0.6 version). There is no plug for power supply, but a terminal block on the side opposed to plugs. 5V could be from
internal converter or external supply, with pins aside the power supply terminal block.
The export from KiCAD shows the board (V 0.8.5) and hole dimensions:
https://reprap.org/wiki/Duet 2/6
10/11/2018 Duet - RepRap
Drive numbers
Drive number for G-Code commands (M569 & others) 0:X; 1:Y; 2:Z; 3:E0; 4:E1; 5:E2; 6:E3; 7:E4; 8:E5
Ethernet
The Ethernet connection is handled natively by the SAM3X8E processor, allowing much higher speed than boards handling Ethernet connection through serial link to
the processor. In practice, the throughput is only limited by the SD card performance. Printing with web interface being done from the SD card, this improve usability
for large files.
Software
The Duet runs RepRap Firmware, initiated by Adrian Bowyer, which was initially designed for it. The software can receive G-Code from the USB serial port, the SD
card and the Ethernet interface.
Its philosophy is everything is done with G-code, including all configuration and it use an extended set of G-codes.
Configuration file is read on SD card at start-up. Interactive configuration with immediate feedback is possible.
A pre-compiled version of the firmware is supplied with each new release. Average user never have to compile the program and does not need any development tool.
SD image shall be copied on SD-card and macros may be adapted for a given configuration.
When Duet board is connected via Ethernet, any Ethernet or WiFi device having access to your network can operate the printer with a web interface.
Recent firmware can be updated with simple file uploading over the network.
The software is evolving constantly. The dc42 and ChrisHamm forks includes Delta and CoreXY printer support.
https://reprap.org/wiki/Duet 3/6
10/11/2018 Duet - RepRap
See RepRap Firmware FAQ
Older versions
Duet v0.6
The Duet version 0.6 was the first issue of Duet board (in december 2013) and is still available. It
combines the Arduino Due microcontroller with 4 stepper motor controllers to control a single extruder
printer. Together with the Duex4 (http://www.think3dprint3d.com/Duex4-Duet-Expansion-Board)
expansion board it allows for a total of 5 extruders or up to 8 axis drives. The dimensions are the same
as version 0.8.5, however connector position is slightly different.
Wiring
Minor changes have been made to the Duex4 resulting in version 0.2a, as detailed in this blog post: http://blog.think3dprint3d.com/2015/04/duex4-v02a-minor-
updates.html link Duex4 v02a minor updates]
https://reprap.org/wiki/Duet 4/6
10/11/2018 Duet - RepRap
The following are not intended to put you off using a Duet, indeed some other electronics boards have much worse issues.
SD card
The board and firmware are a little fussy in respect of the SD card specifications. A Class 4 or Class 10 card with a capacity of 4Gb to 16Gb is recommended.
The file upload speed obtained via the web interface depends a lot on the card, and isn't necessarily any better with Class 10 cards than with Class 4 cards.
Where to get it
Think3DPrint3D (UK) (http://www.think3dprint3d.com/Electronics/Duet) Duet 0.8.5, Duex4 & PanelDue with screen 4.3", cable looms.
Filastruder (USA) (http://www.filastruder.com/collections/electronics/products/duet-controller-v0-8-5) Duet 0.8.5, Duex4 & PanelDue with screen 4.3"
builda3dprinter.eu (The Netherlands) (http://builda3dprinter.eu/product/duet-v0-8-5-32-bit/) Duet 0.8.5 and PanelDue with screen 4.3"
emaker.io (UK) (https://emaker.io/product/duet-pcb/) Duet 0.6 and 2 drives shield (only for Duet 0.6) (https://emaker.io/product/duet-shield-pcb/)
Replikeo Duet (China) (http://www.replikeo.com/electronics/18-duet-board.html) Duet 0.6 clone
Escher 3D (UK) (http://escher3d.com/pages/order/orderindex.php) PanelDue without screen
RepRap Ltd (https://reprapltd.com/) Duet shield (2 drives)for Duet 0.6
kurzschluss (http://www.kurzschluss-blog.de/p/duet-extension-board-build-manual.html) Small extension board for Pololu drivers
Gallery
Here is a picture of a 4 colour print from the Duet and Duex4 ... and a picture of the set-up.
expansion board combo...
Resources
Support
https://reprap.org/wiki/Duet 5/6
10/11/2018 Duet - RepRap
General support: RepRap forum: Duet http://forums.reprap.org/list.php?416 or the Ormerod forum http://forums.reprap.org/list.php?340 (most of the thousands
of Duet boards in the field are in Ormerods)
Hardware
Duet 0.8.5 schematic:https://github.com/T3P3/Duet/blob/master/Duet0.8.5/Duet0.8.5_Schematic.pdf
Duet 0.6 schematic: https://github.com/reprappro/Duet/blob/master/Duet/Duet_06_Schematic.pdf
Duet / Duex4 expansion header pin mapping and usage Duet pinout
Wiring and commissioning a Duet on a delta: https://miscsolutions.wordpress.com/2015/01/04/upgrading-the-mini-kossel-to-duet-electronics-part-1-hardware/
PanelDue to Duet wiring: https://miscsolutions.wordpress.com/paneldue/
Firmware
RepRapFirmware
RepRap Firmware FAQ
RepRap Firmware G-Codes
RepRapFirmware Configuration & commissioning
References
1. Laser cutter on RepRap forum (http://forums.reprap.org/read.php?133,521301)
2. Laser cutter on RepRap forum (http://forums.reprap.org/read.php?340,516150)
3. Laser cutter blog post (https://reprappro.com/2015/06/16/reprap-duet-electronics-running-a-laser-cutter-guest-blog/)
4. Designer/manufacturer don't supply specifications, so data came from component datasheets and user experience and is for information only.
5. RepRap forum thread about Ethernet speed transfer (http://forums.reprap.org/read.php?416,664836)
Further reading
Official Think3DPrint3D documentation (https://docs.google.com/document/d/1DAr1vqM0WEwobSHbTGT9Oy9M4HotH0ahYKY_W5eO0Ok/pub)
RepRap forum: Duet (http://forums.reprap.org/list.php?416)
Comparison of Electronics
list of electronics
Impressions:Duet vs Smoothie (http://forum.seemecnc.com/viewtopic.php?f=111&t=9205) A thorough comparison between these boards - on SeemeCNC forum
In addition to site licence GFDL1.2 (http://www.gnu.org/licenses/old-licenses/fdl-1.2.html), this page is also released under license CC BY-SA 4.0 (http://creativecommons.org/licenses/by
-sa/4.0/)
https://reprap.org/wiki/Duet 6/6