I have attached a photo of this card in the hopes that someone can identify it and maybe even point me in the right direction.
Can someone please point to where there is a step by step guide on this
Here is the code i use:
// Declare which fonts we will be using
extern uint8_t SmallFont[];
// Uncomment the next line for Arduino 2009/Uno
//UTFT myGLCD(ITDB32S,19,18,17,16); // Remember to change the model parameter to suit your display module!
// Uncomment the next line for Arduino Mega
UTFT myGLCD(HX8352A, 38,39,40,41); // Remember to change the model parameter to suit your display module!
void setup()
{
randomSeed(analogRead(0));
Serial.begin(115200);
// Setup the LCD
myGLCD.InitLCD();
pinMode(38, OUTPUT);
pinMode(39, OUTPUT);
pinMode(40, OUTPUT);
pinMode(41, OUTPUT);
myGLCD.lcdOn();
myGLCD.setFont(SmallFont);
myGLCD.setColor(0,255,255);
}
void loop()
{
//int buf[318];
//int x, x2;
//int y, y2;
//int r;
// Clear the screen and draw the frame
myGLCD.clrScr();
// myGLCD.setColor(0, 0, 0);
myGLCD.fillScr(255,0,0);
// myGLCD.fillRect(0, 0, 319, 199);
delay(1000);
// myGLCD.setColor(255, 0, 0);
myGLCD.fillScr(0,0,255);
// myGLCD.fillRect(0, 0, 319, 199);
delay(1000);
}
There are some inconsistencies in the eBay description...
They state that the display resolution is 320x480 and that it uses the HX8352-A TFT controller.
The HX8352-A only supports up to 240x480 resolutions (according to the datasheet)...
UTFT only supports 320x480 (or 480x320) with the ILI9481 controller.
If you are unable to make it work using either model code "CTE32HR" or "ILI9481" (they are the same), you will have to add a separate TFT driver for it...
homer-aust:
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
doc_norway:
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...
guix:
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.
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...
1: Its a driver problem
2: I have blown the display
I think I will go and get myself a "matched" display/shield combo and work from there.
Thanks everyone for your advice... im putting this display aside until I can eliminate the possibility that it is blown. Since I can only do that with another display I may as well get a shield to match it at the same time.
Weird. Maybe I'm wrong and this is no SSD1289 but I can't help you more than that. With the shield, If you want to free unused pins you will have to do something like this:
When it's finished I will post details how I did and what it does
I haven't actually tried... the application this is going in doesn't require a touch screen or sd card, only the screen. I should hook them up to see just for shits and giggles.