Touch Screen Detection

I have
LILYGO® TTGO TS V1.0 V1.4 ESP32 1.44 1.8 TFT MicroSD Card Slot Speakers MPU9250 Bluetooth Wifi Module.
This in fact is a Chinese-made TFT breakout board on an ESP32 basis. I spent a lot of time to make it work. Finally, the Display is working, as well as the Buttons and speaker. Now I am trying to revive the Touchscreen, as in some characteristics capacitive touch screen is mentioned. It looks like it is not true, A few examples of what I managed to work, show touch data, but they are static- no changes on touch. Is it enough to make a conclusion - a touch screen is not present?
PS I think no reason to provide code here- as it is compiling, runs, and provides info in Serial Monitor. For example - Test_Touch_Controller from TFT_eSPI library examples.
Theoretically, it might be due to the wrong pins, but I was unable to find the relevant explanation about pins. Any clue?

Let's see if I understand this: You provide No documentation links to any of your items, NO link to what you are referencing, No schematic showing all the connections, No block diagram to show how you have connected the components, No program listing so someone can see what you are currently doing, no picture of your project showing how you have all this arranged, and now you want people to guess with you about some problem you seem to have found. Is that pretty close to the problem?

1 Like

Thank you for your answer, Yes, you are right- there is no documentation, no datasheet, no working examples., schematics., no numbered pins This is a breakout board- no external devices connected, etc. This exactly is a main problem. If you want a picture,, here it is:
TTGO-TS/Image/T10_V1.4.jpg at master · LilyGO/TTGO-TS · GitHub
(it contains some info, but not all. An example is speaker support)
I also had some information pieces in other places, but they were restricted, contradictory, etc. And yes- I had verified all these examples incorporated smths, adjusted etc, to make it work.
Development looks like a "black box ticking", but, as I wrote, I managed to make breakout work except for the touch screen. Regarding code- doubt I need to copy standard code from library examples, which also is working without changes, but does not show the presence of a touch screen. This is available to anyone who's ever worked with displays.
For this reason my question is so simple- how to detect the presence of a touch screen? I am not asking for help in coding, or wiring, just looking for some reasonable bits of advice.
tft display revitalization, according to TFT_eSPI library instructions, requires an update of some library includes. Mainly it concerns to pins, but, again, I did it. My doubt is about TOUCH_CS pin, as I was unable to find any hints about touch screen pins...

I gave up. See my investigations on GitHub.

1 Like

If the display in that link you provided is the display you have, then there is no touch screen layer. The TFT-eSPI library can work with a touchscreen if your display supports it but it’s not needed. I know it throws a warning for that Touch_CS pin when compiling, but you can ignore it.

Yes, I saw it. It says smth like- "as TOUCH_CS is not defined touch screen won't work".
No like- "as touch screen is not present, TOUCH_CS is not defined"
I defined it, tried several examples from various libraries- no signs of life.
Touch screen was not mentioned in description, I saw this when dig internet., but isn't present in my case.
BUT MPU9250 is. As I understood it has I2C interface. Scanned I2C addresses. No address!

What I mean is your display doesn’t have the touchscreen component attached to it, so there is no need to enable the touchscreen features. You can simply ignore them. Now if you wanted a working touchscreen then you would need to either find a version of yours that has the touchscreen layer already attached or go with a different display altogether.

TFT_eSPI documentation:

No links to touch screen, however it is not up to date.
I also briefly looked on library code. No signs of touch screen support...
Probably did it superficially....

Ok, thks