Go Down

Topic: Need help with wiring mega on TFT (Read 199 times) previous topic - next topic

t0r30rs

Greeatings .

I will make some shild for mega .
I buy one tft displa 3.5 '' with ili 9488 mcu.
My tft have 50 pin zif connector.
I dont know which interface i can use paralel or serial .
Have someone some diagram for my schematic how can i wire mega on with
tft .
Link for tft is http://www.buydisplay.com/default/serial-spi-3-5-inch-tft-lcd-module-in-320x480-optl-touchscreen-ili9488

Thank you

david_prentice

#1
Mar 20, 2017, 04:09 pm Last Edit: Mar 20, 2017, 04:10 pm by david_prentice
You should buy Display + Adapter Shield and then it will plug directly into your Mega or Due.

Yes,  you could buy the bare screen with the bare flexi-ribbon.
You would have to design your own pcb for the 50-pin ZIF connector for the ribbon.
The pcb would need 21 level-shifter channels for parallel or about 6 level-shifters for serial
because your Mega2560 is 5V and the screen is 3.3V

BuyDisplay provide schematics for their Adapter Shields.
And general advice on interfacing displays.

I strongly advise you to buy their Adapter Shield.   From memory,  the Adapter arrives with support for Serial.
If you want to use Parallel,  you must mount the level-shifter chips and associated capacitors.

David.

t0r30rs

You should buy Display + Adapter Shield and then it will plug directly into your Mega or Due.

Yes,  you could buy the bare screen with the bare flexi-ribbon.
You would have to design your own pcb for the 50-pin ZIF connector for the ribbon.
The pcb would need 21 level-shifter channels for parallel or about 6 level-shifters for serial
because your Mega2560 is 5V and the screen is 3.3V

BuyDisplay provide schematics for their Adapter Shields.
And general advice on interfacing displays.

I strongly advise you to buy their Adapter Shield.   From memory,  the Adapter arrives with support for Serial.
If you want to use Parallel,  you must mount the level-shifter chips and associated capacitors.

David.
http://www.buydisplay.com/arduino/ER-AS-ILI9341-Arduino-Schematic-Diagram.pdf ON this link are diagrams for ili9341 with paralel and serial interface .

Can you explane me how can i wiring with serial interface my tft , which signal i must use on my 50 pin conector ?

david_prentice

#3
Mar 21, 2017, 08:57 am Last Edit: Mar 21, 2017, 09:02 am by david_prentice
The PDF shows you JP3 (3x2 ISP header) on the Arduino for LCD_SCLK, LCD_SDI, LCD_SDO. 
And JP4 has IO7, IO9 for LCD_DC, LCD_CS.

Most importantly,  you can see how U3  (74LV245) is wired.   There are alternatives e.g. 74VHC245.

Are you confident to design your own pcb?
Are you prepared to pay the cost of your own pcb?

If you intend to manufacture 1000s of products,  I suggest that you ask for some professional help with the pcb design.

If you only have one or two displays,  just buy the ready-made Shields.

Oh,  the PDF seems to show JP1 as a 20x2 header.   Does your display really have a 50-way ribbon?  Or is it a 40-way ribbon?

David.

t0r30rs

The PDF shows you JP3 (3x2 ISP header) on the Arduino for LCD_SCLK, LCD_SDI, LCD_SDO. 
And JP4 has IO7, IO9 for LCD_DC, LCD_CS.

Most importantly,  you can see how U3  (74LV245) is wired.   There are alternatives e.g. 74VHC245.

Are you confident to design your own pcb?
Are you prepared to pay the cost of your own pcb?

If you intend to manufacture 1000s of products,  I suggest that you ask for some professional help with the pcb design.

If you only have one or two displays,  just buy the ready-made Shields.

Oh,  the PDF seems to show JP1 as a 20x2 header.   Does your display really have a 50-way ribbon?  Or is it a 40-way ribbon?

David.
First you see which Display I order , they have 50 pins zif conector.
I have only problem with wiring my display and mega ,
I make zif connector in altium you can see on photo http://imgur.com/a/ZYYsp
But problem is which signal I use on this 50 pins zif

david_prentice

You bought it.  You can find the pinout of your 50-way ribbon.   
I will tell you what the Signal Names mean.

David.

t0r30rs

You bought it.  You can find the pinout of your 50-way ribbon.   
I will tell you what the Signal Names mean.

David.
http://www.buydisplay.com/download/manual/ER-TFT035-6_Datasheet.pdf

Page 8 and 9 are pinout of my tft .

david_prentice

From the ER-TFT035-6 PDF:

7 = IM0 (hi)   i.e. IM# = 0b111 for 4-line SPI interface
8 = IM1 (hi)
9 = IM2 (hi)

33 = SDO (MISO)
34 = SDA (MOSI)
36 = SCL (SCK)
37 = DCX (DC)
38 = CSX (CS)

Seriously,  if you are not able to find these things for yourself,   it is unwise (tm) to attempt anything so complex.    Ask your teacher or employer for help.

You would inspire more confidence if you said which chip you will use for level-shifting.

David.

t0r30rs

From the ER-TFT035-6 PDF:

7 = IM0 (hi)   i.e. IM# = 0b111 for 4-line SPI interface
8 = IM1 (hi)
9 = IM2 (hi)

33 = SDO (MISO)
34 = SDA (MOSI)
36 = SCL (SCK)
37 = DCX (DC)
38 = CSX (CS)

Seriously,  if you are not able to find these things for yourself,   it is unwise (tm) to attempt anything so complex.    Ask your teacher or employer for help.

You would inspire more confidence if you said which chip you will use for level-shifting.

David.
http://imgur.com/a/YcS3X

I think thats it ?

david_prentice

I would be a lot happier if you included level-shifters.   And a pullup for the Reset line.   (with Reset being under program control via a level-shifter)

You have given NO indication that you will provide level-shifters.   So I will give no further advice.   

David.

t0r30rs

I would be a lot happier if you included level-shifters.   And a pullup for the Reset line.   (with Reset being under program control via a level-shifter)

You have given NO indication that you will provide level-shifters.   So I will give no further advice.   

David.
I do that , i think now is ok?

My reset is on mega like pull up
http://imgur.com/a/eObMP

Go Up