Skip to main content
WARNING! From February 2022, these pages are no longer maintained.
Please see the current Duet3D documentation at https://docs.duet3d.com/
Help

Revision to Connecting an LCD control panel

Ian A-S

== Connecting a PanelDue ==
-There are two cable options for connecting the PanelDue, both options are included with the PanelDue V3 kit. Option 1 is the included 10-wire ribbon cable. Option 2 is the included 4-wire cable with Molex KK connector ends. For some boards, both cables need to be plugged in to enable both TFT panel and SD card socket.
+There are two cable options for connecting the PanelDue, both options are included with the PanelDue V3 kit. Option 1 is the included 4-wire cable with Molex KK connector ends. Option 2 is the included 10-wire ribbon cable. For some boards, both cables need to be plugged in to enable both TFT panel and SD card socket.
Information for connecting older versions of the PanelDue is available here: [https://miscsolutions.wordpress.com/paneldue/]
-=== PanelDue 3 connection matrix ===
+=== PanelDue v3.0, 5i and 7i connection matrix ===
{table
| 4-wire and ribbon
|--
-| Duet 3
+|! Duet 3 Mainboard 6HC
| PanelDue, no SD
| N/A
| N/A
|--
-| Duet 2 Wifi/Ethernet v1.02 and later
+|! Duet 3 Mini 5+ WiFi/Ethernet
| PanelDue, no SD
| PanelDue, SD
| PanelDue, SD
|--
-| Duet 2 Wifi/Ethernet v1.0, v1.01
+|! Duet 2 WiFi/Ethernet v1.02 and later
+| PanelDue, no SD
+| PanelDue, SD
+| PanelDue, SD
+|--
+|! Duet 2 WiFi/Ethernet v1.0, v1.01
| PanelDue, no SD
| SD only
| PanelDue, SD
|--
-| Duet 2 Maestro
+|! Duet 2 Maestro
| PanelDue, no SD
| PanelDue, SD
| PanelDue, SD
|--
-| Duet 0.8.5
+|! Duet 0.8.5
| PanelDue, no SD
| <<colspan="2">> See [https://duet3d.dozuki.com/Wiki/Edit/Connecting_an_LCD_control_panel#Section_Using_the_external_SD_card_socket_on_the_LCD_panel|Using external SD card socket]
|--
-| Duet 0.6
+|! Duet 0.6
| See [https://duet3d.dozuki.com/Wiki/Edit/Connecting_an_LCD_control_panel#Section_Duet_0_Num_6|Note]
| <<colspan="2">> See [https://duet3d.dozuki.com/Wiki/Edit/Connecting_an_LCD_control_panel#Section_Using_the_external_SD_card_socket_on_the_LCD_panel|Using external SD card socket]
}
-== Option 1: Ribbon cable ==
-
-* Available on PanelDue V2.0 and V3.0 only
-* Compatible with Duet 2 WiFi, Ethernet, Maestro
-* Supports use of PanelDue SD card slot
-* Connects to CONN_SD on Duet 2
-* Limit cable length to 400mm for reliability
-* For PanelDue V2.0, both the ribbon cable '''AND''' 4-wire cable need to be connected to enable use of SD card slot.
-
-{table
-|
-|! Connect to:
-|! Notes
-|--
-|! Duet 3
-| N/A
-| No support for additional SD card in firmware
-|--
-|! Duet 2 WiFi/Ethernet
-| CONN_SD
-|
-|--
-|! Duet 2 Maestro
-| CONN_SD
-|
-|--
-|! Duet 0.8.5
-| Expansion header
-| See SD notes for constructing special cable
-|--
-|! Duet 0.6
-| Expansion header
-| See SD notes for constructing special cable
-}
-
-In order to use the SD card slot on the PanelDue, you must use the ribbon cable option. If you do not wish to use the SD card slot, it's recommended to use the 4-wire cable option described in option 2.
-
-Connect a 10-way ribbon cable between socket X5 on the PanelDue and socket CONN_SD on the Duet. The connector is a standard 10 pin 2 row 2.54mm pitch box connector that accepts IDC connectors for 1.27mm ribbon cable.
-
-[image|297|size=large]
-
-''(Photo from the awesome [https://www.flickr.com/photos/adafruit/12226184743])''
-
-In tests using standard 28awg 1.27mm spaced ribbon cable, 400mm worked reliably but 800mm did not. So 400mm is the maximum recommended cable length. You can also get 26awg 1.27mm ribbon cable, and by using such cable you may be able to achieve reliable operation with cables longer than 400mm.
-
-'''Caution:''' if you are using a thermocouple and/or PT100 daughter board, the use of long ribbon cables between the Duet and PanelDue may affect communication between the Duet and the daughter boards, because the ribbon cable connection to the SD card on PanelDue uses the same SPI bus as the daughter boards.
-
-== Option 2: 4-way cable ==
+== Option 1: 4-way cable ==
* Compatible with all Duets and all PanelDues
[image|2515|align=right]
-A PanelDue can be connected to connector IO_0 using a 4-core cable wired like this.
+A PanelDue can be connected to connector IO_0 using a 4-core cable wired like the one shown in the images. You may need to rewire the 4-wire cable supplied with the PanelDue. The 4-wire cable does not allow access to the SD card socket on the PanelDue.
=== Duet 2 WiFi, Ethernet and Maestro ===
-PanelDue 5i and 7i
+For PanelDue 5i and 7i, connect the supplied 4-wire cable as shown.
[image|2588|size=large]
Use a 4-core cable terminated in a Molex KK or compatible connector at the PanelDue end and a 2x4 Dupont-style connector at the Duet end. This plugs into the end of the expansion connector. See https://miscsolutions.wordpress.com/paneldue/.
+
+== Option 2: Ribbon cable ==
+
+* Available for PanelDue V2.0, V3.0, 5i and 7i only
+* Compatible with Duet 3 Mini 5+, Duet 2 WiFi / Ethernet / Maestro
+* Supports use of PanelDue SD card slot
+* Connects to PanelDue_SD on Duet 5 Mini 5+, CONN_SD on Duet 2
+* Cable length limited to 400mm for reliability
+* For PanelDue V2.0, both the ribbon cable '''AND''' 4-wire cable need to be connected to enable use of SD card slot.
+
+{table
+|
+|! Connect to:
+|! Notes
+|--
+|! Duet 3 Mainboard 6HC
+| N/A
+| No support for additional SD card in firmware
+|--
+|! Duet 3 Mini 5+ WiFi/Ethernet
+| PanelDue_SD
+| Additional jumper required; see note below
+|--
+|! Duet 2 WiFi/Ethernet
+| CONN_SD
+|
+|--
+|! Duet 2 Maestro
+| CONN_SD
+|
+|--
+|! Duet 0.8.5
+| Expansion header
+| See SD notes for constructing special cable
+|--
+|! Duet 0.6
+| Expansion header
+| See SD notes for constructing special cable
+}
+
+In order to use the SD card slot on the PanelDue, you must use the ribbon cable option. If you do not wish to use the SD card slot, it's recommended to use the 4-wire cable option described in [https://duet3d.dozuki.com/Wiki/Edit/Connecting_an_LCD_control_panel#Section_Option_1_4_way_cable|Option 1].
+
+Connect a 10-way ribbon cable between socket X5 on the PanelDue and socket CONN_SD (Duet 2) or PanelDue_SD (Duet 3). The connector is a standard 10 pin 2 row 2.54mm pitch box connector that accepts IDC connectors for 1.27mm ribbon cable.
+
+[image|297|size=large]
+
+''(Photo from the awesome [https://www.flickr.com/photos/adafruit/12226184743])''
+
+In tests using standard 28awg 1.27mm spaced ribbon cable, 400mm worked reliably but 800mm did not. So 400mm is the maximum recommended cable length. You can also get 26awg 1.27mm ribbon cable, and by using such cable you may be able to achieve reliable operation with cables longer than 400mm.
+
+'''Caution:''' if you are using a thermocouple and/or PT100 daughter board, the use of long ribbon cables between the Duet and PanelDue may affect communication between the Duet and the daughter boards, because the ribbon cable connection to the SD card on PanelDue uses the same SPI bus as the daughter boards.
+
+=== Duet 3 Mini 5+ WiFi/Ethernet ===
+
+[image|2815|align=right]
+
+On Duet 3 Mini 5+ WiFi/Ethernet, a PanelDue can be connected using a ribbon cable plugged into the socket labelled 'PanelDue_SD'. This is the only way to use the SD card socket on the PanelDue. Note:
+
+* '''Do not do this on version 0.2 boards!''' (see [[Duet 3 Mini 5plus Wiring#Section_Revision_0_Num_2|Duet 3 Mini 5+ Errata]])
+* The PanelDue does not provide a card detect signal, so it is necessary to bridge pins 2 and 4 of the EXP2 connector as shown here.
+* The PanelDue connector on the Duet 3 Mini 5+ shares the io0.out and io0.in pins, so IO_0 cannot be used at the same time.
+* If you have a PanelDue V3, 5i or 7i, you can connect using just the ribbon cable. If you have a PanelDue V2, you will need to connect the ribbon cable AND the 4-wire cable to access the SD card.
== PanelDue config.g setup for RepRapFirmware 3 ==

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes