0

PiTFT 2.8 Capacitive Touchscreen - touches not recognized
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PiTFT 2.8 Capacitive Touchscreen - touches not recognized

by mattotto on Sun Feb 11, 2018 2:52 pm

Hello,

I recently purchased an Adafruit PiTFT Plus 320x240 2.8" TFT + Capacitive Touchscreen (Product ID: 2423) which I've installed on a Raspberry Pi 3 Model B that I'm unable to get to respond to touch events.

I followed the instructions here: https://learn.adafruit.com/adafruit-pit ... spberry-pi

And I am using the image for the capacitive screen found here: https://s3.amazonaws.com/adafruit-raspb ... ft-28c.zip

Everything boots up and the desktop is shown on the display, but it will not respond to touch events. Input via USB keyboard and mouse are fine. Also when I run evtest it looks like the device is recognized, but no events seem to be captured:

Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi:~ $ sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:   ft6x06_ts
Select the device event number [0-0]: 0
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "ft6x06_ts"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max     4095
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max     4095
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max      255
    Event code 48 (ABS_MT_TOUCH_MAJOR)
      Value      0
      Min        0
      Max      255
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max     4095
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max     4095
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max        2
    Event code 58 (ABS_MT_PRESSURE)
      Value      0
      Min        0
      Max      255
Properties:
Testing ... (interrupt to exit)


Any ideas on what may be the issue? Is the unit possibly defective?

Thanks
matt

mattotto
 
Posts: 6
Joined: Thu Jan 25, 2018 11:14 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by adafruit_support_carter on Sun Feb 25, 2018 12:56 pm

There's a separate guide for the cap touch version of the display:
https://learn.adafruit.com/adafruit-2-8 ... tive-touch
You linked to the resistive touch guide. You're linking to the correct zip file though. Were you actually following that guide you linked? A few of the steps are a little different. For example, for cap touch you wan to do this:
https://learn.adafruit.com/adafruit-2-8 ... -the-pitft

adafruit_support_carter
 
Posts: 6664
Joined: Tue Nov 29, 2016 2:45 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by mattotto on Sun Feb 25, 2018 5:01 pm

The link to the guide was a copy/paste error on my part.

Just to be certain I just followed the steps in https://learn.adafruit.com/adafruit-2-8 ... tive-touch starting with creating a fresh install using the zip file and also by following the Easy Install steps and had the same results. The display shows the desktop, and the button connected to pin #23 shuts the device down, but the touches aren't recognized.

I also ran through the steps in the Detailed Installation, checking to make sure that the configuration files, etc. on the Pi matched what was in the tutorial. Everything looked to be correct.

What should the next steps be? I've attached images of the board on the off-chance just in case it helps

Matt
IMG_0078.png
IMG_0078.png (862.88 KiB) Viewed 370 times

IMG_0077.png
IMG_0077.png (664.24 KiB) Viewed 370 times


adafruit_support_carter wrote:There's a separate guide for the cap touch version of the display:
https://learn.adafruit.com/adafruit-2-8 ... tive-touch
You linked to the resistive touch guide. You're linking to the correct zip file though. Were you actually following that guide you linked? A few of the steps are a little different. For example, for cap touch you wan to do this:
https://learn.adafruit.com/adafruit-2-8 ... -the-pitft

mattotto
 
Posts: 6
Joined: Thu Jan 25, 2018 11:14 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by adafruit_support_carter on Mon Feb 26, 2018 1:54 pm

Thanks for the photos. It looks like the flat ribbon cable may not be fully inserted. See photo below. Try doing what is shown here:
https://learn.adafruit.com/adafruit-pit ... -faq#faq-2
and see if you get it to be more fully inserted and if that makes any difference.

ribbon_cable.png
ribbon_cable.png (385.14 KiB) Viewed 351 times

adafruit_support_carter
 
Posts: 6664
Joined: Tue Nov 29, 2016 2:45 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by mattotto on Tue Feb 27, 2018 8:50 am

I was able to get the cable fully inserted (I think - it moved slightly), but unfortunately touches still aren't being recognized.

IMG_0086.png
IMG_0086.png (791.96 KiB) Viewed 333 times



adafruit_support_carter wrote:Thanks for the photos. It looks like the flat ribbon cable may not be fully inserted. See photo below. Try doing what is shown here:
https://learn.adafruit.com/adafruit-pit ... -faq#faq-2
and see if you get it to be more fully inserted and if that makes any difference.

mattotto
 
Posts: 6
Joined: Thu Jan 25, 2018 11:14 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by adafruit_support_carter on Tue Feb 27, 2018 12:30 pm

That cable looks much better. OK, now see if you get any kind of a response from the command line. Try the test shown here:
https://learn.adafruit.com/adafruit-2-8 ... nt-testing

adafruit_support_carter
 
Posts: 6664
Joined: Tue Nov 29, 2016 2:45 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by mattotto on Wed Feb 28, 2018 8:40 am

Same results as before. Evtest doesn't register any events for the touchscreen, mouse and keyboard events are captured as expected.

Ts_test starts the test screen but does not recognize any touches.

Output of evtest:
Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi:~ $ sudo evtest /dev/input/touchscreen
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "ft6x06_ts"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value      0
      Min        0
      Max     4095
    Event code 1 (ABS_Y)
      Value      0
      Min        0
      Max     4095
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max      255
    Event code 48 (ABS_MT_TOUCH_MAJOR)
      Value      0
      Min        0
      Max      255
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max     4095
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max     4095
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max        2
    Event code 58 (ABS_MT_PRESSURE)
      Value      0
      Min        0
      Max      255
Properties:
Testing ... (interrupt to exit)


What are the next steps to exchange this for replacement touchscreen?

Matt

adafruit_support_carter wrote:That cable looks much better. OK, now see if you get any kind of a response from the command line. Try the test shown here:
https://learn.adafruit.com/adafruit-2-8 ... nt-testing

mattotto
 
Posts: 6
Joined: Thu Jan 25, 2018 11:14 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by mattotto on Fri Mar 02, 2018 8:51 am

I just tried this on another Raspberry Pi and had the same results. Screen displays but no touches are recognized.

mattotto
 
Posts: 6
Joined: Thu Jan 25, 2018 11:14 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by mattotto on Fri Mar 02, 2018 11:10 am

Also same results using a fresh install of stretch and running the script found here:

https://raw.githubusercontent.com/adafr ... helper2.sh

mattotto
 
Posts: 6
Joined: Thu Jan 25, 2018 11:14 pm

Re: PiTFT 2.8 Capacitive Touchscreen - touches not recognize

by adafruit2 on Fri Mar 02, 2018 12:45 pm

:( it happens! please email support@adafruit and we'll get u a new one!

adafruit2
Site Admin
 
Posts: 17170
Joined: Fri Mar 11, 2005 7:36 pm

Please be positive and constructive with your questions and comments.