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

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
FVA1
 
Posts: 20
Joined: Sat Aug 20, 2016 4:26 am

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

Post by FVA1 »

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

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

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

Post by adafruit_support_carter »

Do you have a line like this in the setup() of your sketch?

Code: Select all

while (!Serial);

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

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

Post by FVA1 »

adafruit_support_carter wrote:Do you have a line like this in the setup() of your sketch?

Code: Select all

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?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

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

Post by adafruit_support_carter »

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.

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

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

Post by FVA1 »

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

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

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

Post by adafruit_support_carter »

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

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

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

Post by FVA1 »

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

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

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

Post by adafruit_support_carter »

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.

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

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

Post by FVA1 »

Sure will do that tomorrow

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

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

Post by FVA1 »

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

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

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

Post by adafruit_support_carter »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”