[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 Aug 21, 2017 2:30 pm

yeah you can have a play, the faster the better really, although if you go too fast, the screen will just show garbage

Image

you wont break the screen dont worry
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
Holydohnut
Posts: 194
Joined: Wed May 10, 2017 2:02 pm
Has thanked: 29 times
Been thanked: 68 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Holydohnut » Mon Aug 21, 2017 3:39 pm

I'll give it a go. Cheers!

Lpoolm
Posts: 392
Joined: Thu Jun 09, 2016 4:17 am
Location: uk
Has thanked: 76 times
Been thanked: 51 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Lpoolm » Tue Aug 22, 2017 2:25 am

moosepr wrote:
Mon Aug 21, 2017 2:21 am
ah i think you might have pin and gpio mixed up the screen pins tend to be in a bunch near the center of the gpio

kinda like this
Image

the bunch at the bottom are for GPIO buttons

Display--------Raspberry Pi
BL--------------pin 12 (GPIO 18)
SCK------------pin 23 (GPIO 11)
MISO----------pin 21 (GPIO 9)
MOSI----------pin 19 (GPIO 10)
CS--------------pin 24 (GPIO 8)
RST------------pin 22 (GPIO 25)
D/C-------------pin 18 (GPIO 24)
VIN-------------pin 17 (3.3v)
GND-----------pin 20 (GND)
yes, you were right, pins all mixed up.
however re-wired and still have white screen, maybe something i leave for a while and come back to in the future :(
Check out my modding and repair channel of retro and modern consoles:
https://www.youtube.com/channel/UCFz7yW ... GtQ/videos

gamedude13
Posts: 10
Joined: Thu Aug 03, 2017 6:41 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by gamedude13 » Sat Aug 26, 2017 12:13 pm

moosepr wrote:
Mon Aug 07, 2017 3:53 am
That screen looks to be just a larger ili9341. With a bit of careful soldering you could transplant the larger screen into to board of a smaller screen

Or you can get a custom board made up to let you use the screen like the one I designed a while back

https://oshpark.com/projects/BP9tGKag

This is designed for a 2.2 inch screen which only has 14 pins, but the last 4 pins on larger screens are only for touch, so you can overhang them

IMG_20161229_213514.jpg
I am hooking up the 3.2" inch screen from aliexpress using your pcb (from oshpark). Only thing that works up to now is the backlight...
I was checking the PCB (I have 3 pieces). On the non-soldered board, SCL and RST are shorted. Should that be the case?

These are my current connections:
PIN LCD PIN OSHPARK PIN PI Zero
1 GND 2 GND PIN 20 GND
2 RESET 4 - 3 --> 3 RST PIN 22 GPIO25
3 SCL 3 - 4 --> 4 SCL PIN 23 SPI_CLK
4 D/C 5 DCX PIN 18 GPIO24
5 CS 6 CSX PIN 24 GPIO8
6 SDA 7 SDI PIN 19 SPI/MOSI
7SDO 8 SDO PIN 21 SPI/MISO
8 GND 2 GND PIN20 GND
9 VCC 1 VCC PIN17 3.3V
10 LED 10 ohm vcc
11LED 2 GND
12 LED 2 GND
13 LED 2 GND
14 LED 2 GND

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 » Sat Aug 26, 2017 12:29 pm

Hmm, im assuming the 3.2 inch screen has 18 pins? Do you have a link to the screen you bought?
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

gamedude13
Posts: 10
Joined: Thu Aug 03, 2017 6:41 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by gamedude13 » Sat Aug 26, 2017 12:46 pm

I was looking more closely to the PCB, seems as if the path towards SCL touches the RST pad.. made a small cut, now they are not shorted anymore. The TFT: https://nl.aliexpress.com/item/3-2-inch ... 79195.html

The one Ryzee used...

I first followed your guide for the small TFT, that one was working... I replaced it stepwise, each cable.... and rechecked.

gamedude13
Posts: 10
Joined: Thu Aug 03, 2017 6:41 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by gamedude13 » Sat Aug 26, 2017 12:56 pm

Now it is working... strange, dit not change the connections..... cables are connected properly, but probably a bad solder connection... not used to this pitch

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 » Sat Aug 26, 2017 2:07 pm

Glad you have got it working! We need some pictures or video 😛

It's strange you found a short, maybe a fault with the board? That was the first board I designed, so it's not really my best work. Maybe I should do an 18 pin remake?
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
Holydohnut
Posts: 194
Joined: Wed May 10, 2017 2:02 pm
Has thanked: 29 times
Been thanked: 68 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Holydohnut » Sat Aug 26, 2017 2:22 pm

Don't say that, I just ordered 3! :lol:

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 » Sat Aug 26, 2017 2:28 pm

Hahaha, mine worked ok, they are cheap enough, maybe check for shorts 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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest