Page 1 of 2

Would an Arduino screen be compatible with pi? Example pic inside

Posted: Sun Jun 19, 2016 9:10 am
by joe7dust
It looks like it would require an 18-pin PHAT of some sort.... There's a 9x2 array of pin holes. Any input is appreciated, have zero experience with this type of display.

Image

Image

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Wed Jul 06, 2016 3:29 pm
by Oxodao
I don't think so, it's not a standard screen for the raspberry pi so you would need to write a driver for it, plus it has an horrible resolution so that would not be worth it :/

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Wed Jul 06, 2016 3:47 pm
by tronicgr
joe7dust wrote:It looks like it would require an 18-pin PHAT of some sort.... There's a 9x2 array of pin holes. Any input is appreciated, have zero experience with this type of display.

Image

Image

Actually you can use these displays with raspberry pi. The one you have is using ILI9341 that is the same Adafruit is using for their PiGrrl 2

Some instruction how to hook it up are here:
https://hackaday.io/project/6157/instructions

Thanks
Thanos

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Wed Jul 06, 2016 4:42 pm
by Oxodao
Oh, if so there is maybe a chance :)

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Wed Jul 06, 2016 8:36 pm
by joe7dust
tronicgr wrote:[spoiler="I hate double nesteds"]
joe7dust wrote:It looks like it would require an 18-pin PHAT of some sort.... There's a 9x2 array of pin holes. Any input is appreciated, have zero experience with this type of display.

Image

Image
[/spoiler]


Actually you can use these displays with raspberry pi. The one you have is using ILI9341 that is the same Adafruit is using for their PiGrrl 2

Some instruction how to hook it up are here:
https://hackaday.io/project/6157/instructions

Thanks
Thanos

Wow thanks dude now I justs have to find them damned thing, I have no idea where it is. An $11 display for our projects is nice! I only bought it to fill a minimum cart for free shipping on amazon too, so it is probably available at an even lower price if you search hard. Would you believe I also found a $6 display (with touch!), but no one has comment on it yet? Feast your eyes on this baby, can we do it? @wermy already commented that would need a controller board, and I have no idea how to go about matching one up to it.

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Wed Jul 06, 2016 9:20 pm
by chiz
You should be able to use without a controller board. You just have to connect the corresponding RPi GPIO pins to the pins on the board. @tronicgr posted the instructions as a good starting point.

Videos in this site show RPi using the same type of SPI screens: http://www.whence.com/rpi/

Good luck and keep us posted with your tweaking! :)

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Thu Jul 07, 2016 7:33 am
by wermy
chiz wrote:You should be able to use without a controller board. You just have to connect the corresponding RPi GPIO pins to the pins on the board. @tronicgr posted the instructions as a good starting point.

Videos in this site show RPi using the same type of SPI screens: http://www.whence.com/rpi/

Good luck and keep us posted with your tweaking! :)
I think @joe7dust meant that this screen would need a controller board (which it would): http://www.buydisplay.com/default/color ... serial-spi

Kite has been doing some cool stuff with driving the screens directly from the pi though, so there's a chance that all you would need is a ribbon cable breakout board type thing.

But back to the cheap Arduino screen: I've never seen one of these that refreshed fast enough to be enjoyable while playing games (at least in my opinion). :\ If you really want to use one though, the really small Adafruit ones would be your best bet as you would be pushing fewer pixels, I think.

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Thu Jul 07, 2016 8:31 am
by tronicgr
wermy wrote:
chiz wrote:You should be able to use without a controller board. You just have to connect the corresponding RPi GPIO pins to the pins on the board. @tronicgr posted the instructions as a good starting point.

Videos in this site show RPi using the same type of SPI screens: http://www.whence.com/rpi/

Good luck and keep us posted with your tweaking! :)
I think @joe7dust meant that this screen would need a controller board (which it would): http://www.buydisplay.com/default/color ... serial-spi

Kite has been doing some cool stuff with driving the screens directly from the pi though, so there's a chance that all you would need is a ribbon cable breakout board type thing.

But back to the cheap Arduino screen: I've never seen one of these that refreshed fast enough to be enjoyable while playing games (at least in my opinion). :\ If you really want to use one though, the really small Adafruit ones would be your best bet as you would be pushing fewer pixels, I think.

Actually the ili9341 based screens are all capable of 60hz refresh rates. I made a PiGrrl2 with a 2.8inch and a PiGrrl Zero with a 2.2inch screens that are very clear and have fast refresh rate:

https://youtu.be/-KWqAKD5TM0
https://youtu.be/ct3Clmvc-KQ

Of course you can use cheap $6 ili9341 displays instead of using the ones from adafruit, I tried some of these and work the same.

Oh, and another thing, the power consumption on these screens can be around 70mA to 100mA only so makes them useful for battery operated projects. I measured as low as 170mA for both raspberry pi zero and an 2.2inch ili9341 screen when in idle state, and 250mA when running neogeo metalslug.

Thanks
Thanos

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Thu Jul 07, 2016 8:36 am
by tronicgr
Here is how I attached my ili9341 screen to pi zero:

IMG_20160707_073458.jpg
IMG_20160707_073458.jpg (326.1 KiB) Viewed 16638 times

Thanks
Thanos

Re: Would an Arduino screen be compatible with pi? Example pic inside

Posted: Thu Jul 07, 2016 8:44 am
by wermy
tronicgr wrote: Actually the ili9341 based screens are all capable of 60hz refresh rates. I made a PiGrrl2 with a 2.8inch and a PiGrrl Zero with a 2.2inch screens that are very clear and have fast refresh rate:

https://youtu.be/-KWqAKD5TM0
https://youtu.be/ct3Clmvc-KQ

Of course you can use cheap $6 ili9341 displays instead of using the ones from adafruit, I tried some of these and work the same.

Oh, and another thing, the power consumption on these screens can be around 70mA to 100mA only so makes them useful for battery operated projects. I measured as low as 170mA for both raspberry pi zero and an 2.2inch ili9341 screen when in idle state, and 250mA when running neogeo metalslug.

Thanks
Thanos
Hm, are you sure it's actually refreshing at 60fps? I could never get it to refresh as smoothly or quickly as an HDMI or composite display. In your builds in the videos (which look great btw!) you can see the screen refreshing in a weird diagonal refresh pattern when it tries to update the entire screen at once (when the emulationstation splash screen disappears, when loading up a new game, etc). That's the same sort of behavior I was seeing. This effect is a little harder to see once you're in-game, but it illustrates that it definitely does not refresh as fast as a normal screen. Additionally there is some definite lag to the screen (so when you push jump or whatever it doesn't happen instantaneously like it does when you plug in an HDMI screen).

Anyway, glad you got it working to your liking but those little things turned me off of using those screens in these types of projects. :)