Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

Author Topic: tft lcd touch screen module interface?  (Read 24978 times)

0 Members and 1 Guest are viewing this topic.

George

  • Jr. Member
  • **
  • Posts: 73
Re: tft lcd touch screen module interface?
« Reply #15 on: November 12, 2012, 00:52:37 AM »
looking at the LCD/touch unit in the 1st post, it has an SSD1289 controller, in section 2 of the SSD1289 controller datasheet , it notes both  parallel interface AND SPI interface

probably need to find a post on the unit to see how easy OR NOT it was to work with.

cheerio

  • Sr. Member
  • ****
  • Posts: 306
Re: tft lcd touch screen module interface?
« Reply #16 on: November 12, 2012, 03:27:14 AM »
I am pretty certain that the spi interface is not available.
My display has the same Controller and i was not able to get to the SPI pins. They are not available on the Flex Connector and the Controller itself is impossible to access w/o destroying it.

George

  • Jr. Member
  • **
  • Posts: 73
Re: tft lcd touch screen module interface?
« Reply #17 on: November 12, 2012, 10:26:28 AM »
Here's a transistor interface for a 4 wire resistive touch screen for your reading pike
http://forum.allaboutcircuits.com/showthread.php?t=54635

_pike

  • Administrator
  • Full Member
  • *****
  • Posts: 182
Re: tft lcd touch screen module interface?
« Reply #18 on: November 12, 2012, 13:59:28 PM »
Alright!!!!!!!! Today i will make a purchase of it.....I don't really care if the connection would be paraller....(Since now) So can you provide me a initialization of it?Do you have a video of your working lcd????

George really helpfull i will have it in mind for future projects with touchpad interface!!!!.

cheerio

  • Sr. Member
  • ****
  • Posts: 306
Re: tft lcd touch screen module interface?
« Reply #19 on: November 12, 2012, 17:56:24 PM »
i did not make a video yet. the init sequence is in the code.
CLEAR_LCD_...   ->   Set the ... Pin low
SET_LCD_...       ->   Set the ... Pin High



   PORTD = (DH>>8);
   PORTF = (DH&0xFF);

        -> Port D and F are 8 pins each. I set the Port D for the high 8bit and the Port F for the low 8bit of the 16bit word.


Lcd_Write_Com_Data(X , Y); -> Write data Y to Register Adress X

Lcd_Write_Com(X);   ->   Write command X

delay_ms(X) -> wait for X ms (you can tweak the wait time but it does not make a big difference in the init stuff)

there is no need for a flowchart.
Check the datasheet. You do not have to init all the registers as i write the default value to some of them. I do this because i was experimenting with other values before.


I have some functions for Drawing as well. But i have to put in some comments before i post them.


Please make sure you use 3.3V VCC the Data pins are NOT 5V tolerant afaik

kam

  • Administrator
  • Hero Member
  • *****
  • Posts: 1849
Re: tft lcd touch screen module interface?
« Reply #20 on: November 12, 2012, 20:28:22 PM »
 8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8)
I'M WAITING THE FIRST ONE WHO WILL DEVELOP THE SERIAL TO PARALLEL INTERFACE...
 8) 8) 8) 8) 8) 8) 8) 8) 8) 8) 8)

Who will be the first and most complete - Place bets, AVR or PIC???

cheerio

  • Sr. Member
  • ****
  • Posts: 306
Re: tft lcd touch screen module interface?
« Reply #21 on: November 12, 2012, 20:51:58 PM »
dunno. but who will be the best?
CPLD/FPGA ^^
it should have a data buffer that can be filled and then highspeed send to the display. i think you can get the 50hz then ... if the display can handle it