[Guide] ili9341 SPI TFT Screen on Retropie

Various user-contributed guides for hardware-related things
User avatar
moosepr
Posts: 524
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by moosepr » Mon Apr 30, 2018 3:12 am

Lpoolm wrote:
Sun Apr 29, 2018 3:29 am
sorry to post this in here as well as starting a thread but thought it might be best asking the expert @moosepr
do you know if overscan can be adjusted with these spi screens? i have been into the config txt and uncommented all of the # added + and - numbers and get no adjustment on the screen? any tips? thanks
I think the overscan does work, but it is a little weird how it works. I have not really played with it all that much though
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

User avatar
zeppike
Posts: 31
Joined: Tue Aug 09, 2016 11:14 pm
Location: Hungary
Has thanked: 11 times
Been thanked: 9 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by zeppike » Tue May 01, 2018 12:11 am

I had these screens around for years now in hope for using them in a gb pocket. With your guide i have a chance now.
Thank you. :o

User avatar
abrugsch
Posts: 971
Joined: Tue Aug 02, 2016 10:00 am
Has thanked: 356 times
Been thanked: 430 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by abrugsch » Tue May 01, 2018 8:30 am

zeppike wrote:
Tue May 01, 2018 12:11 am
I had these screens around for years now in hope for using them in a gb pocket. With your guide i have a chance now.
Thank you. :o
use one with @32Teeth's GB pocket AIO board. they are made for each other (look for Gaboze pocaio)

32teeth

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by 32teeth » Tue May 08, 2018 1:26 pm

abrugsch wrote:
Tue May 01, 2018 8:30 am
use one with @32Teeth's GB pocket AIO board. they are made for each other (look for Gaboze pocaio)
Here's an example of a 2.8" screen, which is too big for the pocket
Image

Have a gander at some of my videos on YouTube



BTW, links are in my signature

User avatar
goosewerks
Posts: 93
Joined: Mon May 22, 2017 8:27 am
Has thanked: 18 times
Been thanked: 39 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by goosewerks » Wed May 23, 2018 7:12 pm

Got the 2.4" to work without problems, but cannot get this 3.2" to work. It's only giving me a white screen (backlight on, no data).

Screen

Using this board from OSH Park linked in here.

Using the code that's worked before, but I've got nothing. All connections are seemingly correct too:
VCC - VCC
GND - GND
RST - RST
SCL - SCK
D/CX - D/C
CSX - CS
SDI - MISO
SDO - MOSI

Unless I goofed a pin somewhere? Lined the pin1 on the ribbon cable up with pin1 on the board. Seemingly no burned out or ripped out traces either. Kinda bummed it didn't work immediately like the 2.4" did. Ideas? Thoughts?

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by rodocop » Wed May 23, 2018 10:24 pm

goosewerks wrote:
Wed May 23, 2018 7:12 pm
Got the 2.4" to work without problems, but cannot get this 3.2" to work. It's only giving me a white screen (backlight on, no data).

Screen

Using this board from OSH Park linked in here.

Using the code that's worked before, but I've got nothing. All connections are seemingly correct too:
VCC - VCC
GND - GND
RST - RST
SCL - SCK
D/CX - D/C
CSX - CS
SDI - MISO
SDO - MOSI

Unless I goofed a pin somewhere? Lined the pin1 on the ribbon cable up with pin1 on the board. Seemingly no burned out or ripped out traces either. Kinda bummed it didn't work immediately like the 2.4" did. Ideas? Thoughts?
Pretty sure SDI goes to MOSI and SDO goes to MISO. Swap those and try.

User avatar
moosepr
Posts: 524
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by moosepr » Thu May 24, 2018 2:36 am

yeah match up the I and the O and you should be golden
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

User avatar
goosewerks
Posts: 93
Joined: Mon May 22, 2017 8:27 am
Has thanked: 18 times
Been thanked: 39 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by goosewerks » Thu May 24, 2018 10:12 am

I'll give it a shot when I get home, thanks!

I have another batch of screens coming in today or tomorrow as well, so I can try my luck some more.

jonbro
Posts: 4
Joined: Thu Apr 26, 2018 10:40 am
Has thanked: 2 times
Been thanked: 5 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by jonbro » Thu May 24, 2018 1:53 pm

just went on a journey with this guide, and in case anyone else has the same weird setup I do, here is some information:

I am on a PI Model B+ (I don't know if these are still available) - and I could get it running at 30mhz (or 16, or whatever that calculates down to), but anytime I clocked the screen up to 90mhz that other people are reporting is possible, I got a white screen.

Turns out that not all pi's have the same default clock rate, and you need to be running faster to support these screens. Overclocking the Model B+ to be in the realm of a zero got visuals working on the faster clock rates, though it still has a little flicker in the screen from something. I think I am going to order another zero and see if it works better with that.

You can see what all the default clock rates for pis are here.

User avatar
goosewerks
Posts: 93
Joined: Mon May 22, 2017 8:27 am
Has thanked: 18 times
Been thanked: 39 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by goosewerks » Thu May 24, 2018 3:54 pm

rodocop wrote:
Wed May 23, 2018 10:24 pm
Pretty sure SDI goes to MOSI and SDO goes to MISO. Swap those and try.
moosepr wrote:
Thu May 24, 2018 2:36 am
yeah match up the I and the O and you should be golden
Works great now, thank you both!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest