Site Navigation

Your Account

Choose Language

Help

Revision to Connecting an LCD control panel

Tony

[summary_image|296]
 
[title|Connecting an LCD control panel]
 
[toc]
 
 
 
== Connecting a PanelDue ==
 
=== PanelDue version 2.0 or 3.0, and Duet WiFi revision 1.01 or later or Duet Ethernet ===
 
==== Option 1: Ribbon cable ====
 
Connect a 10-way ribbon cable between socket X5 on the PanelDue and socket CONN_SD on the Duet WiFi. 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]
 
''(Photo from the awesome [https://www.flickr.com/photos/adafruit/12226184743])''
 
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.
 
==== Option 2: 4-way cable ====
 
Use' a 4-way cable terminated in Molex KK or compatible connectors as shown here:
 
[image|298|size=large]
 
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.
 
=== Older PanelDue versions and/or Duet WiFi revision 1.0 or Duet 0.8.5 ===
 
Use the 4-way cable as described above. If you are using PanelDue 2.0 or 3.0 with Duet WiFi 1.0 then you can optionally connect the ribbon cable as well in order to use the SD card socket on the TFT panel.
 
=== Duet 0.6 ===
 
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/paneldue/.
 
== Using the external SD card socket on the LCD panel ==
 
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.
 
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
 
=== 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.
 
{table
|! SD signal name
|! PanelDue 1.1 X5 pin #
|! PanelDue 2.0 X5 pin #
|! Duet WiFi signal name
|! Duet WiFi CONN_SD pin #
|! Duet 0.6/0.8.5 signal name
|! Duet 0.6/0.8.5 Expansion pin
|! DueX4 Expansion1 pin
|--
| Ground
| 1
| 2
| Ground
| 2
| Ground
| 2
| 21
|--
| DO
| 2
| 6
| SPI0_MISO
| 6
| SPI0_MISO
| 30
| 26
|--
| CLK
| 3
| 4
| SPI0_SCK
| 4
| SPI0_SPCK
| 28
| 24
|--
| DIN
| 4
| 5
| SPI0_MOSI
| 5
| SPI0_MOSI
| 29
| 23
|--
| CS
| 5
| 3
| SPI0_CS0
| 3
| PB16
| 32
| 16
}