Newhaven Display Forum

Newhaven Products => TFTs => Topic started by: Alias_Alias on January 20, 2015, 06:37:23 AM

Title: Example Arduino Code for the NHD-4.3-480272EF-ATXL#-CTP
Post by: Alias_Alias on January 20, 2015, 06:37:23 AM
Hello,

i have buy the NHD-4.3-480272EF-ATXL#-CTP.
Now I would like to add the NHD-4.3-480272EF-ATXL#-CTP to an Arduino. You have great Code for many of your Displays under http://www.newhavendisplay.com/exprog_page.html. First i would like to say thanks for that.
But I think I'm write that you not have not a code for the NHD-4.3-480272EF-ATXL#-CTP. You have Code for the HX8369 controller. But the new display have the HX8257.

Can you help me a little bit what I must change ?
I thing I must change data_out_16bit to a 24bit.
That is not so hard I think.
But I'm really not Shure about Init_HX8369A to Init_HX8369. Can you help me here a little bit or show me what I must read to understand the code. I have read a little bit of the Documentation of the HX836, but I don't

Have a nice day
Title: Re: Example Arduino Code for the NHD-4.3-480272EF-ATXL#-CTP
Post by: Michael_L on January 21, 2015, 07:53:47 AM
You are referring to the incorrect example code link.  Please see below:

http://www.newhavendisplay.com/app_notes/Arduino_nhd-4_3-480272EF.txt (http://www.newhavendisplay.com/app_notes/Arduino_nhd-4_3-480272EF.txt)

Please note that this is example code for the display when used with our NHD-4.3-480272MF-20 or NHD-4.3-480272MF-20 (uses the SSD1963 controller).  The TFT panel without a controller does not require any initialization code, as there is no controller to initialize.  TFT panels without controllers are like monitors that accept a digital RGB interface, basically like digital VGA.  You would either need an MCU that has the proper signals/drivers for a TFT display, or you would need to use an external TFT controller.
Title: Re: Example Arduino Code for the NHD-4.3-480272EF-ATXL#-CTP
Post by: Alias_Alias on January 21, 2015, 12:52:18 PM
You are referring to the incorrect example code link.  Please see below:
......

Ok thanks first.
Maybe i have thought wrong but I would like to add the TFT panel NHD-4.3-480272EF-ATXL#-CTP to my Arduino Due directly.
Maybe this is not Possible, but this is why I asked here. I would add the TFT panel NHD-4.3-480272EF-ATXL#-CTP to NHD-FFC40 and then to the Arduino Due.

I have made a little Picture how i think i can add it.
Sorry, but the Images are to big for this Forum. That's why i have put them in my dropbox.
https://www.dropbox.com/s/uxkyzqvneis6kf6/ArduinoDueToFFC.gif?dl=0
https://www.dropbox.com/s/100gfe0rr6qndoj/ArduinoDueToFFC_Schematic.gif?dl=0

Maybe you can look at it and tell me that this is possible or this is impossible, because ....
I would love if you can give me a little more explanation about the PIN 32 HSYNC and PIN 33 VSYNC.
I'm also not realy sure about the Clock. What does the PIN 30 stand for?

Thanks a lot.
Title: Re: Example Arduino Code for the NHD-4.3-480272EF-ATXL#-CTP
Post by: Michael_L on January 23, 2015, 09:45:00 AM
You can use the Arduino with the display but you will need a TFT controller.  It is not capable of driving it by itself.
For information on TFT interface signals, I would recommend you do some research via the Internet.  It is not something simply explained in a forum post.  Here's one link I found that has information on these signals, however there are many others:

http://www.nxp.com/wcm_documents/techzones/microcontrollers-techzone/Presentations/graphics.lcd.technologies.pdf (http://www.nxp.com/wcm_documents/techzones/microcontrollers-techzone/Presentations/graphics.lcd.technologies.pdf)