Author Topic: OAK TFT driver?  (Read 9943 times)

PeterF

  • Hero Member
  • *****
  • Posts: 877
Re: OAK TFT driver?
« Reply #30 on: August 04, 2016, 05:19:32 am »
Sorry I can't help more there. It certainly seems that way, especially when you consider the 'scope signals look clean. I'd at least put it to one side, and get another display to check it isn't a dud, otherwise there's something really fishy goin' on!  At around AUD$7, they're cheap enough to have a couple spares :D

I like your setup, looks very compact - I certainly hadn't through about mounting on the back-side of the shield. Then again, I wanted to keep the Oak modular, and with the the pins and sockets on the shield the display wouldn't have plugged in. Very nice though!

For giggles, I reflashed the graphicstest_esp8266 sketch onto my Oak with display again, after changing two lines (10- changed Serial to Particle, 262 - removed the baud rate from begin), and this was the output I captured on OakTerm (as I was too lazy to wire up the usb serial adapter to that Oak). The Oakterm otuput is slightly easier to read, so I attached a screenshot.

Code: [Select]
[22:17:26] ILI9341 Test!
[22:17:27] Display Power Mode: 0xCE
MADCTL Mode: 0x24
Pixel Format: 0x2
Image Format: 0x0
Self Diagnostic: 0xE0
Benchmark Time (microseconds)
Screen fill 251136
Text 45268
[22:17:32] Lines 439842
[22:17:34] Horiz/Vert Lines 22091
Rectangles (outline) 15380
[22:17:35] Rectangles (filled) 521709
[22:17:36] Circles (filled) 153340
Circles (outline) 191100
Triangles (outline) 139500
[22:17:38] Triangles (filled) 217757
[22:17:44] Rounded rects (outline) 67701
Rounded rects (filled) 592739
[22:17:45] Done!

emardee

  • Full Member
  • ***
  • Posts: 135
Re: OAK TFT driver?
« Reply #31 on: August 04, 2016, 06:00:53 am »
Peter,

Anything special to look out for when hunting a replacement TFT to try? (I'll probably get a larger one to test). Do you get them from Ebay? Aliexpress?

Any tips to get good ones (or to avoid duff ones!)

If it proves to be a duff screen shipped to us, I'm sure Erik will replace them, as he's good like that. Seems increasingly likely with a few of us seeing the same white screen problem. But I'll hold my verdict until I get a replacement to test.

Mike

saperlot

  • Newbie
  • *
  • Posts: 16
Re: OAK TFT driver?
« Reply #32 on: August 04, 2016, 06:47:45 am »
just ordered new ones from banggood.

http://www.banggood.com/2_2-Inch-SPI-TFT-LCD-Display-Module-240-X-320-ILI9341-51AVRSTM32ARMPIC-p-1026628.html

May they also have larger ones.

Cheers.

PeterF

  • Hero Member
  • *****
  • Posts: 877
Re: OAK TFT driver?
« Reply #33 on: August 04, 2016, 04:59:13 pm »
No, nothing that I can think of really. Just check that the description somewhere says ILI9341 so you can at least get your money back if they send you an incompatible one ;)

I've bought most of mine through ebay. This was the 2.8" one. My 2.2" came from Erik. And the 1.8" one I bought isn't listed anymore, but you can find others if you want one that small. It was the first one I got, and was expensive compared to the others you can get now... $15.28 for 1.8" compared to $7-8 for 2.2"!!!!

I've seen some code that purports to do lcd driver identification, but can't see anything that looks like it would help with this type of screen - stuff I've seen so far seems to be for the other displays with many, many i/o pins. What I have seen so far indicates that a white screen means the lcd driver chip hasn't been initialised, so indicates either the wrong driver chip, or a faulty one.

emardee

  • Full Member
  • ***
  • Posts: 135
Re: OAK TFT driver?
« Reply #34 on: August 04, 2016, 05:30:40 pm »
Was going to ask you if this 2.8" touch panel tft looked OK, but I see it looks identical to the one you just suggested (and mine is about a dollar cheaper)... so I'll grab one.

Thanks

Mike