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

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

    • 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

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

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

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

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

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

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

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

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

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

      • Leaving this as 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

Finish Line

83 other people completed this guide.


Member since: 10/31/2017

3,299 Reputation

3 Guides authored



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


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

View Statistics:

Past 24 Hours: 171

Past 7 Days: 1,065

Past 30 Days: 4,519

All Time: 33,911