Go Down

Topic: Connecting tft screen to arduino uno r3 (Read 5199 times) previous topic - next topic

artursm15

Feb 04, 2013, 05:27 pm Last Edit: Feb 04, 2013, 05:38 pm by artursm15 Reason: 1
Hi there today i received my new tft screen but it seems that u cant connect it in easy way so maybe someone could help me with it ?

2.4 inch TFT LCD Module Screen 240 x 320 Pixels ILI9325 Arduino Compatible

i got it from ebay

datasheet : http://www.newhavendisplay.com/app_notes/ILI9328.pdf
some pictures :
http://i36.tinypic.com/2rxijus.jpg
http://i38.tinypic.com/29gmtzp.jpg
http://i34.tinypic.com/23j3m2r.jpg

oh and i have sensor shield v5.0 to maybe its possible to connect that lcd to that shield !?
can someone please help me with this  its my first arduino and i have no idea what  to do :)

HazardsMind

A picture and link to your LCD screen would be helpful.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Retroplayer

It looks like the controller has an I2C and SPI interface mode, but that is not enabled on your LCD. However, there is an SPI interface to the SD card and Touchscreen as well as CS for the display being brought out. Would have been so much simpler if they had just made it a common SPI bus with individual CS lines for the display, SD, and touchscreen.

The SPI mode of the controller is set by setting the IB pins high or low. I would investigate modifying the circuit if I were you. I couldn't advise you directly what to do because the pictures do not show what I would need to see, but first find if the IB pins are brought out somewhere so that you can change them to SPI mode, then look to see if the SCLK, DI, and DO lines are brought out somewhere (probably share a DB pin) Then connect them all together for a single SPI bus, and use the CS lines to pick which devices you are communicating with. 6 lines total would give you access to an SD card, LCD, and touchscreen.

Otherwise, you are not going to have enough IO on the Uno to control that screen. Well, at least not without using latches.

HazardsMind

My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Retroplayer

No. Latches, to expand an 8 bit data bus to a 16 bit data bus. You latch the upper byte.

HazardsMind

Your right, I was thinking of something else.

OP, there are TFT screens that are plug and play, and arduino compatible, why didn't you get one of those? The SD card slot is for a micro though, not the regular one like you have.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

artursm15


Your right, I was thinking of something else.

OP, there are TFT screens that are plug and play, and arduino compatible, why didn't you get one of those? The SD card slot is for a micro though, not the regular one like you have.

can u give me some of the models of thous tft screens ? its just im searching for some tft screen ho don't take all the pints ! or maybe there is some witch one i could just connect to my sensor shield v 5.0 !

HazardsMind

#7
Feb 04, 2013, 11:49 pm Last Edit: Feb 05, 2013, 01:25 am by HazardsMind Reason: 1
Do you have an UNO or Mega?

I looked for some TFT lcds but it depends on what pins you need.

This one can go on an UNO but it uses all the pins, however it can also be used on a Mega, and you would still have the other end pins.
http://www.ebay.com/itm/ATMEGA328P-ATmega16U2-2-6-TFT-LCD-Shield-w-Touch-Screen-for-Arduino-UNO-R3-A133-/251201079188?pt=LH_DefaultDomain_0&hash=item3a7cc04794
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

artursm15


knut_ny

I've got same kind of display..

Solution is ???  Which library and testcode ??
Ny

tronixstuff


I've got same kind of display..

Solution is ???  Which library and testcode ??



This may be of interest:
http://tronixstuff.wordpress.com/2013/04/26/tutorial-arduino-and-ili9325-colour-tft-lcd-modules/
Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

tobba__1990


Go Up