soldr.ai

Docs  /  Components

ILI9341 2.8 inch TFT with touch: specs and pinout

A 2.8 inch 240 x 320 colour TFT module built around the ILI9341 display driver, with a touch layer and a microSD card slot. Many modules of this type use a resistive touch layer read by an XPT2046 controller, but no maker document for this module confirms that, so check yours. No maker document for the module board was found, so only the two chip sheets are used here.

Every value cites its sourceChip-level pinout

Buy on Compoden

Specs

SpecValueSource
Display driver: resolution and coloursILI9341: 240 RGB x 320 pixels, 262,144 colours, 172,800 bytes of on-chip display RAMsource
Features (page 7)
Display driver: interfaces8/9/16/18-bit parallel, 6/16/18-bit RGB and 3-line or 4-line serial (SPI)source
Features (page 7)
Display driver: logic supplyVDDI 1.65 V to 3.3 V (logic); VCI 2.5 V to 3.3 V (analog)source
Features, low-power architecture (page 8)
Display driver: absolute maximumVCI and VDDI -0.3 V to +4.6 V; logic input -0.3 V to VDDI + 0.3 Vsource
Absolute Maximum Ratings (page 235)
Display driver: operating temperature-40 to 85 Csource
Features (page 8)
Touch controller typeXPT2046: 4-wire resistive touch controller, 12-bit 125 kHz SAR ADC, 4-wire serial interfacesource
General Description and Features (page 3)
Touch controller supplyVCC 2.2 V to 3.6 V (features list); digital I/O 1.5 V up to VCC; absolute maximum +6 Vsource
Features (page 3); Absolute Maximum Ratings (page 4)
Touch controller temperature and current-40 to +85 C; low power consumption 260 uA as printed in the features listsource
Features (page 3)

Chip pins

These are the pins of the chip on the module, from the chip datasheet. The module's own header may label or expose them differently.

The 16 rows are the bare XPT2046 chip's own pins (QFN-16 numbering), NOT the module header: do not wire from them. The module board's header pin names and order, the display's SPI pins, the microSD wiring and whether an XPT2046 is fitted are not covered by an official document, so no module labels are given.

PinFunctionVoltageNotesSource
1 BUSYBusy output; high impedance when CS is highXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
2 DINSerial data input, latched on the rising edge of DCLK when CS is lowXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
3 CSChip select input; controls conversion timing and enables the serial input and outputXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
4 DCLKExternal clock input that runs the conversion and synchronises the serial interfaceXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
5 VCCPower supply2.2 V to 3.6 VXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
6 XPXP position inputXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
7 YPYP position inputXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
8 XNXN position inputXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
9 YNYN position inputXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
10 GNDGroundXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
11 VBATBattery monitor inputXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
12 AUXAuxiliary input to the ADCXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
13 VREFVoltage reference input or outputXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
14 IOVDDDigital I/O power supply1.5 V to VCCXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
15 PENIRQPen interruptXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)
16 DOUTSerial data output, shifted on the falling edge of DCLKXPT2046 chip pin, not a module pinsource
Pin Description, Table 3 (page 9)

Build with it

Project ideas for the ILI9341 2.8 inch TFT with touch. Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources