[Guide] ili9341 SPI TFT Screen on Retropie

Various user-contributed guides for hardware-related things
Post Reply
User avatar
moosepr
Posts: 523
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 May 20, 2017 2:05 am

No problem.

If you can now type

dmesg

This will give you a big list of things that have happened on you pi. Scroll through and find the fbtft ones, see if there are any errors listed
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

Jay_Adusumilli
Posts: 3
Joined: Thu May 18, 2017 6:44 pm

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Jay_Adusumilli » Thu May 25, 2017 5:21 pm

Sorry for asking now, I feel stupid.
My screen had VCC instead of VIN, so 3.3 v wasn't enough power.
It works now, thanks for your help and your great tutorial!

User avatar
moosepr
Posts: 523
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 25, 2017 11:41 pm

I'm glad you managed to get it running! Some screens have been tweaked to run on 5v for arduino use
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
Helder
Trailblazer
Trailblazer
Posts: 2959
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1456 times
Been thanked: 3106 times

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by Helder » Sun May 28, 2017 8:06 am

What screens are those? Must be the ones with the backboards right?
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

User avatar
moosepr
Posts: 523
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 May 28, 2017 10:18 am

Helder wrote:
Sun May 28, 2017 8:06 am
What screens are those? Must be the ones with the backboards right?
Yeah, some of those red boards have 3v regulators on them. The actual screen itself will only be 3v
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
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

Re: [Guide] ili9341 SPI TFT Screen on Retropie

Post by tronicgr » Wed May 31, 2017 8:55 pm

I followed the guide and got it working.
I made two videos for comparison next to the HDMI display running at same time.

It was slow FPS at first:
https://youtu.be/_bfKeoI0AFg

But then after tweaking the SPI transfer setting its almost as fast as the HDMI screen now:
https://youtu.be/3nxJnrAK5JU

Thanks
Thanos

User avatar
moosepr
Posts: 523
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 Jun 01, 2017 1:59 am

great news!!! Thats a good way to demonstrate the speed differences.

I have had a little play with the debug options. If you add "debug=32" at the end of the fbtft.conf file, you can see how fast the screen is actually updating by running "dmesg". turns out the true speed of the screen is only actually about 30fps. the fact that our eyes only need about 24fps and that the TV's we used to play these games on were only 30fps, means that its more than ample :)
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
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 » Thu Jun 01, 2017 6:28 am

moosepr wrote:
Thu Jun 01, 2017 1:59 am
the fact that our eyes only need about 24fps and that the TV's we used to play these games on were only 30fps, means that its more than ample :)
Can of worms well and truly opened there 🤣

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 » Thu Jun 01, 2017 9:09 am

the biggest issue with the refresh rate and emulators is the tearing from a slight mismatch since a lot of old arcade games ran nice an snappy at 50 or 60 Hz

User avatar
moosepr
Posts: 523
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 Jun 01, 2017 9:14 am

ah that makes sense. those coins have to go towards buying something extra!
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