FIXED: SSD1963 controller with 7" TFT (horizontally mirrored image)

I still can't get touch to work.

I can get the TFT and SD to work....

UTFT        myGLCD(CTE70);   // Remember to change the model parameter to suit your display module!

This starts up the TFT fine, the line definitions seem to be set up by CTE's library

I'm using the following line for the touch library but can't be absolutely sure I have the lines correct.

UTouch      myTouch(6,5,32,3,2);

Anybody know what they should be for the CTE shield. I think they are right but could just do with checking.

Hello, I am new to the forum and have a problem that may be directly related. I am not a programmer even though I have been doing it as a hobby for many years. mostly machine language and Visual Basic. Although it's been many years since I've done any machine language programming. Very little in C/C++.
I'm using an Arduino due, adapter shield and a 7 inch TFT display. The same display described here.
Generally my display works correctly but with two exceptions. When using the "PrintnNumF" and "PrintnNumI" function I have to declare the font before I use the function. It gives me an error whenever I use the fonts supplied with the display. I can use the UTFT fonts supplied with the drivers, but the fonts come out mirrored, however the order is correct. The fonts that are supplied with the display work correctly for all other print statements. The UTFT are in the correct order but the individual fonts are mirrored regardless of which print statement I use.

My projects, a "Arduino based DRO" needs to display formatted numbers. And the UTFT fonts a bit small for the application anyway. I need to know how to use the set font function with the fonts supplied with the display.

Anyone else observed this problem

Any help will be greatly appreciated.

promacjoe.

promacjoe:
Hello, I am new to the forum and have a problem that may be directly related. I am not a programmer even though I have been doing it as a hobby for many years. mostly machine language and Visual Basic. Although it's been many years since I've done any machine language programming. Very little in C/C++.
I'm using an Arduino due, adapter shield and a 7 inch TFT display. The same display described here.
Generally my display works correctly but with two exceptions. When using the "PrintnNumF" and "PrintnNumI" function I have to declare the font before I use the function. It gives me an error whenever I use the fonts supplied with the display. I can use the UTFT fonts supplied with the drivers, but the fonts come out mirrored, however the order is correct. The fonts that are supplied with the display work correctly for all other print statements. The UTFT are in the correct order but the individual fonts are mirrored regardless of which print statement I use.

My projects, a "Arduino based DRO" needs to display formatted numbers. And the UTFT fonts a bit small for the application anyway. I need to know how to use the set font function with the fonts supplied with the display.

Anyone else observed this problem

Any help will be greatly appreciated.

promacjoe.

I would suggest a new thread would be more appropriate as this question had nothing to do with the original post.

sorry to bring this back up but looking for update, i have the due with shield and 7" display as featured on ebay, i got the demo running, but it is mirrored reversed too.

what is the easiest current method to correct this ?

