Menu
Your Cart
Due to the busy season, there is a chance of a longer delivery time. Please take this into account when placing an order.

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

2.4 inch TFT Display Shield - 240*320 pixels - With touchscreen
2.4 inch TFT Display Shield - 240*320 pixels - With touchscreen
  • Availabilty: Directly available
  • Model: 2.4TFTTOUCHSHIELD
  • 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)

Specifications:

  • 240*320 pixels
  • Suitable for an Uno (Atmega328P) or Mega (Atmega2560) based Arduinos (other chips are not supported)
  • Dimensions: 72.5 x 53 (height of LCD screen depends on type of LCD))
  • Control screen: 8 bits (parallel)
  • With built-in SD card reader (separate connection for SPI pins)
  • Ability to solder SPI flash chip at U5 (only ILI9320 version)
  • Driver: ILI9320 or ILI9341 (or compatible with one of two)

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.

1
false
false
true
Remove
Change
tr