ILI9341 2.8" TFT Problem

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jeff b
 
Posts: 30
Joined: Thu Nov 07, 2013 6:00 pm

ILI9341 2.8" TFT Problem

Post by jeff b »

Hello,

I've got an Adafruit 2.8" TFT resistive touchscreen I'm trying to get working w/ the graphicstest sketch (Arduino host is a new Zero--is that part of the issue right there?). The sketch compiles and seems to upload, the backlight of the display comes on, and this is the serial monitor output:

Code: Select all

ILI9341 Test!
Display Power Mode: 0xFF
MADCTL Mode: 0xFF
Pixel Format: 0xFF
Image Format: 0xFF
Self Diagnostic: 0xFF
Benchmark                Time (microseconds)
Screen fill              2876763
Text                     207953
Lines                    2013972
Horiz/Vert Lines         238176
Rectangles (outline)     153908
Rectangles (filled)      5973543
Circles (filled)         977679
Circles (outline)        878288
Triangles (outline)      638626
Triangles (filled)       2035100
Rounded rects (outline)  370772
Rounded rects (filled)   6549114
Done!
But I get no display of any of it, just the backlight, Those 0xFF for status' and modes don't jib with what's on Lady Ada's tutorial either...

Any thoughts?

-Jeff

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: ILI9341 2.8" TFT Problem

Post by adafruit_support_mike »

Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.

User avatar
jeff b
 
Posts: 30
Joined: Thu Nov 07, 2013 6:00 pm

Re: ILI9341 2.8" TFT Problem

Post by jeff b »

Hello and thank you for the reply, Mike!

The connection between the TFT and the Zero are simply the headers that come with each, three 800x600 pix are attached...
IMG_1.JPG
IMG_1.JPG (73.99 KiB) Viewed 776 times
IMG_2.JPG
IMG_2.JPG (98.49 KiB) Viewed 776 times
IMG_3.JPG
IMG_3.JPG (104.39 KiB) Viewed 776 times
Any thoughts?

Thank you,
-Jeff

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: ILI9341 2.8" TFT Problem

Post by adafruit_support_mike »

I just checked and the Zero's hardware SPI pins are only exposed on the 2x3 ICSP header. To make that work, you have to modify the shield slightly.

In the lower right corner of the third photo above, you'll see two rows of three solder jumpers. Cut the thin traces between the lower set, and connect the upper set. That will route the ICSP pins to the shield's SPI input.

User avatar
jeff b
 
Posts: 30
Joined: Thu Nov 07, 2013 6:00 pm

Re: ILI9341 2.8" TFT Problem

Post by jeff b »

Worked like a charm. I'd seen the note about the ICSP header in the screen documentation, but wasn't aware that'd be necessary for the Zero.

Thanks again!

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: ILI9341 2.8" TFT Problem

Post by adafruit_support_mike »

With the number of new boards on the market these days, we have to check them one by one.

Glad to hear that fixed it though. Happy hacking!

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

Return to “Arduino Shields from Adafruit”