Pins used by Touch Shield v2

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
ewd007
 
Posts: 15
Joined: Thu Jan 09, 2014 5:38 pm

Pins used by Touch Shield v2

Post by ewd007 »

I plan on using the touch Shield v2 and an Arduino UNO for a project. However, I am a bit confused as to which pins the shield actually uses.

The web site here http://www.seeedstudio.com/wiki/2.8''_T ... on_Arduino seems to indicate the following.

Pins Used for TFT Screen Control:
D4 : TF_CS, SD card select input pin
D5 : TFT_CS, TFT chip select input pin
D6 : TFT_D/C, TFT Data/Command control pin
D7 : BACKLIGHT, TFT backlight control pin

Pins Used for SPI Interface
D10 : SPI chip select
D11 : SPI data pin
D12 : SPI data pin
D13 : SPI serial clock pin

Pins Used for Touch Function
A0 - Touch Screen Y- input pin.
A1 - Touch Screen X- input pin.
A2 - Touch Screen Y+ input pin.
A3 - Touch Screen X+ input pin.

The web site here http://learn.adafruit.com/assets/13453 seems to indicate that
pins 9-13 are used for the tft, pin 4 is used for the SD card and 8 is used for the touch screen.

The latter seems to match the example files. However, I am confused about how the shield uses pin 3. Is this connected to the backlight somehow. If I do not use the backlight control can I use this pin as an interrupt?

Thanks for any help.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Pins used by Touch Shield v2

Post by adafruit_support_mike »

The Seeed documentation has nothing to do with our Touch Shield. They're two different products that happen to have the same name.

ewd007
 
Posts: 15
Joined: Thu Jan 09, 2014 5:38 pm

Re: Pins used by Touch Shield v2

Post by ewd007 »

Mike:

Thanks for the clarification. I thought that might be the case but was not sure.

I am still confused about the usage of pin 3. If I am reading this correctly the "as shipped" shield is NOT connected to pin 3. However, by soldering a connection closed pin 3 can be used used to control the backlight. As I do not want backlight control pin 3 is free for use as an interrupt.

Sorry for the "dumb" question but I am still on the very steep part of the learning curve.

User avatar
adafruit_support_bill
 
Posts: 88092
Joined: Sat Feb 07, 2009 10:11 am

Re: Pins used by Touch Shield v2

Post by adafruit_support_bill »

That is correct. Pin 3 is not connected unless you solder the jumper. You are free to use it for an interrupt if desired.
http://learn.adafruit.com/adafruit-2-8- ... -touch-irq

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

Return to “Arduino”