Arduino Due + TFT LCD

Hola everyone! Im total noob and new to arduino, but love it from first site) so sorry for stupid questions, but I’m totally stuck.
Idea was to build small environment controller on due + tft lcd touch. I succeed with sensors, next step for me to make all necessary data to be on display.
i got mcufriend 2.4" TFT LCD shield and arduino lcd. I decided to start from 2.4" tried a lot of libraries sketches but everywhere i got failure(( some sketches just didn’t compile because ave/arm difference, some compile but display stay blank, and just being white, later i decided that I’m to stupid for this one, and for sure with arduino lcd should follow a lot of tutorials for due, but again fail)) all i found is bunch of stuff for other boards but not due.
last ver i’ve tried is connection like its told on TFT tutorial page
i used latest UTFT library with both of screens but still nothing.
I need a kind guide thru this screen madness)) step by step))) and thing is there a lot of different libs and same talks but they not about duo. spent week in reading and digging … plz help!

Can you provide some information on this TFT screen like a datasheet?
What chip does it use? Parallel or SPI?

Hi erverybody,

look here for the code with arduino Standard commands:

http://www.mikrocontroller.net/topic/344889?goto=3846445#3813171

and here for the Speed optimized code for arduino due:

http://www.mikrocontroller.net/topic/344889?goto=3846445#3842918

The touch isn't implemented yet. But I'm working on it.

Karsten

604fx:
Hola everyone! Im total noob and new to arduino, but love it from first site) so sorry for stupid questions, but I'm totally stuck.
Idea was to build small environment controller on due + tft lcd touch. I succeed with sensors, next step for me to make all necessary data to be on display.
i got mcufriend 2.4" TFT LCD shield and arduino lcd. I decided to start from 2.4" tried a lot of libraries sketches but everywhere i got failure(( some sketches just didn't compile because ave/arm difference, some compile but display stay blank, and just being white, later i decided that I'm to stupid for this one, and for sure with arduino lcd should follow a lot of tutorials for due, but again fail)) all i found is bunch of stuff for other boards but not due.
last ver i've tried is connection like its told on TFT tutorial page
i used latest UTFT library with both of screens but still nothing.
I need a kind guide thru this screen madness)) step by step))) and thing is there a lot of different libs and same talks but they not about duo. spent week in reading and digging .. plz help!

Hello Albundy!

I already built a 2.4 LCD TFT library for Due with parallel HX8347A chip controller. The video section is working OK but the external touch controller (ADS7843) had some issues thus I decided to buy a 3.2" with touch embedded. I expect to receive the 3.2 in a couple of weeks and continue my post.

My post:

My new LCD:
http://www.ebay.com/itm/190898617185?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

To adapt the 2.4 to 3.2 is something simple.

Best regards,

p

Hi Pallieser,

the Touch-Panel from Touch-Display i got from mcufriends works o.k.

I used the code from

I ported the code to "normal" C on an Mega2560-Board. It works o.k. (There are some Offset errors which must correct).
I've tried to compile the adafruit-code, but I've got some errors (pointer error and type-cast errors [-fpermissive]).
If I had some time I will port the adafruit code to a working code on an DUE. I think this will tkaes a few days.

My 2.4" Display from mcufriends have no touch controller. The touch analog lines X+, X-, Y+ and Y- are shared with the Ports of the Display (A1,A2,D6 and D7 on Arduino Board). Are you shure that you have a touch controller?

My 2.4"-Display from mcufriend is:

http://www.ebay.com/itm/2-4-2-4-Inch-TFT-LCD-Shield-Touch-Panel-Module-TF-Micro-SD-For-Arduino-UNO-R3-/400736101126

Al

Albundy1,

According to the ebay seller, the LCD comes with ADS7843 compatible touch panel controller.

Here the ADS7843 based board with issues.

http://www.ebay.com/itm/ADS7843-Touch-Screen-Panel-Controller-Module-for-4-Wire-touch-screen-panel-/161025401461?ssPageName=ADME:L:OC:US:3160

I connected the ADS7843 board with Arduino Due via SPI but I got random xy readings. I used a code that I ported from an Atmel ASF sample that worked well in SAM3X-EK development board with similar Due's MCU (SAM3X8E). May be it is defective but I didn't want to wait another month to get and try another one (from China).

Anyway, let's see how it going to go once I get the new LCD.

Regards,

p

Albundy1:
Hi erverybody,

look here for the code with arduino Standard commands:

http://www.mikrocontroller.net/topic/344889?goto=3846445#3813171

and here for the Speed optimized code for arduino due:

http://www.mikrocontroller.net/topic/344889?goto=3846445#3842918

The touch isn’t implemented yet. But I’m working on it.

Karsten

Great work!
Can you write the same for 16bit transfer mode displays?

Hi

I was wondering if the Arduino Due can be damaged with this kind of TFT displays, as they have been designed for UNO/MEGA/etc. they have +5V Hardware.

Anyway, I have tested the code from
http://www.mikrocontroller.net/topic/344889?goto=3846445#3842918

and the display works :slight_smile: although some code cleaning could do it much better.

At this point I am trying to figure out how to make the touch works, but I am worried to damage the ADCs with this shield. I could use some intermediate circuitry but come on that is not the best approach.

Anyone has solved these issues?

not working with Due R3. Display remains blank.

How do you power your TFT sceen ?