SSD1963 lcd with tft shield on Arduino mega turn off display with value updation

I have Ssd1963 7 inch lcd and I am using it with tft shield on Arduino mega and using utft library from rinkydinkelectronics for coding. Static screen is working fine but as soon as I am printing any value and updating it in void loop ..the lcd display is turned off (but code is still running) ... back light of lcd is on but nothing is displayed. HELP PLEASE. Also with each frame and updation the pixels are getting distorted. Also one more thing My lcd is asking for 3 power supplies. One 3.3V and two 5v. 3.3 v and one 5 v is already provided through board but one extra 5v is not being provided so I have to attach that pin with other 5v pin for back light to work.

Here is My code:

#include <UTFT.h>
#define SD_CHIP_SELECT 53
extern uint8_t SevenSegNumFontPlus[];
extern uint8_t BigFont[];
extern uint8_t GroteskBold32x64[];
extern uint8_t SixteenSegment16x24[];
extern uint8_t OtherFont[];
extern uint8_t bt_ct[];
int i=0;
UTFT myGLCD(ITDB50,38,39,40,41); //souf_nucl
void setup()
{
    randomSeed(analogRead(0));
    // Setup the LCD
    Serial.begin(115200);
    myGLCD.InitLCD();   
    cbi(myGLCD.P_CS, myGLCD.B_CS);  // CS Active++
    myGLCD.LCD_Write_COM(0x36);
    myGLCD.LCD_Write_DATA(0x48 ^ 0xC0);
    sbi(myGLCD.P_CS, myGLCD.B_CS);  // CS Idle
    myGLCD.clrScr();
    myGLCD.fillScr(0,0,0);
    myGLCD.setColor(0,0,255);
    myGLCD.setBackColor(0,0,0);
    splashScreen();
    myGLCD.setColor(255,255,255);
    myGLCD.drawLine(0, 60, 650, 60);
    myGLCD.drawLine(0, 270, 650, 270);
    myGLCD.drawLine(200, 60, 200, 480);
    myGLCD.drawLine(400, 480, 400, 60);
    myGLCD.drawLine(0, 479, 800, 479);
    myGLCD.drawLine(1, 0, 1, 479);
    myGLCD.drawLine(0, 1, 800, 1);
    myGLCD.drawLine(799, 1, 799, 480);
    myGLCD.drawLine(7s00, 0, 700, 480);
    myGLCD.drawLine(650, 0, 650, 480);
    myGLCD.setFont(BigFont);
    myGLCD.print("Battery Lvl",10,70);
    myGLCD.print("Battery Tmp",10,280);
    myGLCD.print("Car Temp",230,70);
    myGLCD.print("Parking",240,280);
    myFiles.load(0, 0, 800, 480, "creen.RAW", 1, 0);
}
void splashScreen() {
  myGLCD.setFont(GroteskBold32x64);
  myGLCD.print("H", 100, 240);
  delay(100);
  myGLCD.print("E", 150, 240);
  delay(100);
  myGLCD.print("L", 200, 240);
  delay(100);
  myGLCD.print("L", 250, 240);
  delay(100);
  myGLCD.print("O", 300, 240);
  delay(100);
  myGLCD.print(" ", 350, 240);
  delay(100);
  myGLCD.print("D", 400, 240);
  delay(100);
  myGLCD.print("R", 450, 240);
  delay(100);
  myGLCD.print("I", 500, 240);
  delay(100);
  myGLCD.print("V", 550, 240);
  delay(100);
  myGLCD.print("E", 600, 240);
  delay(100);
  myGLCD.print("R", 650, 240);
  delay(1000);
  myGLCD.clrScr();
}
void loop(){
    Serial.println(i);
    myGLCD.setColor(255,0,0);
    myGLCD.setFont(bt_ct);
    myGLCD.printNumI(0,60,100);
    myGLCD.printNumI(7,260,100);
    myGLCD.setFont(OtherFont);
    myGLCD.printNumI(2,60,310);
    myGLCD.printNumI(4,220,335);
    myGLCD.setColor(255,255,255); 
    myGLCD.setFont(SevenSegNumFontPlus);
    myGLCD.printNumI(i,50,190);
    myGLCD.printNumI(i,50,417);
    myGLCD.printNumI(i,255,190);
    myGLCD.setFont(SixteenSegment16x24);
    myGLCD.printNumI(i,320,347);
    myGLCD.printNumI(i,320,417);
    int x=random(5,475);
    myGLCD.setColor(0,0,255);
    myGLCD.fillRect(705,x,795,475);
    myGLCD.setColor(0,0,0);
    myGLCD.fillRect(705,5,795,x);
    i++;
}

LCD link:https://www.ebay.com/itm/7-inch-800x480-TFT-LCD-Module-SSD1963-Touch-PWM-for-Arduino-51-AVR-STM32-ARM/331752160213?hash=item4d3df83bd5%3Ag%3AgXIAAOSw1zpbRFUB&_sacat=0&_nkw=7+inch+800x480+TFT+LCD+Touch+Panel+Display+Module+for+Arduino+AVR+STM32+ARM+SSD1963&_from=R40&rt=nc&_trksid=m570.l1313

