White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

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
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by Kuffcakes »

Hi,

I am running this screen in SPI mode and am only getting a white screen when I try and load the graphicstest.ino and the breakouttouch.ino examples. The screen will register touches in consule monitor when running the touch example. The ribbon cable looks secure and I double checked my soldering on IM1, IM2 and IM3. Any idea on how to get the screen working? Thanks!
20221204_205659.jpg
20221204_205659.jpg (191.38 KiB) Viewed 532 times
20221204_205752.jpg
20221204_205752.jpg (99.37 KiB) Viewed 532 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by mikeysklar »

@Kuffcakes,

Please post any modifications you have used to the graphicstest.ino .

Are you using a Teensy 3.6 to drive this? Can you show a shot of the controller as well?

User avatar
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by Kuffcakes »

I left the code as is (CS 9, D/C 10) for the graphicstest.ino.
I'm testing this right now on the Leonardo to make sure it works before soldering to the Teensy 3.6.
Right now I only get a white screen. I can remove the jumpers and plug them into my 3.2" screen and graphics test.ino will start up.

I've attached a picture of the Leonardo.
20221206_210924.jpg
20221206_210924.jpg (222.94 KiB) Viewed 528 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by mikeysklar »

You are using the breakout so it might be worth uncommenting that line and commenting out the default shield constructor.

Code: Select all

// Use hardware SPI (on Uno, #13, #12, #11) and the above for CS/DC
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
// If using the breakout, change pins as desired
//Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_MOSI, TFT_CLK, TFT_RST, TFT_MISO);
When you watch the serial console during graphicstest.ino does it output progress during this demo (@9600 baud)?

You can try adding a delay(1000) before the tft.begin() in the setup code. Sometimes screens need a moment to initialize.

User avatar
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by Kuffcakes »

The 3.2" screen worked without uncommenting the breakout line. Using the 2.8" screen, the serial console showed what I pasted below using the default shield constructor. I did uncomment the breakout line and then commented the default shield constructor and the serial console showed the second set of info pasted.

Here is the console for the default setup with the delay(1000); included:

Code: Select all

1505756
Text                     155284
Lines                    1275172
Horiz/Vert Lines         126020
Rectangles (outline)     83208
Rectangles (filled)      3122392
Circles (filled)         468100
Circles (outline)        544060
Triangles (outline)      283096
Triangles (filled)       1347192
Rounded rects (outline)  244952
Rounded rects (filled)   3147912
Done!
I used this for the breakout and included the delay(1000);

Code: Select all

#define TFT_DC 9
#define TFT_CS 10
#define PIN_SPI_MOSI 16
#define PIN_SPI_MISO 14
#define PIN_SPI_CLK 15

Code: Select all

Display Power Mode: 0x0
MADCTL Mode: 0x0
Pixel Format: 0x0
Image Format: 0x0
Self Diagnostic: 0x0
Benchmark                Time (microseconds)
Screen fill  

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by mikeysklar »

Thank you for the serial output and code snippet. I think the SPI connections are not right.

Make sure you are using all three pins off the ICSP for the CLK / MISO / MOSI. I only see two wires coming off the ICSP header from your photo.
CLK connects to SPI clock. On Arduino Uno/Duemilanove/328-based, thats Digital 13. On Mega's, its Digital 52 and on Leonardo/Due its ICSP-3 (See SPI Connections for more details)
MISO connects to SPI MISO. On Arduino Uno/Duemilanove/328-based, thats Digital 12. On Mega's, its Digital 50 and on Leonardo/Due its ICSP-1 (See SPI Connections for more details)
MOSI connects to SPI MOSI. On Arduino Uno/Duemilanove/328-based, thats Digital 11. On Mega's, its Digital 51 and on Leonardo/Due its ICSP-4 (See SPI Connections for more details)
Screenshot from 2022-12-08 14-57-49.png
Screenshot from 2022-12-08 14-57-49.png (26.71 KiB) Viewed 510 times

User avatar
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by Kuffcakes »

Here's a better angle. The brown wire is hiding in the other picture.
20221206_191138.jpg
20221206_191138.jpg (282 KiB) Viewed 509 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by mikeysklar »

Thank you that is a better angle to read the ICSP pins.

You have the wires connected correctly to the ICSP.

It looks like you might have swapped the MISO / MOSI when connecting to the 2.8" side. It should be MISO <--> MISO and MOSI <--> MOSI.

User avatar
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by Kuffcakes »

Good catch. I must have swapped those at some point. I uploaded the code using the default method and the breakout method with the same results in the console and the screen is still white.

User avatar
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by Kuffcakes »

Any other ideas on trying to trouble shoot this or is this screen possibly defective?

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by mikeysklar »

We can try another screen. I’m out of ideas.

Email [email protected] requesting a replacement. They will need this forum link and your order#.

User avatar
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

Re: White Screen on 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341

Post by Kuffcakes »

Thanks for working with me. Glad the other screen ended up being okay.

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

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