Skip to main content

Site Navigation

Your Account

Choose Language

Help

1.) Getting Connected to your Duet

In Progress

In Progress

This guide is currently being written. Reload periodically to see the latest changes.

Unboxing and initial connection to a Duet Wifi or Duet Ethernet.

  • Author: Filastruder
  • Time estimate: 00:10:00 - 00:15:00
  • Difficulty: Moderate

Step 1 Introduction and Unboxing  ¶ 

Your Duet comes with the following items:

Step 1 Introduction and Unboxing  ¶ 

  • Your Duet comes with the following items:

  • Duet Controller

  • Connector kit

  • Wurth Elektronic WR-WTB series connectors (Molex-KK compatible)

  • Ferrules for power input, bed heater, and hotend heaters.

  • Plastic washers for isolation when mounting.

  • 100 pins for connectors

  • 3 ft. USB Cable

Step 2 Connect to your Duet via USB  ¶ 

If you are using a Windows computer, download the USB drivers for Duet here and extract the files to a suitable location. Connect the Duet to your PC with the USB cable provided. Do not connect other power supplies at this stage.

Step 2 Connect to your Duet via USB  ¶ 

  • If you are using a Windows computer, download the USB drivers for Duet here and extract the files to a suitable location.

  • Connect the Duet to your PC with the USB cable provided. Do not connect other power supplies at this stage.

  • To install drivers, open Device Manager by pressing Windows Key + R and type devmgmt.msc, or launch from the Start menu by typing "Device Manager".

  • Look for any devices with a yellow triangle which would indicate that the driver is not installed. If no devices have this indicator, then the driver was successfully installed.

  • If a USB device does show the yellow triangle, right click on the device. Click Install Driver and browse to the location of the driver that was downloaded at the beginning of this step. Continue setup by clicking "Next" until the device driver has been installed.

  • Mac OSX users can just connect the Duet board to their Mac with the provided USB and proceed to the next step.

  • Note there have been several hardware revisions of the Duet 2 controller. this guide applies to all Duet 2 Wifi and Ethernet, the picture of the board may be very slightly different to yours.

Step 3 Setup Terminal Emulator  ¶ 

To set up a WiFi network connection, we must use a terminal emulation program. This is because 3D printer host programs (such as Pronterface) send all characters in uppercase, and your WiFi settings (SSID and password ) are case sensitive. Windows users: Download YAT here. Install YAT using default options. Setup YAT to use <LF> as the end of line character. Go to "Terminal" Menu -> "Settings" -> "Text Settings" -> "EOL sequence:" set to <LF>

Step 3 Setup Terminal Emulator  ¶ 

  • To set up a WiFi network connection, we must use a terminal emulation program. This is because 3D printer host programs (such as Pronterface) send all characters in uppercase, and your WiFi settings (SSID and password ) are case sensitive.

  • Windows users: Download YAT here. Install YAT using default options.

  • Setup YAT to use <LF> as the end of line character. Go to "Terminal" Menu -> "Settings" -> "Text Settings" -> "EOL sequence:" set to <LF>

  • Mac OSX Users: Open Applications > Utilities > Terminal .

  • Run ls /dev/tty.* Copy the result that has USB in the name. For example; /dev/tty.usbmodem1411

  • Run screen /dev/tty.usbmodem1411 115200. Replace "usbmodem1411" with the result you received. You should see a blank screen. Hit enter and you should see OK returned. You are connected successfully.

  • If you get an error, Sorry, could not find a PTY. unplug the USB, plug it back in and try again.

  • Some users have reported issues with YAT under Windows 8 not connecting properly. if YAT does not work try pronterface to confirm the computer can talk to the Duet

Step 4 Connect YAT to Your Printer  ¶ 

Windows Users: Open YAT, and configure the correct COM port. If unsure of the COM port number, press Windows Key + R on your keyboard and type devmgmt.msc

