3.2 tft lcd ili9341 touch ssd1289 arduino supplier
I use the UTFT library, and pinned right all the DB connections, RS, WR , RD, CS and Reset regarding the requirement of the library UTFT - Rinky-Dink Electronics
Life is much simpler if you buy a MEGA Adapter Shield. Or if you just buy a TFT shield that is designed for a Uno in the first place (no adapter necessary)
First thing you should do is calibrate your touch screen. If you go into the UTouch library in your arduino file there is a calibration file within the examples. Open it and follow the directions. The MOST important point here is that you absolutely need to choose your LCD module to calibrate it properly. Given this is about the SSD1289, your module is likely SSD1289 so use what is listed below.
Next thing is make sure you are using SSD1289 (or whatever the correct module is) as your module parameter in whatever sketch it is you"re trying to get to work.
3.2" TFT LCD Module + Touch Panel 240 x 320 Dots 37 pin SSD1289 Arduino UTFT. IC: SSD1289. 3.2" QVGA TFT LCD Module. We are professional TFT LCD supplier, welcom. 1 x TFT LCD (37pin universal pinout). Resolution: 240 x 320 Pixels. 240x320 + Touch Panel Screen Digitizer. Pin Numbers: 37. 3.2" inch TFT LCD T32-SSD1289-V12 QVGA 240x320 + Touch Panel Screen Digitizer We are professional TFT LCD supplier, welcom contact us for favorable wholesale price, thank you! DESCRIPTION * 3.2" QVGA TFT LCD Module * Resolution: 240 x 320 Pixels * With Touch Panel * Outline Dimension: 55.4mm*77.0mm * Pin Numbers: 37 * IC: SSD1289 * View Angel: Wide Angle PACKAGE INCLUDES 1 x TFT LCD (37pin universal pinout)
This is a multicolored TFT display with touchscreen and on-board SD card socket. It is based on the ILI9341controller, with a 16 bit parallel port data bus and a 4 bit control interface. This 3.2” TFT LCD touch shield is compatible with Arduino Mega and it also works with the Chipkit MAX32 board since it can operate at both 3.3 V to 5 V.
A wide variety of 3.2 tft touch options are available to you, You can also choose from original manufacturer, odm 3.2 tft touch,As well as from tft, ips, and standard.
Put the screen(3.2 inch screen schematic) into shield (TFT01-3.2 shield schematic) first, then connect the shield to Arduino, it is quite straight forward.
3)Download and install UTFT ,URTouch ,SdFat,UTFT_Buttons and UTFT_SdRaw library file from following link and copy them into Arduino library folder. ( i.e. D:\arduino ide\Arduino 1.6.9\libraries )
Download the test program (https://kookye.com/download/3.2inchscreen/3.2_inch_touch_screen_test.zip), upzip and open it,then choose the correct board and port.
You will see the code in each sketch: UTFT myGLCD(CTE32_R2, 38, 39, 40, 41).The first value of code refer to the mode of LCD screen. Please write CTE32_R2 or ILI9341_16 if you LCD screen is ILI9341; Please write CTE32 if you LCD screen is SSD1289;
When you use the others LCD screen from the others seller, you could check the PDF instruction in documentation file or open the UTFT.h file to find the correct code.The controller mode could be identifitied by the back mark as the following pictures.
Note: In the project of testing the SD card,please insert the SD card into the slot in back of the 3.2’’ LCD screen. The format of files in SD card must be the FAT32, you need to put the test files(i.e. ICONS.RAW,WAIT4GPS.RAW,SK45) into the SD card root directory.
HY-TFT320 is a 3.2 inch TFT LCD Screen module, 320*240 (resolution), 65K color, 34pins interface , not just a LCD breakout, but include the Touch screen, SD card. So it’s a powerful extension module for your project.
This Screen includes a controller SSD1289, it’s 16bit data interface, easy to drive by many MCU like STM32 ,AVR and 8051.HY-TFT320 is designed with a touch controller in it . The touch IC is XPT2046 , and touch interface is included in the 34 pins breakout. Another useful extension in this module is the SD Card socket . It use the SPI mode to operate the SD card, the SPI interface include in the 40pins breakout.
The UTFT library is required to be installed to get this screen model display. This library is especially designed for 3.2” TFT LCD screen using 16 bit mode. The library require the following connections.
Note: The TFT controller model needs to be declared in the initializing statement. ITDB02 myGLCD(38,39,40,41) needs to be modified as myGLCD(38,39,40,41,ITDB32S) when using Arduino Mega2560.ITDB02 myGLCD(19,18,17,16,ITDB32S) needs to be commented when using Aduino UNO. Otherwise it just show a blank screen. In practice, RS, WR, CS, RSET can be connected to any free pin. But the pin number must be in accord with myGLCD(RS,WR,CS,RST).
The LCD has a 3.2" 4-wire resistive touch screen lying over it. The Touch libraryneeds to be installed to get it works. This library is designed for 2.4’’ TFT, 3.2” TFT LCD screen module.
Note:TCLK, TCS, TDIN, TDOUT, IRQ also can be connected to any free pin. But the pin number must be in accord with the touch screen initializing statement myTouch(DCLK,CS,IN,OUT,IRQ).
The default setting is accurate for 2.4” TFT module, but you need to calibrate when using 3.2” TFT module. A program to calibrate the touch screen is included in the example. If you touch screen is inaccurate, you need to run touch_calibration. Follow the on-screen instruction to calibrate the touch screen. Better not use your finger to calibrate it, use your accessory touch pen to pressure the frontsight with stength. Then record the calibration parameters and apply them in ITDB02_Touch.cpp in your touch screen library.