touchscreen for 2.2" tft display

hello

i have a 2.2" tft display but i am looking for a touchscreen for this.
know any a good touchscreen with 4 pins that is 2.2" for my screen and under 4 or 5$?
i have this 2.2" display: http://www.ebay.com/itm/2-2-inch-2-2-SPI-TFT-LCD-Display-module-240x320-ILI9341-51-AVR-STM32-ARM-PIC-/200939222521?pt=LH_DefaultDomain_0&hash=item2ec8e935f9

thanks

i need it very well.
and 2.4" touch panel is good too.

The screen in that link has no touch capability included.
This one does.

Photo shows it has. What makes it so apparent it doesnt?

casemod:
Photo shows it has. What makes it so apparent it doesnt?

Scroll down to the description, it states this - "Type: without touch panel"
Now on the link I posted the description states -"Type: touch panel"

many thanks for this link!

know any how to connect it?
or is it the same as the display i have, that uses ili9341 too?

thanks

elac:
Scroll down to the description, it states this - "Type: without touch panel"
Now on the link I posted the description states -"Type: touch panel"

Thank you elac. Typical case of stock photos as typical with the chinese XD

arduino123456789:
many thanks for this link!

know any how to connect it?
or is it the same as the display i have, that uses ili9341 too?

thanks

For the screen is the same as the 2.2. I don't know about the touchscreen tough

Looks like the touch function consumes 5 pins.

okay,

but on the site he says it works with 5v is it true?

Site says -"5V compatible, use with 3.3V or 5V logic"
Don't see why they would purposely lie.
The link to the TFT screen and driver info is on the product page it is labeled "Download" in a purple blue color.
Though there is nothing related directly to the completed module in there.

elac:
Looks like the touch function consumes 5 pins.

No. The touch uses SPI, same as the screen. So you only need one extra pin for the CS line.

Only one extra pin on the Arduino board, 5 pins on the module.
Casemod, do you not have to connect the remaining SPI pins on this module? Just connect the CS pin and let the rest float?
I was under the impression that all SPI device pins must connect to the Arduino board with each device having it's own CS pin.

okay.

if the touchscreen uses spi what controller chip use it?

elac:
Only one extra pin on the Arduino board, 5 pins on the module.
Casemod, do you not have to connect the remaining SPI pins on this module? Just connect the CS pin and let the rest float?
I was under the impression that all SPI device pins must connect to the Arduino board with each device having it's own CS pin.

It was mentioned that the touch "consumes" 5 pins.
I clarified it only "consumes" only one additional pin as the interface itself is the same .

I don't recall having seen or debated anything about how it should be wired, right?

arduino123456789:
if the touchscreen uses spi what controller chip use it?

The one I have has a XPT2046 controller IC.

Thanks.

But how to connect the touch panel to work with the adafruit ili9341 touch paint example?

casemod:

elac:
Only one extra pin on the Arduino board, 5 pins on the module.
Casemod, do you not have to connect the remaining SPI pins on this module? Just connect the CS pin and let the rest float?
I was under the impression that all SPI device pins must connect to the Arduino board with each device having it's own CS pin.

It was mentioned that the touch "consumes" 5 pins.
I clarified it only "consumes" only one additional pin as the interface itself is the same .

I don't recall having seen or debated anything about how it should be wired, right?

My fault, I didn't use "consume" with enough detail, I was referring to the touch screen consuming 5 pins on the module board it and the screen are attached to. Apposed to the module without a touch screen which the pictures show the touch screen pins on the module but they are not used/consumed because of no touch screen present.

No, not discussed it's wiring I was just asking you for my own clarification as I do not own this particular TFT screen module and you do.
As for my questions, what I'm getting at is this:
Is the SPI for the screen and touch function internally connected in the module except for the CS pins?
Or do the SPI pins have to externally share the Arduino board SPI pins except for individual CS pins? Like the SD card slot.

That's all. :wink:

arduino123456789:
Thanks.

But how to connect the touch panel to work with the adafruit ili9341 touch paint example?

I have no idea. UTFT has support for that controller with the Utouch library. it is the same found on the SSD1289 based displays such as the ITDB24E.

elac:
My fault, I didn't use "consume" with enough detail, I was referring to the touch screen consuming 5 pins on the module board it and the screen are attached to. Apposed to the module without a touch screen which the pictures show the touch screen pins on the module but they are not used/consumed because of no touch screen present.

Makes sense now.

elac:
No, not discussed it's wiring I was just asking you for my own clarification as I do not own this particular TFT screen module and you do.
As for my questions, what I'm getting at is this:
Is the SPI for the screen and touch function internally connected in the module except for the CS pins?
Or do the SPI pins have to externally share the Arduino board SPI pins except for individual CS pins? Like the SD card slot.

That's all. :wink:

There's nothing wrong on what you said, other than you didn't mention any wiring on the post I first quoted.
They don't have any internal connection. I usually short them on the panel itself and just attach the CS to whatever feature I want to use or not to use.

Some guys use bit-bang SPI for the touch. I am yet to understand the point as it will cause extra overhead to the CPU, but regardless if you use that method you will need the extra pins wired separately.

Remember the CPU perform actions sequentially so even in the best case, if you were using another (hardware) SPI port the speed would still be the same (Actually slower on soft SPI). There is an exception, on CPU's with DMA capabilities, but this is only supported on the DUE and even then the Arduino environment doesn't make use of such feature.

My fault, I didn't use "consume" with enough detail, I was referring to the touch screen consuming 5 pins on the module board it and the screen are attached to. Apposed to the module without a touch screen which the pictures show the touch screen pins on the module but they are not used/consumed because of no touch screen present.

What did you mean?

i will connect the touch panel too.
how to do that?
works the chip with another lib?
i will it work with the adafruit touch paint example.