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 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/pane...
PanelDue v3.0, 5i and 7i connection matrix
|4-wire||ribbon||4-wire and ribbon|
|Duet 3 Mainboard 6HC||PanelDue, no SD||N/A||N/A|
|Duet 3 Mini 5+ WiFi/Ethernet||PanelDue, no SD||PanelDue, SD||no reason to use both|
|Duet 2 WiFi/Ethernet v1.02 and later||PanelDue, no SD||PanelDue, SD||no reason to use both|
|Duet 2 WiFi/Ethernet v1.0, v1.01||PanelDue, no SD||SD only||PanelDue, SD|
|Duet 2 Maestro||PanelDue, no SD||PanelDue, SD||no reason to use both|
|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: 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 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
For PanelDue 5i and 7i, connect the supplied 4-wire cable as shown.
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....
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.
|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 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.
(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.
Duet 3 Mini 5+ WiFi/Ethernet
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 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
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. Limitations will depend on the firmware the PanelDue and Duet are running.
Limitations of PanelDue Firmware release v3.2
PanelDue Firmware release v3.2 uses RepRapFirmware 3's Object Model, and is able to support a wider range of machine configurations than earlier versions. However, there are still some limitations. We hope to remove these with subsequent releases:
- PanelDue generally expects a 1:1 relationship between tools and heaters. This means:
- If there are more tools than heaters (i.e. some tools share a heater), the heater will be shown under the first-defined tool; subsequent tools will show '0' for Current temp and for Active and Standby. However, setting temperatures on these tools will still work. (Fixed in PanelDueFirmware 3.2.5)
- If there are more heaters than tools (i.e. some tools have multiple heaters) only the first heater defined per tool will show. However, setting temperatures for the tool will still work, and apply to all heaters connected to a particular tool. If you define a tool for each heater, even if you don't use it, you will be able to see each heater temperature. (Fixed in PanelDueFirmware 3.2.7)
- Due to constraints on display resolution, PanelDue can only display 7 tool/bed/chamber heaters in total on 5" and 7" screens, and 5 heaters on 4.3" screens.
- PanelDue does not recognise additionally-defined bed heaters, and does not display them. (Fixed in PanelDueFirmware 3.2.7 as far as space allows displaying these heaters - see above)
These limitations will be addressed in forthcoming firmware versions.
Limitations of releases prior to v3.2
The PanelDue firmware (as of v1.24) 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.
- if you have more heaters defined than tools (eg extra bed heater/chamber heater, or a tool that uses multiple heaters), 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 an 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 on 5" and 7" panels, and 5 on 4.3" panels. 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.
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 below for details. Both types use a menu system stored on the SD card, see 12864 display menu system.
|Duet 3 MB6HC||N||N|
|Duet 3 Mini 5+||N||Y|
|Duet 2 Maestro||Y||Y*||*Requires modified wiring loom|
|Duet 2 WiFi / Ethernet||N||Y*||*Requires modified wiring loom|
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 3 Mini 5+ support for 12864 displays
Duet 3 Mini provides two 2x5 ribbon cable headers for connecting a Fysetc 12864 Mini Panel version 1.2 or 2.1 (not 2.0) or compatible ST7567-based 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. Also, note that when configured for 12864 display with ST7920 controller, RRF provides the CS signal on the pin normally uses for A0 because that more closely matched the pinout of typical 12864/ST7920 displays.
Duet 2 Maestro support for 12864 displays
The Duet 2 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, use the standard cable EXCEPT the following two wires need to be connected to the EXPANSION header pins:
|Duet 2 Maestro output||Display input||Function|
|Expansion pin 4 (EXP_0)||EXP 1 pin 7||LcdA0Pin|
|Expansion pin 5 (EXP_1)||EXP 1 pin 8||LcdCSPin|
Duet 2 WiFi/Ethernet support for 12864 displays
RepRapFirmware 3.2 and later support a 12864 display using ST7567 controller. However, you will need to make up your own wiring loom, connected as follows:
|Duet 2 WiFi/Ethernet output||Display input||Function|
|CONN_LCD pin 2||EXP 1 pin 2||gnd|
|CONN_LCD pin 3||EXP 2 pin 6||EncoderPinB|
|CONN_LCD pin 4||EXP 2 pin 8||EncoderPinA|
|CONN_LCD pin 5||EXP 1 pin 5||LcdNeopixelPin|
|CONN_LCD pin 6||EXP 1 pin 6||LcdResetPin|
|CONN_LCD pin 7||EXP 1 pin 7||LcdA0Pin|
|CONN_LCD pin 8||EXP 1 pin 8||LcdCSPin|
|CONN_LCD pin 9||EXP 1 pin 9||EncoderPinSw|
|CONN_LCD pin 10||EXP 1 pin 10||LcdBeepPin|
|CONN_SD pin 1||EXP 1 pin 1||+5V|
|CONN_SD pin 2||EXP 2 pin 2||gnd|
|CONN_SD pin 3||EXP 2 pin 7||SD CS|
|CONN_SD pin 4||EXP 2 pin 9||sck|
|CONN_SD pin 5||EXP 2 pin 5||mosi|
|CONN_SD pin 6||EXP 2 pin 10||miso|
We do not recommend connecting a 12864 display with ST7920 controller because the 3.3V signals provided by the Duet 2 WiFi/Ethernet 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.
Connecting BigTreeTech colour displays