Menu
Your Cart

2.4 inch TFT Display Shield - 240*320 pixels - With touchscreen

2.4 inch TFT Display Shield - 240*320 pixels - With touchscreen
On request
2.4 inch TFT Display Shield - 240*320 pixels - With touchscreen
  • Availability: On request
  • SKU: 001373
€10.00
Ex Tax: €8.26
10 or more €9.00
20 or more €8.50
50 or more €8.00
100 or more €7.50

A 2.4 inch TFT display with 240*320 (RGB) pixels that can be placed directly on an Arduino Mega or Uno.
The required library can be found here: Github prenticedavid/MCUFRIEND_kbv (adjustments for operation described below)

Manual for TFT Shield with ILI9320 driver:

uint8_t YP = A1; // must be an analog pin, use "An" notation!
uint8_t XM = A2; // must be an analog pin, use "An" notation!
uint8_t YM = 7; // can be a digital pin
uint8_t XP = 6; // can be a digital pin

To:

uint8_t YP = A2; // must be an analog pin, use "An" notation!

uint8_t XM = A1; // must be an analog pin, use "An" notation!

uint8_t YM = 6; // can be a digital pin

uint8_t XP = 7; // can be a digital pin
  • Modify the next piece of code on line 134:
identifier = tft.readID ();

To:

identifier = tft.readID ();

identifier = 0x9320;
  • Adjust the next piece of code on line 149 to 152:
} else if (identifier == 0x9320) {

name = "ILI9320";

YP = A3; XM = A2; YM = 9; XP = 8;

TS_LEFT = 902; TS_RT = 137; TS_TOP = 941; TS_BOT = 134;

To:

} else if (identifier == 0x9320) {

name = "ILI9320";

YP = A1; XM = A2; YM = 7; XP = 6;

TS_LEFT = 902; TS_RT = 137; TS_TOP = 941; TS_BOT = 134;
  • Adjust the next piece of code on line 244 to 245:
xpos = directory (tp.x, TS_LEFT, TS_RT, 0, tft.width ());

ypos = directory (tp.y, TS_TOP, TS_BOT, 0, tft.height ());

To:

xpos = directory (tp.x, TS_LEFT, TS_RT, 0, tft.width ());

ypos = directory (tp.y, TS_TOP, TS_BOT, 0, tft.height ());

xpos = tft.width () - xpos;

ypos = tft.height () - ypos;
  • Upload this code to your Arduino to test your TFT shield!

Manual for TFT Shield with ILI9341 driver:

const int XP = 6, XM = A2, YP = A1, YM = 7; // ID = 0x9341

const int TS_LEFT = 907, TS_RT = 136, TS_TOP = 942, TS_BOT = 139;

To:

const int XP = 8, XM = A2, YP = A3, YM = 9; // ID = 0x9341

const int TS_LEFT = 907, TS_RT = 136, TS_TOP = 900, TS_BOT = 60,
  • Add the following piece of code to line 155 (behind "} " of " switch (Orientation) {" section):
xpos = tft.width () - xpos;

ypos = tft.height () - ypos;
  • Upload this code to your Arduino to test your TFT shield!
Please login or register to review

Reviews Over 2.4 inch TFT Display Shield - 240*320 pixels - With touchscreen

This product has 1 review(s) in total.

Specifications

General
Brand No brand
Features Display
Touchscreen
SD-card adapter
General physical appearance
Main color Red
Weight [g] 31
Dimension X [mm] 73
Dimension Y [mm] 53
Mounting options Pin headers
Form factor Module (general)
Uno layout/shield
Experiment PCB friendly No
General electrical properties
Minimum supply voltage [V DC] 5
Maximum supply voltage [V DC] 5
Minimum IO-pin input voltage [V] 5
Maximum IO-pin input voltage [V] 5
IO-pin output voltage [V] 5
Communication
Hardware interface(s) Analog
Parallel bus (DPI)
Supported SD card size Micro SD
Display
Type TFT
Driver ILI9341
(or ILI9320 )
Screen diagonal [inch] 2.4
Number of pixels long side 320
Number of pixels short side 240
Display shape Rectangular
Pixel colors RGB
Touchscreen
Touch type Resistive
Multi-touch support No
Connectors
Power supply connector(s) Pin header male (2.54mm)
IO-connector(s) Pin header male (2.54mm)
Package contents
Package contents 1x Display module
1x Stylus

If you have a question or problem regarding a product, please contact us by using one of the buttons below.

1
false
true
true
Remove
Change
tr