edit** this is not needed and not complete fix. all i had to do was use CTE70 not CTE50 as model selection (as after all i have a 7" model

i worked it out from your example and the datasheet, the library has changed a bit in layout so this is how you fix it now:

line 48 of \UTFT\tft_drivers\ssd1963\800\initlcd.h

change

	LCD_Write_DATA(0x0F);		//GPIO[3:0] out 1

to

	LCD_Write_DATA(0x0E);		//GPIO[3:0] out 1

haydent:
sorry to bring this back up but looking for update, i have the due with shield and 7" display as featured on ebay, i got the demo running, but it is mirrored reversed too.

what is the easiest current method to correct this ?

after getting the lcd working i too have tried to get the touch panel working.

i traced the lines with a multimeter and
UTouch myTouch(6,5,32,3,2);
or
UTouch myTouch(6,5,4,3,2);

seem correct, as 32 and 4 are connected in the shield CTE v1.04 i have

edit T_BUSY is not used by myTouch function...

the problem i believe is that the T_BUSY line (touch IC pin 13) in my lcd is not connected to the lcd 40 pin header.

this is delibrate as it matches the schematic diagrams i recieved with the module. though why it is the case i do not know. i believe this variant of the lcd module is a knock off of the CTE version, as they have said to me. thus it has problems like mirrored image, and they also say it doesnt actually have the font IC

any way im going to look into what this line does and if we can do with out it...

i feel silly, i had wrong model chosen

should be CTE70 not CTE50 for 7" display.

now i dont need the mirror fix as it was upside down as well and red wasnt displaying. this fixes it all

and my touch is working now for what ever reason

UTFT myGLCD(CTE70,25,26,27,28);
UTouch myTouch(6,5,4,3,2);

i had the same mirrored problem as you all have had, looking through the data sheet we found that the library for the ssd1963_800 has one line which sets the display mirrored or normal

this is from initlcd.h

	LCD_Write_COM(0x36);		//rotation
	LCD_Write_DATA(0x22);

to change just the mirror bit, change this out to:

	LCD_Write_COM(0x36);		//rotation
	LCD_Write_DATA(0x20);

(if it doesn't work, make sure arduino is actually reading from that library, which took me about 3 hours to figure out)

however i cannot get the touch screen to work. i'm using the TFT shield from elecfreaks

edit
touch screen was a hardware issue (though i don't know what the problem was, maybe a pin making poor contact)
only thing left to fix is the screen isn't displaying red
any ideas on this last issue?

edit 2
got the red sorted out thanks to another post i found on here,

had to change

	LCD_Write_COM(0xB0);		//LCD SPECIFICATION
	//LCD_Write_DATA(0x24);		//default

to

	LCD_Write_COM(0xB0);		//LCD SPECIFICATION
	//LCD_Write_DATA(0x14);		//7" tft

other users have mentioned using 0x04 instead of 0x14, but i had poor color display for small fonts (mainly, yellow tried to display in two colors)

pretty happy with this screen now!

Mr.Cowasaki

I done what you said about myGLCD.Swtich_LCD_TB_Bit(1); but it is giving error

"Arduino: 1.5.6-r2 (Windows 8), Board: "Arduino Due (Programming Port)"

UTFT_Demo_800x480.ino: In function 'void loop()':
UTFT_Demo_800x480:46: error: 'class UTFT' has no member named 'Swtich_LCD_TB_Bit'

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Still I dont know how can I correct this mirror effect on my screen

sorry I am a new user of arduino may be there is very simple solution I need help !!!

Thanks everybody

Hello !

I´ve got an working sketch on an 3.2" TFT Display with an IBT chip on it and
at the moment i try to transfer this to an 7" Display with an SSD1963 controller
onboard. its connected to an Arduino Mega Rev3 via shield.
I ´am using the great Libraries from Henning Karlsen which are quite easy to handle,
but now i´ve got some problems.
First it was this mirror thing and the white color which was not really "white".
After the post of isaac_alaksa :

LCD_Write_COM(0x36); //rotation
LCD_Write_DATA(0x22);

LCD_Write_COM(0x36); //rotation
LCD_Write_DATA(0x20);

I was able to solve this, so thank you isaac !

My last problem is about reading the SD Card.
I Use the UTFT_tinyFAT library of Henning Karlsen and that worked fine on my old 3.2" Display
but now I cant get a Picture on the new display.
Does anybody know how to fix this ?

Greetings and thank you,
Moritz

-- It´s my first post so I´am new at the Forum but actually quite fit in programming

Hi Guys

This is my first post to return all the help I have recieved over the last 2 years. Thanks guys! I can see this is an old thread but I managed a simple fix without diving into the deeper code.

I fixed the reverse image issue by checking out the documentation from Rinky Dink electronincs, there is a table of compatible displays and a list over which controller to select. I selected the CTE70 controller for my 7" dipslay in the line just before void setup in the demo example.

So I went from

// Remember to change the model parameter to suit your display module!
UTFT myGLCD(ITDB50,38,39,40,41);

to

// Remember to change the model parameter to suit your display module!
UTFT myGLCD(CTE70,38,39,40,41);

I hope that helps.

Alistair