ebay 3,5" TFT With Touch - Page 1
Forum section: electronics / general

author: maurosmartins
author_rank: Regular Contributor
timestamp: August 23, 2018, 09:22:54 pm
content: Hello all,I've recently bought one of these3,5" TFTdisplays for use on a project. Unfortunately it was damaged during transportation and the touch panel itself was broken. I was able to use the rest of the display to start writing code for my application.I've ordered a new display, and my question is; how do I read the touch panel, I haven't found any clue on how to read the touch information, what is the interface?Thanks in advanced,Best regards, Mauro.

author: ebclr
author_rank: Super Contributor
timestamp: August 23, 2018, 10:00:19 pm
content: 1st step is to identify the touch controller, then read that datasheethttps://www.mouser.com/Semiconductors/Data-Converter-ICs/Touch-Screen-Controllers/_/N-625wj?P=1yq2yc5

author: maurosmartins
author_rank: Regular Contributor
timestamp: August 23, 2018, 10:30:31 pm
content: Hello,it doesn't help much, physically I can only see two extra ICs on the PCB (74HC245) not touch controllers.any usual touch controller in these boards as the ILI9481 is for the TFT itself.Best regards, Mauro.

author: Mr. Scram
author_rank: Super Contributor
timestamp: August 23, 2018, 11:50:06 pm
content: I haven't had much luck with these. One broke before arrival and one developed spots shortly after.

author: MasterT
author_rank: Frequent Contributor
timestamp: August 24, 2018, 12:08:46 am
content: It could have resistive touch panel, use your multimeter in resistance measurement mode, check across A1 - A2 and D6 -D7 (arduino pin mapping), 300-600 Ohm expected.

author: msliva
author_rank: Newbie
timestamp: August 24, 2018, 12:34:54 am
content: Hello,I do not have this LCD but you can read the the sources bellow. Maybe could help.You can try read the reviews on the bottom of the page: "Download MCUFRIEND_kbv library from gitub plug in and play, its simple"https://www.ebay.com/itm/3-5-inch-TFT-LCD-Touch-Screen-Display-Module-480X320-fr-Arduino-UNO-Mega-2560-JS-/222772682548?_trksid=p2349526.m4383.l4275.c10#viTabs_0https://github.com/prenticedavid/MCUFRIEND_kbvhttps://forum.arduino.cc/index.php?topic=366304.0

author: maurosmartins
author_rank: Regular Contributor
timestamp: August 24, 2018, 06:38:13 pm
content: Hello allthank you very much for your quick replies,Yesterday I've unglued the display from the PCB reviling the touch panel pads, with a multi-meter on continuity I've searched the corresponding pins, they were just like the ebay comment that msliva has pointed.Quotethese are arduino uno pins.these correspond to the resistor matrix that MasterT was talking about.this way these panels don't possess a touch controller IC, only the bare resistive touch panel.Regarding the libraries, I'm using STM32 microcontroller and not Arduino, I'll have to search or create my owns.Again, thank you very much for the help.Best regards, Mauro.P.S. hope the next display doesn't arrive broken....

author: sairfan1
author_rank: Frequent Contributor
timestamp: August 31, 2018, 05:03:41 pm
content: If it was damaged while shipping you can open dispute and get new TFT (at least on aliexpress i never had any issue regarding disputes)Mostly Chinese TFTs come with XPT2046 touch driver if it does not exist on PCB you can buy one and drive touch panel through this, you can find lots of sample code for this driver.

author: senso
author_rank: Frequent Contributor
timestamp: September 01, 2018, 12:31:28 am
content: Its a resistive touch, use 4 pins that have adc capabilities, and you can read it with a simple scanning routine, then, calibrate the touch values using at least 4 corners and the rest is interpolated.

author: picandmix
author_rank: Frequent Contributor
timestamp: September 01, 2018, 09:15:04 am
content: Hi,Have only used the smaller 2.4 and 2.8" versions of those screens.You will find working code in the AdaFruit and RinkyDink sites.eg// UTouch_QuickDraw// Copyright (C)2015 Rinky-Dink Electronics, Henning Karlsen. All right reserved// web:http://www.RinkyDinkElectronics.com///// This program is a quick demo of how to use the library.//// This program requires the UTFT library.//// It is assumed that the display module is connected to an// appropriate shield or that you know how to change the pin// numbers in the setup.//#include <UTFT.h>#include <UTouch.h>https://learn.adafruit.com/category/graphic-tfts#include "Adafruit_GFX.h"#include "Adafruit_ILI9341.h"#include "UTouch.h"