Uno R3 2.8 TFT Touch Screen, looking for a UTFT and UTouch details

Hello there. I have an issue. So I am trying to create a car security program, while it installs well into my Arduino uno board, the screen is always white.

Here is the link to the screen that I bought: https://www.lemona.lt/?page=item&i_id=255773

I know where the issue is, but I can not find a way to solve it, so that’s why I am writing this topic.

As many of you know these:

// This is a set of models for the libraries, put in the code needed below
// -----------------------------------------------------------
// Standard Arduino 2009/Uno/Leonardo shield : ,19,18,17,16
// Standard Arduino Mega/Due shield : ,38,39,40,41
// CTE TFT LCD/SD Shield for Arduino Due : ,25,26,27,28
// Standard chipKit Uno32/uC32 : ,34,35,36,37
// Standard chipKit Max32 : ,82,83,84,85
UTFT myGLCD(,19,18,17,16);

// Set the URtouch pins to the correct ones for your development board
// -----------------------------------------------------------
// Standard Arduino 2009/Uno/Leonardo shield : 15,10,14,9,8
// Standard Arduino Mega/Due shield : 6,5,4,3,2
// CTE TFT LCD/SD Shield for Arduino Due : 6,5,4,3,2
// Standard chipKit Uno32/uC32 : 20,21,22,23,24
// Standard chipKit Max32 : 62,63,64,65,66
URTouch myTouch(15,10,14,9,8)

Here are my few questions:

  1. UTFT, where can I find the model of my LCD touch screen as well as which of the codes after I need to use?
  2. URTouch, which one should I use? ^^

Sorry for such a newb questions, but I have tried to find the right one for days… DAYS… Help!

My current code:

#include <UTouch.h>
#include <UTouchCD.h>
#include <UTFT.h>

extern uint8_t SmallFont; //Declares Font
extern uint8_t BigFont;
UTFT myGLCD(HX8347A,19,18,17,16); //(Model,RS,WR,CS,RST)
UTouch myTouch ( 15,10,14,9,8);

You have what I call a "Blue 2.8 inch Mcufriend Uno Shield". Only your one is White.

Install/Upgrade MCUFRIEND_kbv library via the Library Manager.

This will identify your TFT controller. It is possible that UTFT supports it. URTouch is for an intelligent Touch controller chip e.g. XPT2046. Your screen only has a dumb Resistive Touch Panel.

David.

Hello David, thank you for your suggestion. Thanks to that library, the screen is working.

But unfortunately I have reached an issue. The touch screen isn't working. As in, it does show the previews such as calibration and demos, but the screen does not react towards finger touches. Any suggestions how I could fix that?

From one of the applications thanks to MCufriend_kbv, I was able to pull out this information:

Found ST7781 LCD ID=0x7783 Calibration is: LEFT = 865 RT = 155 TOP = 942 BOT = 153

Wiring is: SWAPXY YP=15 XM=16 YM=7 XP=6