Go Down

Topic: Connecting tft screen to arduino uno r3 (Read 4 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.
Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

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

Created Libraries:
TFT_Extension, OneWireKeypad, SerialServo, (UPD)WiiClassicController, VWID

Retroplayer

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

Go Up