Seeedino Touch Screen V1.0 from Radio Shack

The screen is here http://seeedstudio.com/wiki/2.8''_TFT_Touch_Shield Its also where you find the links as I showed above.

I had the same problem. I did a search of the wiki site and found this:

http://www.seeedstudio.com/wiki/File:TFT_TouchScreen_for_Arduino_1.0.zip

Steve

bmwnomad:
I had the same problem. I did a search of the wiki site and found this:

http://www.seeedstudio.com/wiki/File:TFT_TouchScreen_for_Arduino_1.0.zip

Steve

I'm sure I've tried that one also, but I've been all over Google, Arduino, Seeduino... I'm starting to get confused as to what I've done. I had an issue where I inserted a folder called TouchScreen in my Arduino's library, but it didn't show up when I restarted. So now I'm re-organizing the folders to a "save" folder and trying to start all over again. Seems if you have a folder called TouchScreen and you try to rename it TouchScreen 2 and then add a folder called TouchScreen, it won't show the new TouchScreen folder when you re-start. I was able to get the new TouchScreen folder to show if I completely changed the name of my original TouchScreen folder to something like DonotDelete.

Like I said, I've been killing myself over this for a few days and trying everything except what works.

I tried last week the files of the link posted by bmwnomad and all of them worked OK in my uno.

What I couldn't make work was the TFT BMP demo. I used the SD card shield of the same manufacturer
http://www.seeedstudio.com/depot/sd-card-shield-p-492.html?cPath=109 but I just got all sorts of scrambled pixels and colored vertical lines. I reported it to the seeedstudio forum but no answer yet.

Try Here For the good lib's and sketch demo's... They work well for Me.
http://henningkarlsen.com/electronics/library.php?id=52

Bob

bmwnomad:
I had the same problem. I did a search of the wiki site and found this:

http://www.seeedstudio.com/wiki/File:TFT_TouchScreen_for_Arduino_1.0.zip

Steve

Steve, Yes, this is one I've tried. It worked for you, so I'll try again! You didn't have to modify it any?

bmwnomad:
I had the same problem. I did a search of the wiki site and found this:

http://www.seeedstudio.com/wiki/File:TFT_TouchScreen_for_Arduino_1.0.zip

Steve

Steve, Tried that file again, thats the one the touch screen displays pressure on the serial monitor, but when attempting sketch_nov_08 I get error "XP" was not declared in this scope.

Docedison:
Try Here For the good lib's and sketch demo's... They work well for Me.
Electronics - Henning Karlsen

Bob

Hey Bob,

I did try this one also, a few days ago. Didn't work, don't know why. OH yeah, this is the one that works for the one I bought on E-bay!

I'm trying to put all these folders in the Arduino library and example folders just to make sure they are in the right place. I'll give this one a try again, load the folders in both examples and library folders for arduino...

Nope, white screen of death, but it does upload with no errors.

Got it working. I was only putting in the web address as http://www.seeedstudio.com/wiki/2.8''_TFT_Touch_Shield_V1.0 when it is http://www.seeedstudio.com/wiki/2.8''_TFT_Touch_Shield_V1.0#Resources

I added the files to the main Arduino folder, the library folder and the examples folder, just to make sure I had it where it is needed.

Thanks for all the help guys, now its time to play!! ]:smiley:

If you need a simple GUI library for the v1 SeeedStudio 2.8" TFT Touch Screen check out this lib I just put up:

http://code.google.com/p/touch-screen-menu-library/

also you can see a little video of it at:

Help I have everything working even with the sd card but the bit maps are all pixels not the images of the flowers :frowning: here is my code maybe it will help you guys

Seeed Touch Screen V1.0 from Radio Shack

the lib i got working is in the zip

TFTRadioShack.zip (607 KB)

piershaw:
Help I have everything working even with the sd card but the bit maps are all pixels not the images of the flowers :frowning: here is my code maybe it will help you guys

Seeed Touch Screen V1.0 from Radio Shack

the lib i got working is in the zip

  1. What LCD do you actually have, the Version 1 from Radio shack which doesn't have an SD card slot, or Version 2 from Seeed which does have an SD card slot?

  2. The libraries in your zip file are for the Version 1 LCD.

What library do you have 'working'? What do you mean by 'working'?

Regards,
-__-

I have the Arduino Uno Rev3 and on top of that i have the SD Card Shield V3.0 and on to of that i have Seeedino Touch Screen V1.0
I have all working apart but not together but seems like the lib files I have for the Seeedino Touch Screen V1.0 dont support bitmaps or sdcards not what i have anyway or i have to write my own C code to do this I made this PixelPainter app to make pixels code to copy and past there is a screen shot attached

Screen Shot 2013-10-20 at 8.37.33 AM.png

I have no experience with a separate SD card shield. Perhaps there is a pin conflict when the three items are connected together.

I did load the tftbmp.pde (changed to .ino) to my Arduino Uno rev 3 with Radio Shack LCD shield, however, it would not verify (Arduino 1.5.2b) - tons of errors. You said everything works apart...there is something I'm missing in your explanation.

Regards,
-__-

oh yeah I had a ton of errors I had to fix and tried 4 different lids from different websites finally i got it all working here is my code and files
//start

#include <stdint.h>
#include <TouchScreen.h> 
#include <TFT.h>

#ifdef SEEEDUINO
  #define YP A2   // must be an analog pin, use "An" notation!
  #define XM A1   // must be an analog pin, use "An" notation!
  #define YM 14   // can be a digital pin, this is A0
  #define XP 17   // can be a digital pin, this is A3 
#endif

#ifdef MEGA
  #define YP A2   // must be an analog pin, use "An" notation!
  #define XM A1   // must be an analog pin, use "An" notation!
  #define YM 54   // can be a digital pin, this is A0
  #define XP 57   // can be a digital pin, this is A3 
#endif 

//Measured ADC values for (0,0) and (210-1,320-1)
//TS_MINX corresponds to ADC value when X = 0
//TS_MINY corresponds to ADC value when Y = 0
//TS_MAXX corresponds to ADC value when X = 240 -1
//TS_MAXY corresponds to ADC value when Y = 320 -1

#define TS_MINX 140 
#define TS_MAXX 900
#define TS_MINY 120
#define TS_MAXY 940

int color = WHITE;  //Paint brush color

// For better pressure precision, we need to know the resistance
// between X+ and X- Use any multimeter to read it
// The 2.8" TFT Touch shield has 300 ohms across the X plate

TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300); //init TouchScreen port pins

void setup() {
                    
                Tft.init();  //init TFT library
                pinMode(0,OUTPUT);
	    	
        
                int screenWidth = 240; 
        	int screenHeight = 320;
        
                Tft.drawString("Test ",0,160,1,CYAN);
                Tft.fillRectangle(107,119,10,10,0xcc6600);
	      	
}

void loop() {

}
//end

notice what I included

#include <stdint.h>
#include <TouchScreen.h>
#include <TFT.h>

put the libraries in Arduino/libraries/
it should be the
TFT
TouchScreen
folders added

run and it should all work

TFTRadioShack.zip (607 KB)

Your original comment was that you couldn't get the flowers (.bmp files) to display correctly.

The code you have posted has nothing to do with displaying a .bmp on your LCD shield.

-__-

PS: Select your code then click on the # symbol to add code tags. This makes reading your code much easier.

Oh yeah I have to get the bitmaps working I will post if I do

I have been lurking around for a while and finally found the thread I was looking for!

Here is my situation:

I have an Arduino Uno.
I have a Radio Shack "SD Card Shield v3.1 by Seeed Studio"
I have a Radio Shack "2.8 TFT Touch Shield v 1.0 by Seeed Studio"

I have the Arduino libraries loaded for both devices. I can run the demos that came with both devices.
The problem is that when I connect the two devices together on the Uno, there is a pin conflict and it doesn't work.

Here is what I want to do:
I want to make some buttons for a menu system in .bmp format, which will need to be stored on an SD card. I want to be able to send these .bmp files to the TFT screen. I then want to read the position of the Touch Screen to see what button was pressed, so that I can update the menu.

My question is this:
Is it possible to use these two shields together? And, if so, what pin modification do I need to make. I can put everything on a proto board, if I need to, but, so far, I haven't been able to find a complete pinout of either board, nor have I been able to find out what pins the libraries are using.

Can someone direct me to this information, or give me a working example?

Thank you!!!

Here's the wiki and schematic for the SD Card:

http://www.seeedstudio.com/wiki/images/0/00/SD_Card_Shield.pdf

and here's the wiki for the TFT:

If you look at the wikis, you'll see they both use D10-D13, so you'll have to move one. Moving the LCD probably makes more sense given the SD card is using the SPI pins as an SPI interface. You can use D0,D1,D18,D19 instead, and modify the software accordingly.

Thanks for the wikis. I can move the pins on a breadboard, but where/how in the software do I redefine them?

Thanks again!