HXD8357D Display & Raspberry Pi

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
voyager99
 
Posts: 6
Joined: Thu Oct 04, 2012 1:00 pm

Re: HXD8357D Display & Raspberry Pi

Post by voyager99 »

Hello Intensivex:

Thanks very much for your post and info on this.
I too would like to use the HXD8357D (3.5" TFT 320x480) on a
Raspberry Pi 3.
I understand that I will also have to purchase the STMPE610
touch controller in order to have touch capabilities, but
with those 2 components in place and correctly wired, can I then
download and use the Adafruit-GFX-Library and the Adafruit_HX8357_Library
to draw to the display?
I am using Raspian Stretch and do not want to have to install an older image
or update the kernel.
Thanks very much for your help.

Danny

User avatar
intensivex
 
Posts: 16
Joined: Sun Mar 29, 2015 1:48 pm

Re: HXD8357D Display & Raspberry Pi

Post by intensivex »

Hi Danny,

I'm probably not the right person to answer that, but I'm sure Adafruit support will chime in and recommend the right direction for you. One thing I do wish I did in retrospect is purchase the 3.5" PiTFT with built-in touch controller and no need for all this additional wiring I'm having to do.

The reason I didn't buy the piTFT was due to my project's height / thickness requirements. The PiTFT comes with a 1cm+ tall header that would need to be removed. But I did not anticipate the need (or cost) for an additional touch controller. But I'm stuck with the display, so as long as I can make it work, I'll use it. For the next version I'll be going with the piTFT instead:

https://www.adafruit.com/product/2441

User avatar
voyager99
 
Posts: 6
Joined: Thu Oct 04, 2012 1:00 pm

Re: HXD8357D Display & Raspberry Pi

Post by voyager99 »

Hey, thanks very much for your quick response, appreciate it!
I haven't purchased the screen as yet and do realize that there is a Pi version,
but like you, I do not want the the 1cm header and need the GPIO pins on the
Pi itself to be free for other components.
I also prefer the availability of the SD card.

I will forward my question to Adafruit support.
Thanks again for your help, and if you ever get this working, please do let me
know!

Danny

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: HXD8357D Display & Raspberry Pi

Post by adafruit_support_rick »

Yeah, I think that's right. Except you need MISO from the display. The driver expects to read some things back from the display.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: HXD8357D Display & Raspberry Pi

Post by adafruit_support_rick »

voyager99 wrote:Hello Intensivex:

Thanks very much for your post and info on this.
I too would like to use the HXD8357D (3.5" TFT 320x480) on a
Raspberry Pi 3.
I understand that I will also have to purchase the STMPE610
touch controller in order to have touch capabilities, but
with those 2 components in place and correctly wired, can I then
download and use the Adafruit-GFX-Library and the Adafruit_HX8357_Library
to draw to the display?
I am using Raspian Stretch and do not want to have to install an older image
or update the kernel.
Adafruit GFX and Adafruit HX8357 are Arduino libraries. You can't use them on a Pi.

User avatar
intensivex
 
Posts: 16
Joined: Sun Mar 29, 2015 1:48 pm

Re: HXD8357D Display & Raspberry Pi

Post by intensivex »

Hi Rick,

So pin 35 (BCM19) on the Pi0 to MOSI on the display?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: HXD8357D Display & Raspberry Pi

Post by adafruit_support_rick »

No - you've already got MOSI. You need MISO It goes to Pi pin 21

User avatar
intensivex
 
Posts: 16
Joined: Sun Mar 29, 2015 1:48 pm

Re: HXD8357D Display & Raspberry Pi

Post by intensivex »

MISO, MOSI, potato, tomato... I bet that's burned many in the past!

Got it. PIN 21 on Pi0 to MISO(soup) on display.

I will update the graphic later tonight for one last review. Thanks Rick!

And to Danny's message and your reply regarding libs being for Adurino only ... does this prevent us Pi guys from utilizing the SD card slot on the display? I was curious about that (though its not a requirement for my project).

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: HXD8357D Display & Raspberry Pi

Post by adafruit_support_rick »

Yeah. I don't think we have any support for that in Raspbian.

User avatar
voyager99
 
Posts: 6
Joined: Thu Oct 04, 2012 1:00 pm

Re: HXD8357D Display & Raspberry Pi

Post by voyager99 »

Hi Rick:

Thanks very much for your response.
I understand that I can use the Adafruit Python ILI9341 library
with the 2.8" TFT LCD (PRODUCT ID: 1770), but what about
the 3.5" TFT 320x480 (PRODUCT ID: 2050) on the Raspberry Pi 3?

Thanks.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: HXD8357D Display & Raspberry Pi

Post by adafruit_support_rick »

No, sorry. The driver chips are similar, but they're not the same.

User avatar
voyager99
 
Posts: 6
Joined: Thu Oct 04, 2012 1:00 pm

Re: HXD8357D Display & Raspberry Pi

Post by voyager99 »

Thank you very much for your help Rick.
Just a last quick question please: Are you saying that there's
no current way to get the 3.5" TFT 320x480 (PRODUCT ID: 2050)
to work with the Raspberry Pi 3?

Thanks.
Danny

User avatar
intensivex
 
Posts: 16
Joined: Sun Mar 29, 2015 1:48 pm

Re: HXD8357D Display & Raspberry Pi

Post by intensivex »

Hi Danny. I think what Rick was saying is, the extra SD card slot on the display is not currently compatible with the Pi due to the libraries being written for the Arduino. But I'm sure if someone spent the energy porting those libs over to the Pi, it would be possible.

The display itself will work on the Pi if 1) wired correctly and 2) correct image is installed (according to Rick, the piTFT image for their 3.5" piTFT display should work - https://learn.adafruit.com/adafruit-pit ... sy-install).

I'd be curious to know the time and cost associated with a library port for the SD card slot functionality for the Pi.

User avatar
voyager99
 
Posts: 6
Joined: Thu Oct 04, 2012 1:00 pm

Re: HXD8357D Display & Raspberry Pi

Post by voyager99 »

Thanks, yeah, I get that!
I also understand the need for different screen designs with different physical
pin locations to match specific hardware (for the variety of Arduino's / Pi's, etc
that are available), but given that the wiring changes are accounted for,
I'm a little surprised that the drivers would be written for specific devices only.
It should have been possible to write generic drivers and include *.h files
for the specific hardware.
The code is C/C++, and I'm sure that the low level calls can be ported to other
platforms if their API's are available.
I'll look into it as soon as I have some free time.
I actually already have the 3.5" TFT 320x480 (PRODUCT ID: 2050)
(bought it last year).

User avatar
intensivex
 
Posts: 16
Joined: Sun Mar 29, 2015 1:48 pm

Re: HXD8357D Display & Raspberry Pi

Post by intensivex »

Ok Mr. Rick. Here is the final wiring layout.
wiring-HD8357-STMPE601.png
wiring-HD8357-STMPE601.png (603.17 KiB) Viewed 537 times
Please review when you have a moment. This will be our wiring guide moving forward.

I very much appreciate your valuable time helping get this display to work for the Pi.

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”