Go Down

Topic: Good Tutorial To Learn 7" LCD Screen With Shield For Arduino Mega or Due? (Read 2218 times) previous topic - next topic

avr_fred

Perhaps I missed it but I don't see we're you've identified the processor you are using.
So, which is it? A Mega or a Due?

Also:

CTE70CPLD is not a model the library understands.


Incorrect. That is a valid model and is exactly what the OP should be using. If he has a Mega, the correct UTFT model would be:

UTFT myGLCD(CTE70CPLD,38,39,40,41);

If the type CTE70CPLD is not recognized, you have a older, out of date version of UTFT and you should download the current version from the UTFT website.

Also be sure to select the correct 800x480 demo from the AVR choices, not the ARM versions. Once you have the correct demo sketch open, change the display type from ITDB50 to CTE70CPLD and that should run without further drama. You do not need any SD cards to run the UTFT demo.

Finally, if you are using a Due, you have the wrong shield. You need this version: http://www.ebay.com/itm/TFT-SD-Shield-for-Arduino-DUE-TFT-LCD-Module-SD-Card-Adapter-2-8-3-2-inch-Mega-/121057447668?

jdlev


HazardsMind

Quote
Incorrect. That is a valid model and is exactly what the OP should be using. If he has a Mega, the correct UTFT model would be:


Yea, I haven't updated the library in about 2 months(maybe longer), but the only thing that changes with the models is the screen resolution and mode. The 7" screens are usually 480x800 and 16bit, which should work with the models I told him to use. I can't update the library right now, the site is under maintenance.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

jdlev

I got it working.  Turns out the arduino doesn't provide enough power to the screen on it's own, so you have to use the DC power supply.  Hooked it up, and the red/white lines vanished, and it ran through the demo.

mancave

I'm having the same problem, I'm using the same display(http://www.ebay.it/itm/121186426608) with an Arduino Due and shield(http://www.ebay.com/itm/121057447668).

Tried every driver in the UTFT library, the attached image is the best I can get. Tried external 12v, 7.4v, still the same. Would appreciate some help guys ..


ghlawrence2000

@mancave,

If you really do have a DUE and the shield and display you linked to then, you need to use
Code: [Select]
UTFT myGLCD(CPLD, 25, 26, 27, 28); AND you need to edit 'libraries\UTFT\arm\HW_ARM_defines.h' to uncomment
Code: [Select]
#define CTE_DUE_SHIELD 1.

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

mancave

@ ghlawrence2000

Thanks Graham.

Yes I really do have them, and I've tried (CPLD, 25, 26, 27, 28); got nothing at all even after I uncommented #define CTE_DUE_SHIELD 1  in  HW_ARM_defines.h

I'm begining to think the display is faulty.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy