2.4" TFT Touch LCD

From SainSmart Wiki
Jump to: navigation, search
2.4 inch tft lcd

Feature:

  • 240374PQ
  • 262K color
  • 240*320
  • 2.4 inch
  • Wide viewing angle
  • ILI9325:240 RGB x 320 TFT Driver
  • Integrated Power, Gate and Source Driver With RAM
  • XPT2046-WIRE TOUCH,WIRE TOUCH, UP TO 125kHz CONVERSION RATE, SERIAL INTERFACE
  • Voltage type: 5v or 3v voltage input voltage,input is selectable. Because TFT can only work under 3.3 V voltage, so when the input voltage VIN is 5V, need through the 3.3 V voltage regulator IC step down to 3.3V , when the input voltage of 3.3 V, you need to use the zero resistance make J2 short , is equivalent to not through the voltage regulator IC for module and power supply directly.
  • Note: the factory TFT module, are the 5 v power supply. By default.
  • Carrying on board SD holder, its work to SPI mode.


For Mega2560

1.This is SainSmart TFT LCD shield for Arduino MEGA2560,the sale page please click here.

2.You can download this shield schematic here.

Mega2560 shield.jpg Mega shield install.jpg

Download Code and Upload

1.You can download Arduino Software (IDE) here

2.Download libraries here.Then put the UTFT and UTouch folder from Mega folder into the IDE libraries folder. Then run IDE.

For display

1.Open the File /Examples/UTFT/Arduino(AVR)/UTFT_Demo_320X240.ino .

2.4inch code.jpg

2.Choose the right board and Port, upload the ino file into the MEGA ,then reset the board .The graphics could be seen then.

2.4 inch -display.jpg

For touch

1.Open the File/Examples/UTouch/Arduino/UTouch_Calibration.ino .

2.4 inch touch.jpg

2.Choose the right board and Port, upload the ino file into the MEGA ,then reset the board .The graphics could be seen then.

Calibration1-2.4.jpg

3.Click on the screen,then the following screen will appear:

Calibration2-2.4.jpg

4.Follow the screen instructions to calibrate operation

Calibration3-2.4.jpg

5.Open the file Arduino/libraries/UTouch/UTouchCD.h,and change the fllow:

Calibration4-2.4.jpg

6.After calibration,you can try to use the other ino. Open the File/Examples/UTouch/Arduino/UTouch_ButtonTest:

Buttontest.png

7.Upload the ino file into the MEGA ,Then reset the board . The graphics could be seen then.

Button-2.4.jpg

Resources

How to buy it ?

You can click here to get it.