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

Information for connecting older versions of the PanelDue is available here: [https://miscsolutions.wordpress.com/paneldue/]
-==== PanelDue v3.0, 5i and 7i connection matrix ====
+=== PanelDue v3.0, 5i and 7i connection matrix ===
{table
==== Duet 3 ====
-[image|1876|align=right]
+A PanelDue can be connected to connector IO_0 using a 4-core cable wired like the one shown in the images below. The 4-wire cable supplied with the PanelDue has a 4-way Molex KK connecter on each end, but is supplied with a 5-way Molex KK connector for use with Duet 3. You will need to rewire one end. The 4-wire cable does not allow access to the SD card socket on the PanelDue.
-[image|2515|align=right]
+***NOTE:*** the Duet 3 pin order in the table below is ***not*** the physical order. See the diagram for the physical pin order.
-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.
+{table
+|! PanelDue pin
+|! Wire colour
+|! Duet 3 IO_0 pin
+| <<rowspan="5">> [image|1757|align=center]
+|--
+| +5V
+| Red
+| 5V_EXT (pin 5)
+|--
+| GND
+| Black/yellow
+| GND (pin 3)
+|--
+| URXD0
+| Blue
+| IO_0_IN (pin 2)
+|--
+| UTXD0
+| Green
+| IO_0_OUT (pin 4)
+}
-=== Duet 2 WiFi, Ethernet and Maestro ===
+[image|1876|size=medium|align=center]
+
+[image|2515|size=medium|align=center]
+
+==== Duet 2 WiFi, Ethernet and Maestro ====
For PanelDue 5i and 7i, connect the supplied 4-wire cable as shown.
-[image|2588|size=large]
+[image|2588|size=medium|align=center]
PanelDue V2
-[image|298|size=large]
+[image|298|size=medium|align=center]
==== Duet 2 WiFi v1.0 and v1.01 ====
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]
+[image|297|size=large|align=center]
''(Photo from the awesome [https://www.flickr.com/photos/adafruit/12226184743])''
==== Duet 3 Mini 5+ WiFi/Ethernet ====
-[image|2815|align=right]
+[image|2815|align=center]
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:
* 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 ===
+=== Firmware configuration ===
-''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.
+***RepRapFirmware 3.x and later***: Using a PanelDue with Duet 3 and Duet 2 and RRF3 will require ``M575 P1 S1 B57600`` being present in config.g.
-=== Limitations ===
+***RepRapFirmware 2.x and earlier***: In RRF2 the command above was assumed as the default, so no additional configuration is required.
-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.
+==== PanelDue firmware and RRF compatibility ====
-==== Limitations of PanelDue Firmware release v3.2 ====
+Generally it is best to run the latest version of the PanelDue firmware that is supported by the RepRapFirmware version on your Duet mainboard. See: [[PanelDue Firmware update]]
-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:
+From RRF v3.2, PanelDue firmware releases are co-ordinated with the RRF release, and share the same version number. Use the PanelDue firmware version that matches your Duet mainboard's firmware version.
-* 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)
+{table
+|! RepRapFirmware version
+|! PanelDue firmware version
+|! Notes
+|--
+| 3.2 and later
+| Use matching firmware number
+| 3.2 and later uses RRF 3 Object Model, not backward compatible
+|--
+| 3.11 and earlier (2.x, 1.x)
+| 1.24
+| See notes below
+}
-These limitations will be addressed in forthcoming firmware versions.
+==== Notes on PanelDue firmware v1.24 ====
-==== 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:
+The PanelDue firmware 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.
+** 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|this forum post|. 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.
+
+These restrictions are largely removed in later versions of the PanelDue firmware. However, they will require you to update RepRapFirmware on your Duet mainboard.
=== Using the external SD card socket on the LCD panel ===
=== 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:
+RepRapFirmware 3.2 and later support a 12864 display using ST7567 controller. RepRapFirmware 3.3 added support for a short string of Neopixels on Duet WiFi and Ethernet, so boards that use a Neopixel for the backlight should be able to be controlled. See [https://forum.duet3d.com/topic/22351/|this thread on the forum] for more details.
+
+You will need to make up your own wiring loom, connected as follows:
{table
== Connecting BigTreeTech colour displays ==
-To come.
+(Instructions from [https://teamgloomy.github.io/tft.html|teamgloomy], thanks!)
+
+=== Overview ===
+
+The most recent version of the [https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/tree/master/Copy%20to%20SD%20Card%20root%20directory%20to%20update|standard bigtreetech TFT firmware] has built in support for RepRapFirmware. The pre-built images have this enabled by default.
+
+=== Connection to the board ===
+
+Use the pins +5V, GND, IO_0_OUT and IO_0_IN on the IO_0 header (Duet 3), or +5V, GND, TX and RX on the PanelDue header (Duet 2). These should be connected to +5V, GND, TX and RX on the TFT, making sure that TX and RX are swapped.
+
+{table
+|! BTT display
+|! Duet 3 IO_0 header
+|! Duet 2 PanelDue header
+|--
+| +5V
+| +5V
+| +5V
+|--
+| GND
+| GND
+| GND
+|--
+| TX
+| IO_0_IN
+| URXD0
+|--
+| RX
+| IO_0_OUT
+| UTXD0
+}
+
+=== Loading the firmware ===
+
+There is now an RRF config.ini (on the SD card root). It needs to be renamed from config_rrf.ini to config.ini (replacing the original one for Marlin) for flashing of the firmware.
+
+=== Config.g Changes ===
+
+Add the following line to your config.g to enable the screen
+
+[code]M575 P1 S1 B57600[/code]

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

Revert Changes