TFT Shield Link: 3.3V TFT LCD Adjustable Shield Expansion Board Mega 2560 R3 3.2 Sale - Banggood Mobile-arrival notice

Post a link to your 40-pin display.
Post a link to your 40-pin Adapter Shield.

Post a link to your Backlight Power Supply.

7 inch backlights can draw a lot of current.

Displays and Adapters have different voltage settings / jumpers.
The TFT electronics require 3.3V but the 3.3V regulator is often on the display board (i.e. it wants an external 5V)

You must say how you have configured any jumpers or switches.

David.

LCD: https://www.ebay.com/itm/7-inch-800x480-TFT-LCD-Module-SSD1963-Touch-PWM-for-Arduino-51-AVR-STM32-ARM/331752160213?hash=item4d3df83bd5%3Ag%3AgXIAAOSw1zpbRFUB&_sacat=0&_nkw=7+inch+800x480+TFT+LCD+Touch+Panel+Display+Module+for+Arduino+AVR+STM32+ARM+SSD1963&_from=R40&rt=nc&_trksid=m570.l1313

SHIELD: 3.3V TFT LCD Adjustable Shield Expansion Board Mega 2560 R3 3.2 Sale - Banggood Mobile-arrival notice

The voltage for led_a on third row is provided by arduino and below that 5v is required which we is providing through analog pin(A15) of arduino.(that 5v power is for backlight display)

IMG_20190124_173852135.jpg

JP1 on the display header.
pin #37 LED_A
pin #35 5V
pin #3 3.3V
pin #1 GND

I am very surprised by the I=200mA for the 3.3V pin. I would expect 20mA for the SSD1963 controller
I=400mA for the 5V pin (backlight LED) seems sensible.

I can not find a schematic for your Adapter shield. I can guess that the blue multi-turn pot is a 47R or similar and is a current-limiting resistance for LED_A. e.g. 50mA @ 47R, 100mA @ 22R, 250mA @ 10R, 500mA @ 5R
The multi-turn pot is not designed to dissipate much power.

If you possess a DMM, please could you see whether the multi-turn is connected between LED_A and 5V. Adjust it to 22R or so.

I presume that the Adapter Shield picks up the relevant 3.3V and 5V from the Arduino headers. I would be quite happy with 100-200mA backlight current being drawn from the Mega's USB cable. You should not need any external power but just plug the cable into a main USB port on your PC.

It is not possible to turn the backlight off.

The voltage for led_a on third row is provided by arduino and below that 5v is required which we is providing through analog pin(A15) of arduino.(that 5v power is for backlight display)

This does not make sense. You should NEVER draw power from Analog #15 pin.

David.

So what can i do to solve this problem? Should i change my TFT Shield or Change my LCD? or anything else?

Thanks

Do you have a DMM ?
Can you measure resistance?
Can you identify what the Blue multi-turn does? e.g. follow the pcb traces.

I do not own a Mega Adapter Shield. I suspect that other readers might own your Shield.

I am sure that everything will work 100%.
i.e. set a sensible backlight current.

i.e. use the correct UTFT constructor.

UTFT myGLCD(SSD1963_800ALT,38,39,40,41); //

David.

We tried to turn the blue thing but nothing happened when changing the resistance infact when we turned it anticlockwise , lcd turned off ..this confirms connection between LED_A and blue thing.

DMM means Digital MultiMeter. A tool that measures Volts, Amperes, Ohms, ...

I am guessing that English is not your native language. Ask if you do not understand something.

I am guessing that you see a White screen. Turn the "blue thing" until it is pale white. i.e. this will be a sensible backlight current.

If the screen and Adapter are new, everything should work.

  1. plug the screen into the Adapter
  2. plug the Adapter into the MEGA2560
  3. plug the USB cable into the MEGA.
  4. build and run any of the UTFT examples. (with either SSD1963_800 or SSD1963_800 as model in the constructor)

If the screen, adapter, Arduino has been damaged by previous students you will have to replace the broken item(s).

David.

Hi David and other members, and the Moderator...
In order not to be creating another topic, I would kindly like an information:
I found this Weather Station very interesting: 7 TFT LCD Arduino Weather Wetter Station Display UTFT - YouTube and I would like to do it but, it uses a 7 inch TFT LCD Display SSD1963 and then there is my doubt because, in addition to this use many pins that of course I can not use it with Arduino Uno and Nodemcu (I'll have to use it with Due?) later, maybe I intend to use it with other sketches such as Images, Scrolling Text, etc., so, what do you think? What is the best, this or the RA8875, even though the code here was made for the SSD1963? Is it possible to adapt it?

I mean with all this that later, I can leave the Weather Station aside and want to use the Display for other things and then the SSD1963 may not be as good as the RA8875 and the two are not cheap at all!

Thanks for any help,

Daniel