Adafruit Touchscreen Breakout does not detect nothing

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

Hi all,

I bought the Adafruit ILI9341 resistive touchscreen and I cannot get it worked. The screen perfectly displays what it has to display however the touchscreen does not detect anything (no reaction on the display or in the serial monitor).

I followed this tutorial for the SPI mode : https://learn.adafruit.com/adafruit-2-8 ... ouchscreen

I use the sketch called breakoutTouchPaint from the most recent version of the library Adafruit ILI9341.

I tried to press with my finger or a pencil but nothing happens. The only serial output that I get is "Touch Paint!" at the beginning. Nothing more.

Is there anyone to help me ?

Thank you

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by dastels »

Exactly which product do you have?

Dave

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

I have the ILI9341 (see picture).
Attachments
20220618_125140.jpg
20220618_125140.jpg (319.41 KiB) Viewed 477 times

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by dastels »

ILI9341 is the TFT controller chip, used in several of the display boards. Howeverm, the silk screen has all the infor needed to ID the board.

How are you interfacing with the resistive touchscreen? See https://learn.adafruit.com/adafruit-2-8 ... ouchscreen and https://www.adafruit.com/product/1571.

Dave

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

I'm using the first tutorial in SPI mode. I can send you a picture

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by dastels »

You mean using the 4 X/Y pins as in https://learn.adafruit.com/adafruit-2-8 ... -906193-10?

Yes a photo almost always helps. Especially of your soldering.

Dave

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

Here are the pictures

1/3
Attachments
20220619_223807.jpg
20220619_223807.jpg (725.03 KiB) Viewed 448 times

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

2/3
Attachments
20220619_223834.jpg
20220619_223834.jpg (600.98 KiB) Viewed 448 times

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

3/3
Attachments
20220619_223841.jpg
20220619_223841.jpg (619.2 KiB) Viewed 448 times

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by dastels »

That looks good... verify the connections, and maybe test/replace the wires for the X/Y lines. Is the connection with the breadboard good? I guess what I'm asking is: is the connection from the UNO header pin to the pin on the display board good? There's 4 potential points of failure on each connection: UNO to wire, wire, wire to breadboard, breadboard to display board pin. The soldering on the display board is another potential point, but it looks quite good. If everything else checks out, it might be worth reflowing it.

Dave

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

I think the cables are okay. The breadboard is a little bit old.
It could be that one UNO pin does not work. However, if no pressing is detected, does that mean that all 4 connections are broken? I guess that it would react to pressing in an unwanted way if only one connection was not okay? I mean, not detecting appropriately but detecting something.

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by dastels »

Yes, that sounds reasonable.

Dave

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by dastels »

I'm asking around.

Dave

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by adafruit_support_carter »

Looks like maybe XP and YM pins are swapped?

Code has XP=8 and YM=9:

Code: Select all

// These are the four touchscreen analog pins
#define YP A2  // must be an analog pin, use "An" notation!
#define XM A3  // must be an analog pin, use "An" notation!
#define YM 9   // can be any digital pin
#define XP 8   // can be any digital pin
But wiring is XP=9 and YM=8:
pins.jpg
pins.jpg (61.35 KiB) Viewed 402 times

User avatar
Amidala
 
Posts: 10
Joined: Wed Jun 15, 2022 3:11 pm

Re: Adafruit Touchscreen Breakout does not detect nothing

Post by Amidala »

Thank you very much adafruit_support_carter!
This was it!

I guess there is a mistake in the tutorial then.

Have a nice day everybody, especially dastels and adafruit_support_carter for your help!

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

Return to “Other Arduino products from Adafruit”