0

PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchscree
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchscree

by Gh0stFPV on Wed May 26, 2021 2:01 pm

I just got my screen in and powers on, but I don't see my OS. It's just a blank screen. I tried it with another Raspberry Pi that I know is working and the same thing happened blank white screen. So I switched the SD cards because I thought maybe the OS was installed incorrectly, but it was the same result (When checking the SD card, I can see the OS files so it was definitely installed correctly).

So with all this troubleshooting in mind, I have come to find that it seems the screen is just defective. I'm happy to try and get this working if I'm wrong, just don't know what exactly I need to do next.
Attachments
186540248_1371734346534334_6314309470826929220_n.jpg
186540248_1371734346534334_6314309470826929220_n.jpg (264.63 KiB) Viewed 443 times

Gh0stFPV
 
Posts: 6
Joined: Wed May 26, 2021 1:18 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by mikeysklar on Wed May 26, 2021 6:41 pm

@Gh0stFPV,

The display is probably good, but the installation process requires running one of our scripts to set it up.

https://learn.adafruit.com/adafruit-pit ... -install-2

This script will do all the work for you, and install both device tree overlay support as well as configure rotation and any HDMI mirroring. PiTFT no longer needs any custom kernels or modules, so you can continue to update/upgrade your Pi and it will work with the most recent releases.

Here's the commands to run. Make sure your Pi has network access, it needs to download the software!

The latest installer script was rewritten in Python, so it can be installed with just a few commands. First, start by installing a few dependencies and downloading the repo:

mikeysklar
 
Posts: 5008
Joined: Mon Aug 01, 2016 8:10 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by Gh0stFPV on Thu May 27, 2021 12:38 pm

Ok, I am new to all this but I have some experience with computers overall. From what I understood from that article, I should open the terminal, and enter the first line of code which is

cd ~
sudo apt-get install -y git python3-pip
sudo pip3 install --upgrade adafruit-python-shell click
git clone https://github.com/adafruit/Raspberry-P ... cripts.git
cd Raspberry-Pi-Installer-Scripts

So I did that, then I entered the next line of code specific to the screen

sudo python3 adafruit-pitft.py --display=28r --rotation=90 --install-type=console

The following picture is what I got back, when I plug the screen in its still white. Am I doing this correctly?
Attachments
190048553_311883570397394_7299829522627676547_n.jpg
190048553_311883570397394_7299829522627676547_n.jpg (345 KiB) Viewed 407 times

Gh0stFPV
 
Posts: 6
Joined: Wed May 26, 2021 1:18 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by mikeysklar on Thu May 27, 2021 12:48 pm

Close, but you didn't change into the directory correctly. Start again at this part. You included two commands on one line.



Code: Select all | TOGGLE FULL SIZE
cd Raspberry-Pi-Installer-Scripts
sudo python3 adafruit-pitft.py --display=28r --rotation=90 --install-type=console

mikeysklar
 
Posts: 5008
Joined: Mon Aug 01, 2016 8:10 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by Gh0stFPV on Thu May 27, 2021 2:04 pm

Ok, thank you, I got it working, but its only working on a Raspberry Pi 3 Model B V1.2, but when I try it on my Raspberry Pi Zero W V1.1 I still get the blank white screen. Any ideas? I did make sure to bring the SD card from one Pi to another. The only difference I am seeing is the pins Im using on each PI. Pictures below.
Attachments
191985199_1011177096292379_9108754643037102991_n.jpg
191985199_1011177096292379_9108754643037102991_n.jpg (302.03 KiB) Viewed 396 times
190658947_1414896492244102_8212115953092670398_n.jpg
190658947_1414896492244102_8212115953092670398_n.jpg (171.67 KiB) Viewed 396 times
191407611_477158950213477_380865559326095328_n.jpg
191407611_477158950213477_380865559326095328_n.jpg (224.4 KiB) Viewed 396 times

Gh0stFPV
 
Posts: 6
Joined: Wed May 26, 2021 1:18 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by Gh0stFPV on Thu May 27, 2021 2:06 pm

