0

HXD8357D Display & Raspberry Pi
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

HXD8357D Display & Raspberry Pi

by Tom2Knowles on Wed Aug 05, 2015 8:52 pm

Does your software on the Raspberry Pi support HXD8357D PID: 2050

Tom2Knowles
 
Posts: 2
Joined: Sat Mar 28, 2015 1:22 am

Re: HXD8357D Display & Raspberry Pi

by adafruit_support_rick on Thu Aug 06, 2015 10:32 am

We have a version of that designed specifically for the R Pi:
https://www.adafruit.com/product/2441

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: HXD8357D Display & Raspberry Pi

by intensivex on Wed Mar 29, 2017 8:01 pm

Due to my projects height / thickness requirements, I can't use the version of your HXD8357D with the GPIO headers. I'm creating a working prop for Star Trek called a PADD (basically a tablet / PDA). I plan on soldering leads directly to a PI Zero W. Instead of me trying to perform surgery on the Touchscreen to remove the headers, can I use the headerless HXD8357D with a Pi zero?

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

Re: HXD8357D Display & Raspberry Pi

by adafruit_support_rick on Thu Mar 30, 2017 10:19 am

Sure. That will work. Set it up for SPI.
If you want touch, you'll have to use a touch controller, like this one:
https://www.adafruit.com/products/1571

Use the same pinout has shown in this schematic:
https://cdn-learn.adafruit.com/assets/a ... 1436454821

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: HXD8357D Display & Raspberry Pi

by intensivex on Thu Mar 30, 2017 11:22 am

Hmm ... That's a component I hoped I wouldn't need to use (which requires all sorts of patching and testing to get it stable with my project). What's your opinion on this direction:

From my past experiences, I noticed the PI touchscreens are attached with light adhesive strips to their touch controllers boards - the actual LCD can be gently pulled away from the board - exposing the backside of the soldered GPIO headers. At least this is the case for an older 2.8 adafruit TFT I have. The ribbon cable is then the only thing holding the LCD to the controller board (which can then be gently unplugged). My idea here is to separate the LCD from the board and DE-SOLDER the header. This would eliminate the need to use a separate touch controller as well as clobbering together everything from the various adafruit resources. I would then either re-solder a 90 degree elbow header, or solder directly to the board. Thoughts?

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

Re: HXD8357D Display & Raspberry Pi

by adafruit_support_rick on Fri Mar 31, 2017 9:52 am

Hmmm... Don't have one in front of me right now, but I'm pretty sure the header on the 3.5" PiTFT is surface mount. If you can deal with that, then you should be OK with replacing the header.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: HXD8357D Display & Raspberry Pi

by intensivex on Fri Mar 31, 2017 10:48 am

Hi Rick, and thanks for the reply. When you say "surface mount", is this the similar adhesive mounting method I described for the 2.8" versions? If so, all good and something I think I can work with. However, if some other mounting method, with a high risk of damaging the LCD in attempting to remove, then maybe I would attempt the header-less HXD8357D with the touch controller.

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

Re: HXD8357D Display & Raspberry Pi

by adafruit_support_rick on Fri Mar 31, 2017 10:52 am

I mean the actual header pins are soldered to the surface of the board. They don't go through holes.

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: HXD8357D Display & Raspberry Pi

by intensivex on Mon Mar 05, 2018 9:12 am

Hello. And apologies for digging up this old thread. It seems posting new threads is restricted?

In any event, I finally pulled the trigger on my PADD project, purchasing all my needed components here on a recent order. I did end up purchasing the non-Pi version of the 8357 TFT display (HD8357D). Looking at the wiring spec for the Pi version, they don't exactly align with this non-PI version. But maybe it's my lack of electrical diagram reading experience.

Can Adafruit provide a simple A to B Pin diagram for wiring for SPI with touch? That would be very helpful.

Also, are there libraries / specific drivers for this HD8357 to work on a Pi / Pi0?

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

Re: HXD8357D Display & Raspberry Pi

by adafruit_support_rick on Mon Mar 12, 2018 10:38 am

Make sure you close the IM2 jumper to enable SPI. The SPI pinout on the display is here:
https://learn.adafruit.com/adafruit-3-5 ... est#wiring

Look at the schematic for the Pi version here:
https://learn.adafruit.com/adafruit-pit ... us-3-dot-5

So, you want to match up the pins between the two. You can see MOSI, MISO, SCLK, TFT_DC, and TFT_CS on the Pi header in the schematic.

The problem you will have is that the plain 3.5" TFT does not have a touch controller. If you want touch, you will need to add a touch controller to the setup. The Pi version of the display uses an STMPE610 touch controller. There's a breakout version of that here:
https://www.adafruit.com/product/1571

It connects to the PI via SPI, so you would connect it to MOSI, MISO, and SCLK as well. You will also need to connect CS to SPI.CE1 and INT to GPIO 24 on the Pi.

Once all that is in place, you can use the PiTFT version of raspbian:
https://learn.adafruit.com/adafruit-pit ... sy-install

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: HXD8357D Display & Raspberry Pi

by intensivex on Mon Mar 12, 2018 11:56 am

Hi Rick and thanks again for your valuable time.

I actually purchased a capacitive touch break-out board on the same order with my 3.5 TFT. Will this capacitive sensor work with a resisteive screen, or do you recommend I procure the resistive version?

Regarding Pin mapping from TFT display to the Pi.

I am wondering how close this example is to your description:

Pi-TFT-Pin-Map.jpg
Pi-TFT-Pin-Map.jpg (8.6 KiB) Viewed 439 times


.. because following the piTFT schematic isn't quite clear to me.

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

Re: HXD8357D Display & Raspberry Pi

by adafruit_support_rick on Fri Mar 16, 2018 11:06 am

Yes, that's pretty much right. Except DC should be on pin 22, not on pin 18.
No need to connect RST to anything.

The screen is resistive, not capacitive, so you can't use your capacitive breakout. You'll need a resistive breakout.
To be compatible with the PiTFT drivers, you will have to get the STMPE610.

That breakout connects to the Pi using the same MISO, MOSI, and SCLK pins

The STMPE610 supports both I2C ad SPI. You'll want to use SPI. Configure the board this way:
SDI to Pi pin 19
SDO to Pi pin 21
SCL to Pi pin 23
SDA to Pi pin 26
INT to Pi pin 18
MODE to 3Vo on STMPE

X+/Y+/X-/Y- to matching pins on display

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: HXD8357D Display & Raspberry Pi

by intensivex on Sun Mar 18, 2018 3:16 pm

Ok Rick, this I what I came up with based on your response:

wiring-HD8537-STMPE601.png
wiring-HD8537-STMPE601.png (595.36 KiB) Viewed 368 times


If this looks good, I will start soldering.
Last edited by intensivex on Mon Mar 19, 2018 8:34 pm, edited 4 times in total.

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

Re: HXD8357D Display & Raspberry Pi

by adafruit_support_rick on Sun Mar 18, 2018 5:39 pm

Oops! Going by the picture, your wiring is upside down and backward.
The Pi hole with the square pad down at the bottom of the picture is Pin 1

adafruit_support_rick
 
Posts: 35095
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: HXD8357D Display & Raspberry Pi

by intensivex on Sun Mar 18, 2018 6:05 pm

Good catch! I just updated the image (again) to reflect proper orientation. Please have another look when you have a moment.

Thanks Rick!
Last edited by intensivex on Sun Mar 18, 2018 7:54 pm, edited 1 time in total.

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

Please be positive and constructive with your questions and comments.