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.
Information for connecting older versions of the PanelDue is available here: https://miscsolutions.wordpress.com/pane...
PanelDue 3 connection matrix
|4-wire||ribbon||4-wire and ribbon|
|Duet 3||PanelDue, no SD||N/A||N/A|
|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||PanelDue, no SD||PanelDue, SD||PanelDue, SD|
|Duet 0.8.5||PanelDue, no SD||See Using external SD card socket|
|Duet 0.6||See Note||See 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.
|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.
(Photo from the awesome https://www.flickr.com/photos/adafruit/1...)
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
- Compatible with all Duets and all PanelDues
- Provides longest cable run
- SD socket on PanelDue not accessible; use ribbon cable or see notes for SD connectivity
|Duet 3||IO_0||Only IO_0 supports PanelDue|
|Duet 2 WiFi/Ethernet||PANELDUE connector|
|Duet 2 Maestro||PANELDUE connector|
|Duet 0.8.5||PANELDUE connector|
|Duet 0.6||Expansion header||See note below for constructing special cable|
Use a 4-way cable terminated in Molex KK or compatible connectors. See below for connections for specific Duet boards.
The length of the 4-way cable is not critical, however the resistance per conductor should not exceed 0.1 ohm. The SD card socket on the TFT panel will not be functional. The cables supplied by Escher3D and Duet3D are about 800mm long. There have been reports of cables up to 1500mm long being successfully used. Take care to route the cable away from motor and endstop cables. Twisting the cables may help prevent cross talk interference.
A PanelDue can be connected to connector IO_0 using a 4-core cable wired like this. Note that while the PanelDue can be connected while a Single Board Computer is attached to control the Duet, the PanelDue will not be fully functional (file operations do not work correctly as of RRF 3.0). PanelDue is fully functional (except SD card socket) in Duet 3 stand-alone mode.
Duet 2 WiFi, Ethernet and Maestro
Duet 2 WiFi v1.0 and v1.01
Older versions of the Duet 2 WiFi/Ethernet need both the 4-wire and ribbon cable to be plugged in to use the TFT Panel and the SD card socket, when connecting PanelDue v2.0 or v3.0.
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/pane....
When the PanelDue was originally designed, there was not the variety of machines there are now, and the PanelDue hardware and firmware are not able to display some machine configurations cleanly. The PanelDue firmware (as of v1.23.2) assumes a fixed relationship between bed, tools and heaters. Please note the following:
- PanelDue will display the bed heater H0 first (even if it is disabled), then iterate the defined tools. It then iterates the defined heaters below this. It expects a 1:1 relationship between tools and heaters. This means if you have a machine that uses one heater for more than one tool (eg a 2-into-1, filament-swapping hot end), it will display more tools than heaters. Tools may not line up with their respective heaters.
- Conversely, if you have more heaters defined than tools (eg extra bed heater/chamber heater), you'll have more heaters than tools.
- The PanelDue also iterates the heaters from the first defined heater to the last, including all heaters in between, whether defined or not. This means if you have a heater defined on H0 (bed) and one on H5 (Duex output), it will show all the ones in between, eg H0, H1, H2, H3, H4 and H5. For and example, see https://forum.duet3d.com/post/136207 . Ideally, configure heaters on consecutive heater connections.
- Due to constraints on display resolution, PanelDue can only display 7 heaters in total. If there are more heaters and/or tools than this, some columns will overlap.
- PanelDue does not recognise Chamber heaters, or extra heated beds. It will show them as heaters, though.
It is anticipated that with RepRapFirmware 3's Object Model, a new version of the PanelDue firmware will be able to support a wider range of machine configurations. This is on the work list.
Using the external SD card socket on the LCD panel
This information also applies to a stand alone SD or micro SD card socket
You can use the external SD card socket on the LCD panel if you have used a ribbon cable as described above. Please note, the SPI interface provided by this SD card socket is much slower than the on-board SD card socket built into the Duet. Therefore we recommend that you do not upload files to this card over the network. Use the external SD card socket only if you want to write files to the SD card on a PC and then move the SD card to your printer.
To access the second SD card socket, you will need these firmware versions:
- DuetWiFiFirmware/RepRapFirmware 1.16 or later
- DuetWebControl 1.13 or later
- PanelDue firmware 1.15c or later
Caution! Do not use an SD extender cable from the SD socket on the Panel Due. Some types of SD card extender cable have been found to damage the SD card socket. Damage to the SD card socket from using an extender cable is not covered by the warranty.
Using the SD card socket with other PanelDue version and Duet version combinations
You will need to make a custom 5-way cable using this table of connections. For the PanelDue 1.1, the X5 connector pins are numbered from the bottom end of the connector (the end close to the X5 legend). On the Duet 0.6 and 0.8.5 you need RepRapFirmware 1.17d or later to get support for the second SD card.
|SD signal name||PanelDue 1.1 X5 pin #||PanelDue 2.0 X5 pin #||Duet 2 signal name||Duet 2 CONN_SD pin #||Duet 0.6/0.8.5 signal name||Duet 0.6/0.8.5 Expansion pin||DueX4 Expansion1 pin|
Connecting a 12864 LCD to the Duet Maestro
The Duet Maestro supports basic 12864 LCD panels with encoder wheels.
This uses a menu system stored on the SD card on the Duet 2 Maestro, see here:
There is also more information in this thread: https://forum.duet3d.com/topic/7609/conf...