Pictures of the Zero below. Yes the SD card slot is empty in the picture but when I plugged it in I had it in there.
Attachments
190753441_943850203035194_3519494142498645200_n.jpg
190753441_943850203035194_3519494142498645200_n.jpg (111.8 KiB) Viewed 396 times
191278326_389753828912162_5088479898531725264_n.jpg
191278326_389753828912162_5088479898531725264_n.jpg (117.75 KiB) Viewed 396 times

Gh0stFPV
 
Posts: 6
Joined: Wed May 26, 2021 1:18 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by mikeysklar on Thu May 27, 2021 2:35 pm

Good job getting it going on your Pi 3.

The Pi Zero should just work with the SD card being moved over with the display. Since it is not please posts photos of the soldering you have performed on the Pi Zero headers.

Does the Pi Zero boot correctly with the SD card installed from the Pi 3, but without the 2.8" PiTFT Plus installed?

mikeysklar
 
Posts: 5008
Joined: Mon Aug 01, 2016 8:10 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by Gh0stFPV on Thu May 27, 2021 3:00 pm

I just watched the video that you have on the listing of the screen. From what I understand from it at 11:30 in the video, the very smart lady says you can take your GPIO cable and use it on the open male pin header.

So if I am not mistaken, Im using the wrong pin header. I should be using the female pin header on the bottom of the screen, not the male. I might be an idiot, but Im %99 sure the reason why it works on the PI 3 is that its male pins, to the female pins on the back of the screen, whereas the Zero didnt come with pins, and I ordered a 2x20 female pin header, not knowing I needed the male header on the Zero instead.

Ive attached the pics of my solder joints, pretty confident about that though because Ive been doing FPV drones for 4 years now and its really soldering intensive. Ive had quite a bit of experience with an iron.
Attachments
191923399_769838187232111_7713733531418401118_n.jpg
191923399_769838187232111_7713733531418401118_n.jpg (270.69 KiB) Viewed 384 times
193203187_490330272275042_325322615374119456_n.jpg
193203187_490330272275042_325322615374119456_n.jpg (283.83 KiB) Viewed 384 times

Gh0stFPV
 
Posts: 6
Joined: Wed May 26, 2021 1:18 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by mikeysklar on Fri May 28, 2021 1:30 pm

That drone soldering practice paid off. Your connections are great.

I think you called it. The 2x20 connector you are using is has the pins mirroring each other. Take a look at the hardware PCB layout and you can see a clear image of how the traces are connected. A ribbon cable would resolve this.

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

pitft-2x20.png
pitft-2x20.png (58.52 KiB) Viewed 365 times


https://learn.adafruit.com/assets/25553

mikeysklar
 
Posts: 5008
Joined: Mon Aug 01, 2016 8:10 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by Gh0stFPV on Sun May 30, 2021 6:29 pm

Mikey thank you, I managed to get the pins out, lol a coworker of mine has a ton of PCB experience and managed to unsolder the pins. Just ordered a correct pin header, and Im going to put it all together. Correctly this time lol. Thanks for all your help, its greatly appreciated.

In FPV drones, we have something called a Wiring diagram, basically shows how to wire all the other parts onto the main PCB, they also tell what each pads functions are. Similar to the picture you attached. Is there something like that on this website? I know the silk screens tell alot, but it would be nice to have a sorta "map" to make sure I put it together properly. Ill attach a picture of what I mean, its the wiring diagram of a Flight controller I use.
Attachments
1.jpg
1.jpg (535.03 KiB) Viewed 351 times

Gh0stFPV
 
Posts: 6
Joined: Wed May 26, 2021 1:18 pm

Re: PiTFT Plus Assembled 320x240 2.8" TFT + Resistive Touchs

by mikeysklar on Mon May 31, 2021 2:44 pm

Glad you got that head off and are moving forward.

I like your FPV drone mamba stack example That is really clear. We actually use the exact same wiring diagram style for the pinouts on most of new controllers. Although we tend not to use them for peripherals like LCDs and accessories.

My suggestion would be to download Fritzing or EagleCad and look at the actual files. That way you can at least hover over the pins and confirm each connection. We do provide some screen JPGs too. I can see your point about a wiring diagram being easier to follow.

https://learn.adafruit.com/adafruit-pit ... /downloads

mikeysklar
 
Posts: 5008
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.