Pages: [1]   Go Down
Author Topic: Mega 2560 and Sainsmart 3.2" tft lcd wiring  (Read 3291 times)
0 Members and 1 Guest are viewing this topic.
Forest, VA.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am looking for some information on wiring an Arduino Mega 2560 to a Sainsmart 3.2" tft lcd. I have the pin out for the display, and a chart that came with the libraries. With them I have the data side connected, I just need to find out what pins on my Mega to hook up the SD and the touch screen parts of the display.
Logged

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

The information for the touch is in Touch Button Test... among other places.
// Uncomment the next two lines for the ITDB02 Mega Shield
//ITDB02        myGLCD(38,39,40,41);   // Remember to add ASPECT_16x9 if you are using an ITDB02-3.2WC!
//ITDB02_Touch  myTouch(6,5,4,3,2);
If you look around here and in the playground I'm reasonably sure you will find the SD card stuff too.

Doc
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

Forest, VA.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you Doc. I will be able to give it another go in a few days when I get some time. Now that you have pointed me in the tight direction I'm sure I will be able to find the information for the SD slot.
Logged

Offline Offline
Full Member
***
Karma: 2
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I understood you correctly, you're not using the proprietary mega-shield for this lcd?

I'm also wondering what this statement from sainsmart's ebay auctions tells us about the SD card function?
 
Quote
It is the version of product only with touch screen and touch controller.
Logged

It's not my fault when my Posts are full of Errors. This stupid autocorrection from my browser is set up for german grammar.

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

Edit... Yes I am using an ElecFreaks interface board, it's the same as the Itead one.
Yes, SainSmart would charge extra for wet water... You can bet they would point out any 'extra' functionality and increase the price accordingly. Be aware that some of the displays might not be 5V tolerant. The Shield has 20K resistors in series with 24 of the lines from from the 40 pin connector. I do have one connected with a 40 pin male to male 'dupont' 8" ribbon cable though, a 3.2" running a modified demo sketch that looks real good. I did it because the mega is worthless until you get the display off board so you can access the pins from the mega.

Doc
« Last Edit: September 15, 2012, 08:40:15 pm by Docedison » 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

Offline Offline
Full Member
***
Karma: 2
Posts: 213
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can still contact the unused ports from the mega through the 'extra'-shield. They were smart enough to put through-holes on the right places...
Good to hear the lcd works with a ribbon cable. I wonder how long it could be?
Too bad the good old PC-ATA cables don't match.
Logged

It's not my fault when my Posts are full of Errors. This stupid autocorrection from my browser is set up for german grammar.

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

Some had that odd pin and a slot in the housing to a rectangular key to insure that the cable wasn't upside down, they were changed on the late 90's as I remember to the 'missing pin' configuration.

Doc
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

Pages: [1]   Go Up
Jump to: