All Duet boards support the PanelDue colour TFT touch screen control panel. Some Duets also support monochrome LCD screens with rotary encoders
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.
Duet 2 WiFi, Ethernet and Maestro
PanelDue 5i and 7i
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....
PanelDue config.g setup for RepRapFirmware 3
Note: Using a PanelDue with Duet 3 and Duet 2 and RRF3 will require M575 P1 S1 B57600 being present in config.g. Previously in RRF2 this was assumed as the default, so your config from RRF2 may not include it.
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 mono graphics LCD display with rotary encoder
There are two types of controller chip commonly used in these controllers: ST7920 and ST7567. Some Duets support one or both of these types - see later for details. Both types use a menu system stored on the SD card, see Duet 2 Maestro 12864 display menu system.
12864 display using ST7920 controller chip
These displays are typically clones of the RepRapDiscount Full Graphic Smart Controller and look like this. The better ones include a contrast adjustment potentiometer. Unfortunately some manufacturers of other displays using the same controller chip reverse the pinouts on the two ribbon cable connectors. The ST7920 controller chip is invariably powered from 5V, which means that the display need 5V input signal levels.
To configure this type of display in RepRapFirmware, use the M918 command with display type parameter P1.
12864 display using ST7567 controller chip
An example of this is the Fysetc Mini 12864 Panel. The controller chip is run from 3.3V, so these displays normally include level shifters which tolerate a wide range of input voltages.
To configure this type of display in RepRapFirmware, use the M918 command with display type parameter P2.
The contrast setting for these displays is done in software. the M918 command supports a C parameter for this purpose. It is also necessary to set a resistor ratio parameter in software, which can be done using the M918 R parameter.
Duet Maestro support for 12864 displays
The Duet Maestro provides two 2x5 ribbon cable headers for a 12864 display using ST7920 controller. The connector pinout is compatible with the original RepRapDiscount design. There is also more information in this thread: https://forum.duet3d.com/topic/7609/conf....
RepRapFirmware 3.2 and later also support displays using the ST7567 controller. For these displays, the display inputs must be connected as follows:
|Display input||Duet Maestro output|
Duet WiFi/Ethernet support for 12864 displays
Duet WiFi has no direct hardware support for 12864 displays. However, RepRapFirmware 3.2 and later support a 12864 display using ST7567 controller connected as follows:
|Display input||Duet Maestro output|
We do not recommend connecting a 12864 display with ST7920 controller because the 3.3V signals provided by the Duet WiFi do not meet the specifications of the ST7920 controller chip when it is powered from 5V. If you do wish to try it, you will most likely have to reduce the clock frequency (M918 F parameter) to get it working at all, and it may not work reliably.
Duet 3 Mini support for 12864 displays
Duet 3 Mini provides two 2x5 ribbon cable headers for connecting a Fysetc 128 Mini Panel version 1.2 or 2.1 (not 2.0) or compatible controller. When using a version 2.1 controller, the colours of the three Neopixel LEDs built into the display can be set using the M150 command with LED type parameter X2.
We do not recommend connecting a 12864 display with ST7920 controller to the Duet 3 Mini because the 3.3V signals provided by the Duet 3 Mini do not meet the specifications of the ST7920 controller chip when it is powered from 5V. If you do wish to try it, you will most likely have to reduce the clock frequency (M918 F parameter) to get it working at all, and it may not work reliably.