[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 » Thu Aug 03, 2017 5:27 am

I think there is another screen driver that uses that resolution h..... Or something. I'm in a field camping at the moment so I can't look property, but if you do some searching using the resolution as your search, you might find it.

It is just a case of getting the right driver really!
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 » Thu Aug 03, 2017 6:03 am

The correct name of the one I tried was hx8430bn is that the one you're referring to? I think I get closer with the one than any other, (The hdmi screen "freezes" after the con2fbmap 1 1 command, and returns after you run con2fbmap 1 0 with the displayed text looking very much like the resolution of the screen. The tft meanwhile, just stays white.
20170802_095803.jpg
20170802_095803.jpg (3.44 MiB) Viewed 8965 times
Thanks for looking at this. Enjoy your camping! Hope you're have decent weather! :-)

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 Aug 03, 2017 12:36 pm

Yeah that was the one I was thinking of. The HDMI appears to stop working as the TFT then becomes your console (when it's working!)

The screen will go black once it has been initialized, so a white screen doesn't look good.

There is a flex FB driver system that was designed to be a 'one tool fixes all' solution, but I have not really played with it

https://github.com/notro/fbtft/wiki/flexfb
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 » Fri Aug 04, 2017 12:28 pm

I had a play with the flex driver, but nothing happens. (no backlight or anything) obviously there isn't a full command on that page for the 9225, but the default bits it picks up clearly doesn't cut it.

Not to worry. Thank you very much for your help. Guess this one is not to be. I now have "another" 9341 coming from a different seller. Hopefully they'll send the correct one this time!

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 05, 2017 12:56 pm

I just followed the guide in the opening post (with exactly the same screen) and everything works great!
Do you also notice the very limited viewing area screen? Does anybody have some good advice for a nice screen for a GBA mod? Preferably with a much better viewing angle?

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 05, 2017 1:41 pm

I'm glad you had success! The viewing angles are not the best, they are actually designed to be used in portrait mode with the chip section at the bottom. But that is kinda the wrong way for gaming! There is a less common ili9342 that is apparently the same screen in landscape, but I have not had chance to test mine yet
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

angryjelly24
Posts: 3
Joined: Sun Aug 06, 2017 4:35 am

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by angryjelly24 » Sun Aug 06, 2017 4:46 am

Hi im trying to get my ILI9341 Screen to work on my pi 3. Basically im planning a mintypi build by wermy but im testing out the screen on a pi 3 first since it has the gpio headers which make it easier to connect or disconnect wires. I followed the wiring guide and installed a fresh copy of retropie. However i only get a white screen after the modprobe command and con2fbmap 1 1 doesnt do anything. I looked around and realised that i might need to get the fbtft drivers first. So i installed the mintypi image(since it has the drivers) and put it on my pi 3 again. This time my screen doesnt even light up after modprobe. Is there anything obvious im missing? What can i do to fix this? Im completely new to this so i could rly use some help!!
Link to the screen i used: http://www.ebay.com.sg/itm/2-2-inch-TFT ... 2749.l2649

angryjelly24
Posts: 3
Joined: Sun Aug 06, 2017 4:35 am

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by angryjelly24 » Sun Aug 06, 2017 9:53 am

angryjelly24 wrote:
Sun Aug 06, 2017 4:46 am
Hi im trying to get my ILI9341 Screen to work on my pi 3. Basically im planning a mintypi build by wermy but im testing out the screen on a pi 3 first since it has the gpio headers which make it easier to connect or disconnect wires. I followed the wiring guide and installed a fresh copy of retropie. However i only get a white screen after the modprobe command and con2fbmap 1 1 doesnt do anything. I looked around and realised that i might need to get the fbtft drivers first. So i installed the mintypi image(since it has the drivers) and put it on my pi 3 again. This time my screen doesnt even light up after modprobe. Is there anything obvious im missing? What can i do to fix this? Im completely new to this so i could rly use some help!!
Link to the screen i used: http://www.ebay.com.sg/itm/2-2-inch-TFT ... 2749.l2649
woo nevermind got it working haha, apparently i needed to exit emulation station after modprobe for it to work??

angryjelly24
Posts: 3
Joined: Sun Aug 06, 2017 4:35 am

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by angryjelly24 » Sun Aug 06, 2017 9:54 am

Is there any way to change the font size on the screen, or like lower the brightness of the backlight?

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 » Sun Aug 06, 2017 12:58 pm

To change the font size, you will need to investigate different themes for emulation station. You can manually edit the theme XML file, but you're on your own with that one.

The brightness can be changed, as pin 18 can use PWM. I have never bothered myself, but there is more info here
https://github.com/notro/fbtft/wiki/Backlight
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