Go Down

Topic: arduino mega 2560 and the hy-tft320 or hy-3.2tft display problem (Read 2 times) previous topic - next topic

guix

This is the same 40 pins connector as many others displays. I believe your display uses SSD1289 controller. You can probably use this shield to link the Arduino mega and the display: http://www.sainsmart.com/arduino-compatibles-1/lcd-module/sainsmart-tft-lcd-adjustable-shield-for-arduino-mega-2560-r3-1280-a082-plug.html

If you want to try without this shield, then you must wire like this:

DB0 -- 10 Kohms resistor -- D37
DB1 -- 10 Kohms resistor -- D36
DB2 -- 10 Kohms resistor -- D35
DB3 -- 10 Kohms resistor -- D34
DB4 -- 10 Kohms resistor -- D33
DB5 -- 10 Kohms resistor -- D32
DB6 -- 10 Kohms resistor -- D31
DB7 -- 10 Kohms resistor -- D30
DB8 -- 10 Kohms resistor -- D22
DB9 -- 10 Kohms resistor -- D23
DB10 -- 10 Kohms resistor -- D24
DB11 -- 10 Kohms resistor -- D25
DB12 -- 10 Kohms resistor -- D26
DB13 -- 10 Kohms resistor -- D27
DB14 -- 10 Kohms resistor -- D28
DB15 -- 10 Kohms resistor -- D29

GND -- GND
VCC -- 5V
RS -- 10 Kohms resistor -- D38
WR -- 10 Kohms resistor -- D39
RD -- 10 Kohms resistor -- 3.3V
CS -- 10 Kohms resistor -- D40
RSET -- 10 Kohms resistor -- D41
LEDA -- 220 ohms resistor -- 3.3V

Then for UTFT use myGLCD(ITDB32S, 38,39,40,41);

doc_norway


I believe your display uses SSD1289 controller.


This is not very likely as the display is advertised as being 320x480. The SSD1289 only supports up to 240x320...

--> And this is why I would never buy stuff like this from vendors who do not supply example code.

/Henning

guix


If you have a look at the pin out in the picture and notice how the pin outs on the diagrams below it differ...


I don't see any difference, they are just different in that one is seen from below the display and the other one from above the display


This is not very likely as the display is advertised as being 320x480. The SSD1289 only supports up to 240x320...


I can't view the item on that ebay link. But the name of his display is TFT320, so I suppose this is 320x240 not 480x320, else the name would have been TFT480 or something...

doc_norway


I can't view the item on that ebay link. But the name of his display is TFT320, so I suppose this is 320x240 not 480x320, else the name would have been TFT480 or something...


I agree that the name suggests a 320x240 display but the auction title is "1PC New 3.2" 320x480 TFT LCD Module Display + Touch Panel + PCB Adapter", and they also mention twice more in the description that the resolution is 320x480. But they also say that the controller chip is a HX8352-A and that controller does not support anything larger than 240x480 so it is really anybodys guess.

Without proper documentation or example code it is impossible to say what this actually is. My guess would be that the eBay vendor does not know what the heck they are selling.

/Henning

homer-aust

Thanks heaps guys for your comments and suggestions

This has given me a fresh path to go on with and hopefully i can come back with some good news.

I actually think this is quite funny...  of all the 3.2" displays I had to choose from, I picked the one with little to no documentation.  go figure...


I would much prefer to NOT use a shield as the arduino will be used for other things and as such will need a custom built shield but I there is no other way then I will get one.  Thats why I chose this display because all the (obviously bad) research suggested that it could be run directly off of the mega...

guix, I will try your idea now...

Many thanks all

Go Up