0

1.8" Color TFT LCD display with MicroSD Card Breakout: Not c
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

1.8" Color TFT LCD display with MicroSD Card Breakout: Not c

by FVA1 on Sat Aug 10, 2019 1:19 am

Hi

My Display is not starting up correctly if it is not connected with the USB serial line to the PC. So just running on an external Power Supply.

After Power Up only the back light comes on (white screen) and stops there. Pressing the reset button on the Arduino then will solve the problem. I am using a Arduino Mini Pro and am using the Arduino reset pin #define TFT_RST -1 .

Don't think it is a hardware problem as I have 2 displays and both does the same. I also tried different Power Supplies to no avail.

Any suggestions to fix this?

Thanks

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by adafruit_support_carter on Mon Aug 12, 2019 5:34 pm

Do you have a line like this in the setup() of your sketch?
Code: Select all | TOGGLE FULL SIZE
while (!Serial);

adafruit_support_carter
 
Posts: 12971
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by FVA1 on Tue Aug 13, 2019 7:33 am

adafruit_support_carter wrote:Do you have a line like this in the setup() of your sketch?
Code: Select all | TOGGLE FULL SIZE
while (!Serial);


Yes, just after Serial.begin(9600); Today it is only the one display. I use a Pro Mini and loaded the code on it and then just swapped the LCD's. If I press the init button when the problematic LCD is fitted it comes on. Maybe I must ad a hard reset in the code?

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by adafruit_support_carter on Tue Aug 13, 2019 1:20 pm

Try commenting out that line. On batteries, the Serial will never init, so that loop will run forever and your code won't get past it.

adafruit_support_carter
 
Posts: 12971
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by FVA1 on Wed Aug 14, 2019 12:57 pm

OK. I out commented the while loop out of the same example sketch to 2 Pro Mini's mounted on a PC board. Header pins are soldered on both LCD's that plugs into the PC boards so both can run simultaneously. Only the one fails to start, If I swapped then between the Pro Mini'e the fault moves with the LCD. It proves that the issue is only with the one LCD. I made a video an can upload it, but size will be to big.

Best regards

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by adafruit_support_carter on Wed Aug 14, 2019 1:03 pm

A photo of the setup showing how everything is connected is OK.

adafruit_support_carter
 
Posts: 12971
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by FVA1 on Wed Aug 14, 2019 3:23 pm

Attached
Attachments
20190814_220631.jpg
20190814_220631.jpg (122.84 KiB) Viewed 103 times
20190814_220616.jpg
20190814_220616.jpg (96.97 KiB) Viewed 103 times

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by adafruit_support_carter on Wed Aug 14, 2019 3:33 pm

Can you move to a breadboard setup for testing? So the only hardware will be the Pro Mini(s) and the display(s). Just setup one Pro Mini with one display and we can swap out displays as needed.

adafruit_support_carter
 
Posts: 12971
Joined: Tue Nov 29, 2016 2:45 pm

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by FVA1 on Wed Aug 14, 2019 3:59 pm

Sure will do that tomorrow

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by FVA1 on Thu Aug 15, 2019 10:59 am

Hi

It seems I have found the issue. It is with the reset pin. In my project I define the reset pin to -1 instead of Pin 9 as guided in your example [#define TFT_RST 9 // Or set to -1 and connect to Arduino RESET pin} Why it affects only the one LCD I don't know, although occasionally it will do it on both.

Not a big problem I just need to move it to another pin, although I run out of pins. But then again I also run out of storage space and if I can't reduce that I will have to go another route.

Regards

FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

Re: 1.8" Color TFT LCD display with MicroSD Card Breakout: N

by adafruit_support_carter on Thu Aug 15, 2019 11:52 am

Cool. Glad you figured it out. Good luck with your project - it looks neat. Have fun!

adafruit_support_carter
 
Posts: 12971
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.