Pages: [1]   Go Down
Author Topic: Connecting tft screen to arduino uno r3  (Read 4583 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley
« Last Edit: February 04, 2013, 11:38:10 am by artursm15 » Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 106
Posts: 3769
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A picture and link to your LCD screen would be helpful.
Logged

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

Offline Offline
God Member
*****
Karma: 27
Posts: 829
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Queens, New York
Offline Offline
Faraday Member
**
Karma: 106
Posts: 3769
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

latches? You mean shift registers?
Logged

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

Offline Offline
God Member
*****
Karma: 27
Posts: 829
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Queens, New York
Offline Offline
Faraday Member
**
Karma: 106
Posts: 3769
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

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

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

Queens, New York
Offline Offline
Faraday Member
**
Karma: 106
Posts: 3769
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: February 04, 2013, 07:25:20 pm by HazardsMind » Logged

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

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

Solved thank you guys for help !
Logged

Narvik, Norway
Offline Offline
Edison Member
*
Karma: 24
Posts: 1042
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've got same kind of display..

Solution is ???  Which library and testcode ??
Logged

Ny

Melbourne, Australia
Offline Offline
Jr. Member
**
Karma: 6
Posts: 93
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

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

someone who arrived at a solution?
Logged

Pages: [1]   Go Up
Jump to: