Pages: [1] 2   Go Down
Author Topic: Seeedino Touch Screen V1.0 from Radio Shack  (Read 6311 times)
0 Members and 1 Guest are viewing this topic.
Wisconsin
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't seem to find the library and Sketch to get this working.

The screen is here: http://seeedstudio.com/wiki/2.8''_TFT_Touch_Shield

The link http://seeedstudio.com/wiki/File:TFT%26TouchScreen_libraries.zip is not a valid link. There are no files there. So I went with http://seeedstudio.com/wiki/images/2/29/Tft_touch_libraries_11252011.zip, which has TFT and TouchScreen files. I deleted ALL files in my Arduino folder and just added the two files, but the TouchScreen file does not display in the Arduino program after restarting, and the TFT sketch will come up with lots of errors when verifying.

I also tried downloading the files at https://github.com/adafruit/Touch-Screen-Library, which contains Touch_Screen_Library_Master. This has an example called Touchscreendemo which works in that it will display data on the Serial Monitor, but only the pressure changes. X = 1023 Y = 0 Pressure = 249. There is no display. The display will light up connected to a UNO, but not when connected to the MEGA.

The errors I get trying to run a Uno with the sketch_nov08a is...

C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'unsigned char TFT::getData()':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:43: error: 'delay' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::init()':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:140: error: 'delay' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::setXY(unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:393: error: 'constrain' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::drawLine(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:453: error: 'abs' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::drawVerticalLine(unsigned int, unsigned int, unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:475: error: 'constrain' was not declared in this scope
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp: In member function 'void TFT::drawHorizontalLine(unsigned int, unsigned int, unsigned int, unsigned int)':
C:\Download\Setup_Files\arduino\arduino-1.0.1-windows\arduino-1.0.1\libraries\TFT\TFT.cpp:493: error: 'constrain' was not declared in this scope


I have a couple of Uno's and MEGA's, so any suggestions?


« Last Edit: November 08, 2012, 05:26:20 pm by f16bmathis » Logged

"A fuel and his money are soon parted"

Leeds, England
Offline Offline
God Member
*****
Karma: 16
Posts: 759
Was it supposed to do that?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

A link to the screen itself would be handy so people don't have to go searching for it to see which one you have?
Logged

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

Wisconsin
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The screen is here http://seeedstudio.com/wiki/2.8''_TFT_Touch_Shield Its also where you find the links as I showed above.
« Last Edit: November 08, 2012, 05:29:14 pm by f16bmathis » Logged

"A fuel and his money are soon parted"

Offline Offline
Newbie
*
Karma: 1
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Wisconsin
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"A fuel and his money are soon parted"

Venezuela
Offline Offline
God Member
*****
Karma: 17
Posts: 523
Ground, ground, always ground
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 48
Posts: 2935
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Wisconsin
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

"A fuel and his money are soon parted"

Wisconsin
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"A fuel and his money are soon parted"

Wisconsin
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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.
« Last Edit: November 09, 2012, 12:29:50 am by f16bmathis » Logged

"A fuel and his money are soon parted"

Wisconsin
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Got it working. I was only putting in the web address as http://www.seeedstudio.com/wiki/2.8%27%27_TFT_Touch_Shield_V1.0 when it is http://www.seeedstudio.com/wiki/2.8%27%27_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-twist
Logged

"A fuel and his money are soon parted"

Offline Offline
Newbie
*
Karma: 1
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:

http://www.youtube.com/watch?v=sOUUsHCkTHI&feature=youtu.be
« Last Edit: November 22, 2012, 05:32:25 pm by zparticle » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Help I have everything working even with the sd card but the bit maps are all pixels not the images of the flowers smiley-sad 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 (606.98 KB - downloaded 57 times.)
« Last Edit: October 19, 2013, 02:21:12 pm by piershaw » Logged

Pennsylvania
Offline Offline
Newbie
*
Karma: 0
Posts: 41
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Help I have everything working even with the sd card but the bit maps are all pixels not the images of the flowers smiley-sad 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,
-__-
Logged

Software's good, software's impressive, but it's hardware that does the work.

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 (18.34 KB, 241x415 - viewed 50 times.)

* test.jpg (66.65 KB, 600x450 - viewed 66 times.)
« Last Edit: October 20, 2013, 05:25:56 pm by piershaw » Logged

Pages: [1] 2   Go Up
Jump to: