User Tools

Site Tools


ili9341_to_esp32_wiring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ili9341_to_esp32_wiring [2023/11/23 08:47] 192.168.1.71ili9341_to_esp32_wiring [2023/11/24 07:02] (current) 192.168.1.71
Line 1: Line 1:
-The SPI pins, MOSI, MISO, and SCK, are shared between the display and the touchscreen (and SD card reader). TOUCH_IRQ is optional. If you don't wire it, make sure you comment out touchscreen.interrupt_pin. The SD card pins are not connected.\\+===== ili9341 LCD to ESP32 wiring ===== 
 +Writeup and wiring from Kevin Dorff, library author and github repository:\\ 
 +URL:  https://github.com/kdorff\\ 
 + 
 +The SPI pins, MOSI, MISO, and SCK, are shared between the display and the touchscreen (and SD card reader). TOUCH_IRQ is optional. If you don't wire it, make sure you comment out touchscreen.interrupt_pin.\\ 
 + 
 +The SD card pins are not connected.\\
  
 These may not be optimum wiring, but I've tested them.\\ These may not be optimum wiring, but I've tested them.\\
 +
 +This is the ILI9341 connector pinout:\\
 +
 +
 +^Pin ^ Function ^
 +|1 |Vcc |
 +|2 |Gnd |
 +|3 |CS |
 +|4 |Reset |
 +|5 |Dc |
 +|6 |MOSI (LCD) | 
 +|7 |SCK (LCD) |
 +|8 |LED |
 +|9 |MISO (LCD) |
 +|10 |T_Clk |
 +|11 |T_CS |
 +|12 |T_DIN |
 +|13 |T_DO |
 +|14 |T_IRQ |
  
 LCD to ESP32 (30 pin or d1 mini) wiring:\\ LCD to ESP32 (30 pin or d1 mini) wiring:\\
Line 8: Line 33:
 | SCK/CLK | 18 | | SCK/CLK | 18 |
 | MISO/DO/SDO | 19| | MISO/DO/SDO | 19|
 +| MOSI/DIN/SDI | 23|
 +| DISP_CS | 33|
 +| DISP_LED | 17|
 +| TOUCH_CS | 32|
 +| DISP_DC | 5|
 +| DISP_RESET | 16|
 +| TOUCH_IRQ | 21|
 +| VCC | 3V3|
 +| GND | GND|
 +
 +
 +{{::2023-11-23_091223.jpg|}}\\
  
-MOSI/DIN/SDI to 23 +{{::2023-11-23_092415.jpg|}}\\
-DISP_CS to 33 +
-DISP_LED to 17 +
-TOUCH_CS to 32 +
-DISP_DC to 5 +
-DISP_RESET to 16 +
-TOUCH_IRQ 21 +
-VCC to 3V3 +
-GND to GND+
ili9341_to_esp32_wiring.1700747272.txt.gz · Last modified: 2023/11/23 08:47 by 192.168.1.71