Go Down

Topic: SainSmart 3,2" TFT LCD Display, how to connect to an Arduino UNO? (Read 3777 times) previous topic - next topic

Tomybyte

Aug 07, 2012, 07:01 pm Last Edit: Aug 07, 2012, 07:11 pm by Tomybyte Reason: 1
Hi,

I've got the SainSmart 3,2" TFT LCD Display: http://www.amazon.com/SainSmart-Display-Touch-adapter-Arduino/dp/B008FWSG3S/ref=sr_1_sc_1?ie=UTF8&qid=&sr=8-1-spell&keywords=SainSmart+3.2%22+TFT+LCD+Modul

Also I've got the information that it may be connected to an Arduino UNO.

Is there anyone who has an idea how to do that and how it can be programmed. SainSmart got me no details.

Thank you.

Tom

madz

I dont have an UNO, however the documentation shows the pinout. It shouldnt be hard to wire it up. They also likely have a shield for that LCD module

Docedison

Go get the UTFT library it works with that LCD... I believe if it's a TFT01 or 02 that lib will work (Does for me with a Mega shield) I have an Uno shield but I haven't had time to try it yet. I just D/L'ed the libs and copied them into the lib folder compiled and ran the sketch called UTFT_Demo_320 X 240. RTFM Read That Fine Manual, it's full of useful stuff including drawings and pinouts as well as a list of LCD controllers it works with and hhow to use them. Henning is to the best of my knowledge very approachable about his work... I have yet to see any complaints.

Doc
--> 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

Tomybyte

Thank you for your hints. I found information on sainsmart.com about the modul and a ITDB02_Graph16_Demo_Landscape.pde and just downloaded the UTFT library and will check that.

Tom

madz

On the Mega (using SainSmarts shield) I had to modify examples a little bit to work properly with the UTFT and ITDB Touch libraries. But as long as you follow the suggest pin out, it should be good.

The pinout for the Graphics on UNO shields is
LCD_RS   19         
LCD_WR   18     
CD_CS   17       
CD_REST 16

And Touch pin are as follows I believe.
DCLK     15
CS       10 
DIN      14
DOUT     9
IRQ      8

This is purely speculative based on the examples that were included.

Here is the pinout from the documentation.

Docedison

Thats funny because the sketch from UTFT for the 320 X 240 display compiled and worked Perfectly on my mega... I gueess because it either is the itead shield or a good copy? but mine looks great.

Doc
--> 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

madz

The examples compiled on mine as well, provided that I uncommented the lines pertaining to the mega. It sounds like the OP isnt using a shield though so I was just providing the pinout.

Docedison

And I thank you for the information as well because I need it for something I am doing as well.\

Doc
--> 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

Go Up