Duet

From RepRap
Revision as of 03:03, 14 July 2015 by Dc42 (talk | contribs) (Known issues and gotchas applicable to revision 0.6 boards)
Jump to: navigation, search
Crystal Clear action run.png
Duet

Release status: working

Think3DPrint3D DUET Arduino DUE Compatible 3DPrinter Controller.jpg
Description
Duet - Arduino Due Compatible 3D Printer Electronics
License
CERN OHL
Author
Contributors
Based-on
Categories
CAD Models
External Link

The Duet was developed by Andy and Tony from Think3dPrint3d in conjunction with RepRapPro 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 Arduino Due microcontroller with 4 stepper motor controllers, Ethernet, Hi-Speed SD card slot and more.

Overview

The Duet runs the 32 bit, ARM core SAM3X8E microprocessor, as found on the Arduino Due. This is a step change from preceding controllers using 8 bit microprocessors and leaves loads of overhead to do cool things (like running a webserver 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). In addition it takes the Duex4 expansion board for a further 4 stepper channels - for a total of 8 axis controls (3 axis + 5 extruders for example). A more in-depth description can be found in this blog post. The PanelDue is a compatible colour graphics touch screen control panel.

Wiring

Duet Duex4 wiring.svg

Minor changes have been made to the Duex4 resulting in version 0.2a, as detailed in this blog post: link Duex4 v02a minor updates

Open hardware

The Duet hardware design is licensed under the CERN OHW License 1.2: the design is free to be distributed and modified within the terms of this license. All the design files are available on Github. The Duet was completely designed using the Open Source software package KiCAD so hacking and building on this design is accessible to all.

Software

The Duet runs RepRap Firmware, a new C++ firmware by Adrian Bowyer. The software supports receiving GCode from over the USB serial port, from the SD card and from the ethernet interface. Additionally, the firmware can be uploaded using software packaged with the Arduino IDE or Eclipse (see below).

RepRapPro have released a video showing the web interface in use with the Ormerod printer. Forum user dc42 has published a series of blog posts showing how to use the Duet to control a Mini Kossel printer.

The software is adding new features daily, for example support for multiple extruder printing - see the T3P3 github, RepRapFirmware, multi extruder branch. The dc42 fork includes Delta and CoreXY printer support - see https://github.com/dc42/RepRapFirmware/tree/dev.

The Think3dPrint3d blog has a post on how to setup Eclipse to modify and compile the firmware with printer specific options, the ultimate aim to to have all printer specific options set by g-code.

Where to get it

Gallery

Known issues and gotchas applicable to revision 0.6 boards

USB connector soldering
The Mini USB A/B connector has 4 metal lugs that need to be soldered to secure the connector to the board. Manufacturers of Duet boards sometimes don't get this right, probably because through-hole components are typically wave-soldered from the underside, but the USB connector lugs really need to be soldered from the top. Therefore, when you receive a Duet, check that the USB connector lugs are securely soldered from the top.
On-board 5V switching regulator
This produces too much EMI to meet CE regulations in a typical complete printer. If the EMI produced by the switching regulator is unacceptable, leave it disabled (by leaving JP9 open) and provide 5V power via the external 5V connector instead. In practice, the EMI is unlikely to cause problems, e.g. it can only be heard on an FM radio if the radio is tuned to a very weak station and placed very close to an unshielded Duet.
SD card
The board and firmware are a little fussy in respect of the SD card specifications. A Class 10 card with a capacity of around 4Gb is recommended, although good Class 4 cards will generally work too.
Extruder heater and thermistor connector
On boards that use header strips for the I/O connections, this is a 6-pin header strip that uses 4 pins (two paralleled pairs) to provide power to the hot end heater, and 2 pins to connect the thermistor. If you plug the 4-pin heater connector into the wrong end of the 6-pin strip, you will feed 12V into the thermistor input, and destroy the microcontroller.
ATX PS_ON output
If the PS_ON output is used to turn off an ATX power supply, and this results in all power being removed from the Duet, then as the Duet powers down it produces a glitch on PS_ON. This may result in the ATX PSU turning on again. One fix is to power the Duet's 5V rail from the +5VSB output of the ATX PSU so that the board does not power down. Another is to add a 3.3K pulldown resistor between the gate and source terminals of TR7.

Resources

  • Gcodes: http://reprap.org/wiki/G-code (there is a table showing which firmwares support which gcodes, and this is kept up to date for the Duet/RepRapFirmware).

Further reading