Arduino Mega 2560 and new touch ILI9341 displays
Вставка
- Опубліковано 24 лис 2024
- HW: Arduino Mega 2560 Chinese clone + touch screen + shield v2.2
www.aliexpress...
Library used for LCD: www.rinkydinkel... I used UTFT + URTouch, download a ZIPs and in Arduino IDE Add library from ZIPs. Then choose Examples and select URtouch / UTFT demos for your display.
Display used in this tutorial are:(model parameter in a sketch)
2.4" TFT 240x320 V2.1, model parameter ILI9325D_8
3.2" TFT_320QVT_9341, model parameter ILI9341_16
Hi, thanks for video and comments!
If have Arduino Mega 2560 + TFTLCD Mega Shield v2.2 + 2.4" TFT 240x320 V21_9341 screen (ILI9341 8080-parallel 8 bits +XPT2046)
then must to do the followings 2 steps(pre-requirements: Arduino IDE with already installed UTFT and URTouch libraries):
step 1st)in arduino libraries in library-directory URTouch in file URTouchCD.h must to have /prepare at the end of file:
....
/*
#define CAL_X 0x00378F66UL
#define CAL_Y 0x03C34155UL
#define CAL_S 0x000EF13FUL
*/
//For 2.4" TFT color display
#define CAL_X 0x003BC4192UL
#define CAL_Y 0x03C6C1C3UL
#define CAL_S 0x000EF13FUL
step 2nd) in your code mus to have/use:
...
UTFT myGLCD(ILI9341_8,38,39,40,41);
....
URTouch myTouch(6, 5, 4, 3, 2);
...
Hope this notice to be useful for you!
A really useful video !!!
Thank you.
СПАСИБО
I have a 2.4 inch ili9341 parral display
I want to use utft library please help me.
Thanks
You can buy it from below link:
www.amazon.com/dp/B07916R3KY
www.aliexpress.com/item/33016899355.html
Класс!!! МОЛОДЧИК!!! НОвые видосы выкладывай . Респект и уважуха!!!
hi there... I am connecting ILI9341 display with ardunio uno. i am able to get image. but I can see this from angle. the display seems very bright. what can i do to solve this problem? thanks
Hi,
if you have a problem with brightness, you can only solder and change of course one resistor(R4 or R5 depend of the display PCB, not a shield) on a bottom side of the ILI display.
нету примера который вы залили в адуино .