Step 4 Connect YAT to Your Printer  ¶ 

  • Windows Users: Open YAT, and configure the correct COM port.

  • If unsure of the COM port number, press Windows Key + R on your keyboard and type devmgmt.msc

  • Your Duet will be listed under Ports (COM & LPT) as USB Serial Device (COM#) or similar. Use COM# as the com port in YAT.

  • Also in YAT, under Text Settings set the end-of-line sequence to <LF>.

  • Mac users can skip this step.

Step 5 Check your Firmware Version  ¶ 

After the COM port has been configured, send command &quot;M115&quot; to the Duet board. The Duet will return the firmware version being used.

Step 5 Check your Firmware Version  ¶ 

  • After the COM port has been configured, send command "M115" to the Duet board.

  • The Duet will return the firmware version being used.

  • If using firmware version 1.19 or later, continue to the next step.

  • If using firmware version 1.18 or earlier, we recommend upgrading. See installing and upgrading firmware: Upgrading to DuetWiFiFirmware 1.19 here.

  • Mac Users: you will not see characters appear on the screen as you type. For this reason, it is easiest to copy and paste the commands to ensure correct syntax. Copy M115 and paste into terminal and then hit enter. You will see OK when a succesfull command is received. Wait a few moments and the firmware version will be displayed.

  • Mac Users: Any double quotation marks must be sent as straight double quotation marks. Curly double quotations will not work. To enable straight double quotation marks go to System Preferences > Keyboard > Text. Then under the Double Quotes drop down, select straight double quotations.

Step 6 Enable Network Module  ¶ 

First, check the status of the Wifi or Ethernet Module by sending command &quot;M552&quot; to Duet. If Duet returns Wifi or Ethernet module is disabled, put it into idle mode it by sending command &quot;M552 S0&quot;. If it returns Wifi or Ethernet module is idle, proceed to the next step. If Duet returns Wifi or Ethernet module is disabled, put it into idle mode it by sending command &quot;M552 S0&quot;. If it returns Wifi or Ethernet module is idle, proceed to the next step.

Step 6 Enable Network Module  ¶ 

  • First, check the status of the Wifi or Ethernet Module by sending command "M552" to Duet.

  • If Duet returns Wifi or Ethernet module is disabled, put it into idle mode it by sending command "M552 S0". If it returns Wifi or Ethernet module is idle, proceed to the next step.

Step 7 Duet 2 Wifi only - Connect Duet to Network  ¶ 

Use the command M587 as shown below. The simple double quote characters are needed, but substitute the SSID and WiFi password for your own network. M587 S&quot;your-network-ssid&quot; P&quot;your-network-password&quot; Important: enter the exact characters in the SSID and password of your network, in the correct case, except that if your SSID contains an apostrophe then enter two apostrophe characters in its place. For example, if your SSID is Pete's network then enter &quot;Pete''s network&quot;.

Step 7 Duet 2 Wifi only - Connect Duet to Network  ¶ 

  • Use the command M587 as shown below. The simple double quote characters are needed, but substitute the SSID and WiFi password for your own network.

  • M587 S"your-network-ssid" P"your-network-password"

  • Important: enter the exact characters in the SSID and password of your network, in the correct case, except that if your SSID contains an apostrophe then enter two apostrophe characters in its place. For example, if your SSID is Pete's network then enter "Pete''s network".

  • Send command M552 S1 to connect to WiFi. (Make sure to connect 2.4GHz network , 5.0GHz network will not connect with the Duet)

  • After a moment, Duet will confirm the connection and the IP address of the Duet controller.

  • At this point your Duet 2 Wifi should be on the wifi network. To connect to it, continue to Step 9.

  • Note: The WiFi module only support 2.4Ghz not 5 Ghz Wifi bands.

  • Note: M587 saves the SSID and password to the Duet 2 Wifi. You do not need to run this command every time the board is started. M552 starts the network, this command does need to be run every time the board starts (so ensure it is in config.g so it runs automatically - editing config.g will be covered later)

Step 8 Duet 2 Ethernet and Duet 2 Maestro - Enable Ethernet Connection  ¶ 

DHCP.If you have setup the Duet 2 Ethernet to use DHCP then when the network is enabled it will look for a DHCP server to allocate an address. Most home routers are setup to assign addresses by DHCP.

Step 8 Duet 2 Ethernet and Duet 2 Maestro - Enable Ethernet Connection  ¶ 

  • DHCP.If you have setup the Duet 2 Ethernet to use DHCP then when the network is enabled it will look for a DHCP server to allocate an address. Most home routers are setup to assign addresses by DHCP.

  • Send the command "M552 S1" to the board.

  • After about 30 seconds, the board should reply with Network running and the IP address that the Duet has been assigned.

  • Fixed Address If you have used a fixed IP address in config.g then when the network is enabled the Duet 2 Ethernet will use that address. Note that if you use a fixed address, care should be taken that it does not conflict with other devices on the network.

  • The Duet 2 Ethernet and Duet 2 Maestro come with a factory configured fixed address used during testing. This address will probably not work with your network and may cause conflicts. It is recommended to enable DHCP when using the RepRapFirmware configuratorto generate your configuration file.

  • Mac users: Press CRTL-A and then CRTL-D to exit screen and return to terminal. You can safely close Terminal at this point.

Step 9 Check Access to Duet Web Interface  ¶ 

Open your browser and type the IP address assigned to the Duet. You should also be able to access the Duet by typing &quot;http://duettest.local/&quot; into your address bar.

Step 9 Check Access to Duet Web Interface  ¶ 

  • Open your browser and type the IP address assigned to the Duet.

  • You should also be able to access the Duet by typing "http://duettest.local/" into your address bar.

  • You should now see the main control page for the Duet!

Step 10 Ensure Future Connectivity  ¶ 

We need to be sure the networking is configured properly for the future. Navigate to config.g by clicking:

Step 10 Ensure Future Connectivity  ¶ 

  • We need to be sure the networking is configured properly for the future.

  • Navigate to config.g by clicking:

  • Settings

  • System Editor

  • config.g

  • Check that there is a command "M552 S1" without a semicolon in the beginning. This sets the wifi or ethernet module to enabled.

  • Commands are processed from top to bottom, so a command at the bottom supersedes a command at the top of the file.

Step 11 Optional - Set a static IP for Duet 2 Ethernet or Duet 2 Maestro  ¶ 

Optional: Set the IP address for the Duet controller in the M552 command.

Step 11 Optional - Set a static IP for Duet 2 Ethernet or Duet 2 Maestro  ¶ 

  • Optional: Set the IP address for the Duet controller in the M552 command.

  • Leaving this as 0.0.0.0 will allow your router to assign an IP address via DHCP. This is standard for most network devices.

  • If you are not familiar with networking, you should leave this setting as 0.0.0.0.

Step 12 Connection complete!  ¶ 

No image

Step 12 Connection complete!  ¶