duet lcd touch screen factory
Unless you have a PanelDue I"d go touch screen for the Pi. I like the Raspberry Pi touch screen because of the flat flex cable, but there are hdmi options with better screens, better resolution and/or better prices.
(i have both an old 4.3" and a newer i7" PanelDue + the Raspberry Pi touch screen, and PanelDue will be replaced as budget allows, but fairly low priority)
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 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.
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....
The Duet 3 MB6HC has no PanelDue_SD socket. To use the external SD card, it requires RRF 3.4 or later, and a special wiring scheme; see "Duet 3 MB6HC using ribbon cable" section below.
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.
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.
Although the Duet 3 MB6HC does not have a connector for the PanelDue ribbon cable, if access to the SD card on PanelDue is required then this is possible using a special wiring arrangement. You must use RepRapFirmware 3.4 or later, and you must enable the external SD card using this command:
The card detect signal (CD) is used to tell the Duet whether a card is inserted or not. Non-integrated versions of PanelDue (V2, V3) and older versions of PanelDue 5i and 7i (v1.0 of the 5i and v2.0 of the 7i) do not provide a card detect signal.
Duet 2 boards do not support the card detect signal on the external SD card, so can never tell whether a card is inserted or not except by trying to read it, and can"t detect a card being removed. No modifications are required connected older or newer PanelDue, or other external SD card adapters, to Duet 2 boards.
Duet 3 boards do support the card detect signal. Newer versions of the PanelDue 5i and 7i (v1.01 and later of the 5i and v2.01 and later of the 7i) provide this signal.
However, if you use a non-integrated versions of PanelDue or older versions of PanelDue 5i and 7i with Duet 3, it is necessary to ground the card detect signal, or the firmware will permanently think no card is inserted. There are a number of ways to achieve this.
On the Duet 3 Mini 5+ you can ground the card detect signal by bridging pins 2 and 4 of the EXP2 connector as shown here. The firmware will see the SD card as always being present.
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: Installing and Updating PanelDue Firmware
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.
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.
These restrictions are largely removed in later versions of the PanelDue firmware. However, they will require you to update RepRapFirmware on your Duet mainboard.
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.
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 namePanelDue 1.1 X5 pin #PanelDue 2.0 X5 pin #Duet 2 signal nameDuet 2 CONN_SD pin #Duet 0.6/0.8.5 signal nameDuet 0.6/0.8.5 Expansion pinDueX4 Expansion1 pin
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 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.
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 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 this thread on the forum for more details.
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.
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.
The PanelDue 7i is a color touchscreen controller for the Duet and other 3D-printing electronics that support it. This integrated version is a custom-made high-quality 7 inch TFT LCD panel from a leading manufacturer, with the PanelDue controller by David Crocker integrated on the LCD"s PCB.