[Guide] ili-9341 true 60 fps fast refresh tutorial
-
- Posts: 109
- Joined: Wed Nov 23, 2016 10:19 am
- Has thanked: 3 times
- Been thanked: 74 times
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
I would be very interested in someone confirming that it works well on a PI0W.
This is something I would change pinouts on my board to get implemented. But right now I don't have a setup available to test this. Can someone confirm it does work on the PI0W? Is is also flexible like regular fbcp in that I can disable the LED drive pin?
This is something I would change pinouts on my board to get implemented. But right now I don't have a setup available to test this. Can someone confirm it does work on the PI0W? Is is also flexible like regular fbcp in that I can disable the LED drive pin?
- NimbleJoshua
- Posts: 17
- Joined: Tue Feb 06, 2018 1:17 pm
- Location: Central New York
- Has thanked: 8 times
- Been thanked: 5 times
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Will this have any impact on emulator performance? Particularly the more intensive ones like N64 and Dreamcast
-
- Posts: 109
- Joined: Wed Nov 23, 2016 10:19 am
- Has thanked: 3 times
- Been thanked: 74 times
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
He's done a lot of work on this driver recently, it is definitely worth checking out again:
https://github.com/juj/fbcp-ili9341
It was quite easy to get up and working on my project by just following his instructions. I don't have any actual data to say the result is better, but games definitely feel more responsive using his new display driver.
https://github.com/juj/fbcp-ili9341
It was quite easy to get up and working on my project by just following his instructions. I don't have any actual data to say the result is better, but games definitely feel more responsive using his new display driver.
- fdeluxe
- Posts: 71
- Joined: Tue Aug 23, 2016 10:16 am
- Has thanked: 12 times
- Been thanked: 27 times
- Contact:
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
I want to inform you guys that adjusting the screen brightness on this screens is very easy:
Connect LCD --> GPIO18
sudo apt-get purge wiringpi
sudo apt-get install wiringpi
gpio -g mode 18 pwm
gpio -g pwm 18 value
where value can be anything between 0 and 255 but you can also try higher values.
This is perfect for hooking up a poti or some buttons and let a python script run wich changes the brightness accordingly
You can also hook up your arduino to the LCD pin and use
analogWrite(LcdPin, value); // value can be 0-255
You will get a brighter screen using the Arduino, since the Pi only delivers 3,3V at PWM while the Arduino does 5V (I measured 4.6V and the image is slighty darker compared to using the 5V pin of the Pi)
Not sure if this will work on any pcb. I have exaclty the same one as in the video
I also tried using a PN2222 Transistor to use the 5V pin as power source and toggling the brightness by using the arduino PWM as base. But it still is not as bright as if I connect directly to 5V... Any suggestions on how to get it to full brightness?
Connect LCD --> GPIO18
sudo apt-get purge wiringpi
sudo apt-get install wiringpi
gpio -g mode 18 pwm
gpio -g pwm 18 value
where value can be anything between 0 and 255 but you can also try higher values.
This is perfect for hooking up a poti or some buttons and let a python script run wich changes the brightness accordingly
You can also hook up your arduino to the LCD pin and use
analogWrite(LcdPin, value); // value can be 0-255
You will get a brighter screen using the Arduino, since the Pi only delivers 3,3V at PWM while the Arduino does 5V (I measured 4.6V and the image is slighty darker compared to using the 5V pin of the Pi)
Not sure if this will work on any pcb. I have exaclty the same one as in the video
I also tried using a PN2222 Transistor to use the 5V pin as power source and toggling the brightness by using the arduino PWM as base. But it still is not as bright as if I connect directly to 5V... Any suggestions on how to get it to full brightness?
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Hi,
I follow this tutorial and it works , ( I'm using Pi Zero ) .
May I know how to switch off the top diyplayed data please ? ( showing fps etc) I found that was a little bit annoying while I'm playing retropie games.
I follow this tutorial and it works , ( I'm using Pi Zero ) .
May I know how to switch off the top diyplayed data please ? ( showing fps etc) I found that was a little bit annoying while I'm playing retropie games.
- moosepr
- Posts: 524
- Joined: Wed Jan 25, 2017 6:18 am
- Has thanked: 69 times
- Been thanked: 241 times
- Contact:
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
you need to re-make it all, and add in the option
-DSTATISTICS=0
that will set it to be off
'-DSTATISTICS=number: Specifies the level of overlay statistics to show on screen. 0: disabled, 1: enabled, 2: enabled, and show frame rate interval graph as well.'
-DSTATISTICS=0
that will set it to be off
'-DSTATISTICS=number: Specifies the level of overlay statistics to show on screen. 0: disabled, 1: enabled, 2: enabled, and show frame rate interval graph as well.'
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
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
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
For me the screen works at a very great framerate but it flickers a lot in certains games (mostly in games with a lot of visual changes). I'm using a generic ili9341 with the red pcb and my cmake is:
cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DILI9341=ON -DARMV8A=ON -DGPIO_TFT_DATA_CONTROL=22 -DGPIO_TFT_RESET_PIN=27 -DGPIO_TFT_BACKLIGHT=17 -DBACKLIGHT_CONTROL=ON -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..
Seems that changing the -DSPI_BUS_CLOCK_DIVISOR=6 with higher values like 8, 10, 12, 16... eliminates a little bit the flickering but lowers the spi bandwitdh, making the screen less responsive and slow. I've tried too to make the build with DADAFRUIT_ILI9341_PITFT=ON instead of the generic -DILI9341=ON but the results are identical.
Did this flickering happened to anyone? The flickering doesn't feel like framerate drops at all, it is more like a brightness flickering or flashing.
cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DILI9341=ON -DARMV8A=ON -DGPIO_TFT_DATA_CONTROL=22 -DGPIO_TFT_RESET_PIN=27 -DGPIO_TFT_BACKLIGHT=17 -DBACKLIGHT_CONTROL=ON -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..
Seems that changing the -DSPI_BUS_CLOCK_DIVISOR=6 with higher values like 8, 10, 12, 16... eliminates a little bit the flickering but lowers the spi bandwitdh, making the screen less responsive and slow. I've tried too to make the build with DADAFRUIT_ILI9341_PITFT=ON instead of the generic -DILI9341=ON but the results are identical.
Did this flickering happened to anyone? The flickering doesn't feel like framerate drops at all, it is more like a brightness flickering or flashing.
-
- Posts: 1
- Joined: Thu Jan 10, 2019 9:32 am
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Yes, especially Super Mario Bros. world 1-1. Any new info on how to fix this? Using generic red board and pretty much the same settings as previous post. Anyone with the BL wire connected to 5v see this issue?
Thanks
Viceroy
-
- Posts: 12
- Joined: Wed May 17, 2017 11:20 pm
- Has thanked: 4 times
- Been thanked: 8 times
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Hi, i am using the ili9341
for the gbc , now i need to scale down the image from 16:9 to 4:3.
I need to move the image a litle bit to the right, but i am sure i can do that with overscan function.
I tried to scale the image down in the config.txt, but this is just working in the termínal.
Does anyone have an idea how to do that?
for the gbc , now i need to scale down the image from 16:9 to 4:3.
I need to move the image a litle bit to the right, but i am sure i can do that with overscan function.
I tried to scale the image down in the config.txt, but this is just working in the termínal.
Does anyone have an idea how to do that?
Who is online
Users browsing this forum: No registered users and 1 guest