[Guide] ili-9341 true 60 fps fast refresh tutorial
Posted: Fri Apr 27, 2018 6:42 pm
by bamsegod
so you got one of these red pcb SPI screens (mine is 2.8" diagonally) and have no clue how to connect it or how to make it run at a decent framerate. there has been better methods for Adafruit and Waveshare screens but to be honest they are really priced high and almost at the price of HDMI screens.
these screens are really cheap on ebay and Aliexpress like $7 USD.
so this whole guide is inspired from Moosepr's guide below.
with the frame buffer method there is still a bit of screen tearing visible when entire screen is refreshed. with this new method screen is much more smoother and faster.
Huge thanks to Juj who has written the code and helped me setting up his code in this generic screen.
lets get started.
wiring is pretty simple
Screen<------------>Raspberry Pi 3 or zero
SDO(MISO)<----->PIN 21
LED<-------------->Pin 2 (5V)
SCK<-------------->Pin 23
SDI(MOSI)<----->Pin 19
DC<--------------->Pin 22
RESET<----------->Pin 26
CS<----------------->Pin 24
GND<------------>Pin 20
VCC<------------>Pin 1 (3.3V)
if you used Mooepr's method on your Pi you will have to kill the fbcp to do that;
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Posted: Sat Apr 28, 2018 1:59 am
by VeteranGamer
i havent tested it yet....
just one thing....
does the GPIO for the BL (LED) and VCC (3.3V) matter (and also RST)
(is it written into the script, or can you use other points)
(or can you edit the script to different points, if you already have builds wired up)
but thanks for this....
.
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Posted: Sat Apr 28, 2018 3:23 am
by ABH
Interesting
Thanks for posting
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Posted: Sun Apr 29, 2018 4:22 am
by bamsegod
Veteran gamer. While I was figuring this out how it works and how it compared to moosepr method, I tried various pin options but none worked except this one. The pins are hard coded in the code, which is based on adafruit gpio screen (you know the one that plug straight into the pi). So I dig the internet to find what each pin does on adafruit screen and applied it to this red pcb screen and it worked. . Regarding the pin 18 that supply’s Current to the led backlight, I like the 5v brightness it’s much more readable in day light. Not sure if it will damage the screen in the long run though. Good luck
Re: [Guide] ili-9341 true 60 fps fast refresh tutorial
Veteran gamer. While I was figuring this out how it works and how it compared to moosepr method, I tried various pin options but none worked except this one. The pins are hard coded in the code, which is based on adafruit gpio screen (you know the one that plug straight into the pi). So I dig the internet to find what each pin does on adafruit screen and applied it to this red pcb screen and it worked. . Regarding the pin 18 that supply’s Current to the led backlight, I like the 5v brightness it’s much more readable in day light. Not sure if it will damage the screen in the long run though. Good luck
i had a feeling that would be the case....
i've made/designed another little connector board that might assist/help in making things look a little cleaner with these screens
Veteran gamer. While I was figuring this out how it works and how it compared to moosepr method, I tried various pin options but none worked except this one. The pins are hard coded in the code, which is based on adafruit gpio screen (you know the one that plug straight into the pi). So I dig the internet to find what each pin does on adafruit screen and applied it to this red pcb screen and it worked. . Regarding the pin 18 that supply’s Current to the led backlight, I like the 5v brightness it’s much more readable in day light. Not sure if it will damage the screen in the long run though. Good luck
i had a feeling that would be the case....
i've made/designed another little connector board that might assist/help in making things look a little cleaner with these screens
the boards were designed to be used with a 3.2" 18 pin ili9341 LCD, which dont come with a red board and are just bare LCD...
(you can just soldered the screen to the board, and ignore/avoid using the 0.8mm pitch connector)
(it can also be used with any size bare LCD from 2.2" to 3.2")
it may not be the cheaper option, but IMHO is a cleaner option...
also may not be the easiest option initially, but does offer quick attachment and release once everything is done....