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

Arduino-related hardware discussion (including Teensy and other Arduino clones)
User avatar
joe7dust
Posts: 218
Joined: Mon Jun 06, 2016 4:13 am
Has thanked: 23 times
Been thanked: 7 times

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

Post by joe7dust » Sun Jun 19, 2016 9:10 am

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

User avatar
Oxodao
Posts: 131
Joined: Wed Jun 01, 2016 11:35 am
Location: 127.0.0.1
Has thanked: 4 times
Been thanked: 30 times
Contact:

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

Post by Oxodao » Wed Jul 06, 2016 3:29 pm

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 :/
Arduino sketch for the gamepad (Teensy replacement): http://github.com/oxodao/GBZGamepad

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

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

Post by tronicgr » Wed Jul 06, 2016 3:47 pm

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

User avatar
Oxodao
Posts: 131
Joined: Wed Jun 01, 2016 11:35 am
Location: 127.0.0.1
Has thanked: 4 times
Been thanked: 30 times
Contact:

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

Post by Oxodao » Wed Jul 06, 2016 4:42 pm

Oh, if so there is maybe a chance :)
Arduino sketch for the gamepad (Teensy replacement): http://github.com/oxodao/GBZGamepad

User avatar
joe7dust
Posts: 218
Joined: Mon Jun 06, 2016 4:13 am
Has thanked: 23 times
Been thanked: 7 times

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

Post by joe7dust » Wed Jul 06, 2016 8:36 pm

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.

User avatar
chiz
Posts: 228
Joined: Thu May 05, 2016 12:05 am
Has thanked: 29 times
Been thanked: 119 times

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

Post by chiz » Wed Jul 06, 2016 9:20 pm

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! :)

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

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

Post by wermy » Thu Jul 07, 2016 7:33 am

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.
ImageImageImageImage

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

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

Post by tronicgr » Thu Jul 07, 2016 8:31 am

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

User avatar
tronicgr
Posts: 143
Joined: Tue Jun 07, 2016 4:26 pm
Has thanked: 95 times
Been thanked: 67 times
Contact:

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

Post by tronicgr » Thu Jul 07, 2016 8:36 am

Here is how I attached my ili9341 screen to pi zero:

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

Thanks
Thanos

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

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

Post by wermy » Thu Jul 07, 2016 8:44 am

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. :)
ImageImageImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest