Skip to main content

Site Navigation

Your Account

Choose Language

  1. Your Duet comes with the following items:
    • 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

  2. 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.
    • 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.

  3. 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>
    • 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

  4. 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
    • 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.

  5. 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.
    • 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.

  6. 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.
    • 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.

  7. 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;.
    • 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)

  8. 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.
    • 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.

  9. 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.
    • 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!

  10. We need to be sure the networking is configured properly for the future. Navigate to config.g by clicking:
    • 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.

  11. Optional: Set the IP address for the Duet controller in the M552 command.
    • 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.

Finish Line

149 other people completed this guide.

Filastruder

Member since: 10/31/2017

4,432 Reputation

3 Guides authored

35 Comments

Hi

I never got the IP address after the account details were added and activated I looked it up via my router, Espressif Inc. was the device name. I later noticed that I could run the M552 and get the address to display as intended in the guide. Thanks for the nice guide!

Per - Reply

hello, i have 4 wifi┬┤s remembered in my duet. how can i delete them?

Dr Taly (DrTaly) - Reply

M588: Forget WiFi host network

Parameters:

S"ccc" Network SSID to remove from the remembered list

The specified SSID will be removed from the remembered list and the associated password cleared out of EEPROM. If the SSID is given as "*" then all remembered networks will be forgotten.

Ricard -

Ran the M511 and it did nothing. Using Widows 10 if that helps.

arnold - Reply

Add Comment

View Statistics:

Past 24 Hours: 169

Past 7 Days: 928

Past 30 Days: 4,865

All Time: 73,885