Тёмный

Setting up 2.4 Inch TFT LCD Arduino Shield ILI9341 HX8347 from Banggood 

hyperdata
Подписаться 132
Просмотров 11 тыс.
50% 1

Lousy quality video, but here is summary:
I got mine from banggood.com for about €6. It took a long time to find libraries that worked with this shield, so hopefully this might save some time for other folks (and act as a reminder for myself :)
www.banggood.c...
1. Install MCUFRIEND_kbv library from the Library Manager, also (I think) Adafruit GFX
2. Edit [Arduino]/libraries/MCUFRIEND_kbv/MCUFRIEND_kbv.cpp, uncomment :
#define SUPPORT_8347D
Now examples such as :
[Arduino]/libraries/MCUFRIEND_kbv/examples/graphictest_kbv/graphictest_kbv.ino
should work.
For the touchscreen -
3. Open sketch [Arduino]/libraries/MCUFRIEND_kbv/examples/TouchScreen_Calibr_native/TouchScreen_Calibr_native.ino
4. Open serial monitor, 9600 baud
5. Compile/upload the sketch
6. Follow the on-screen instructions
7. Copy & paste the contents of the serial monitor
8. Edit the following lines in [Arduino]/libraries/MCUFRIEND_kbv/examples/Touch_Shield_new/Touch_Shield_new.ino
char *name = "My Lovely Shield."; //edit name of shield
const int XP=8,XM=A2,YP=A3,YM=9; //ID=0x9341
const int TS_LEFT=117,TS_RT=897,TS_TOP=76,TS_BOT=886;
5. Compile/upload and upload that.
6. Enjoy!

Хобби

Опубликовано:

 

7 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@jpeper100
@jpeper100 3 года назад
Thank you very much Danny. It saved me a lot of time. Thank you, thank you, thank you. I appreciate your hard work and making it available.
@rizkylevy8154
@rizkylevy8154 3 года назад
Aww man thanks,I can calibrate it!!!
@toprakgungor131
@toprakgungor131 3 года назад
very very helpful sir, thanks
@LeventeDaradici
@LeventeDaradici 2 года назад
Big LIKE ! Thanks !
@jeancardososalles9048
@jeancardososalles9048 5 лет назад
Perfect, thanks!
@gcfu
@gcfu 2 года назад
Thank you Thank you Thank you .....
@XoshnavDrwish
@XoshnavDrwish 4 года назад
My Lovely Shield. ID=0x9595 Screen is 0x320 Calibration is: LEFT = 117 RT = 897 TOP = 76 BOT = 886 Wiring is always PORTRAIT YP=17 XM=16 YM=9 XP=8
@XoshnavDrwish
@XoshnavDrwish 4 года назад
const int XP=8,XM=A2,YP=A3,YM=9; //4096x320 ID=0x9595 const int TS_LEFT=505,TS_RT=505,TS_TOP=910,TS_BOT=89;
@jameslacassagne8363
@jameslacassagne8363 5 лет назад
I got the three piece set from Banggood. the 2.4 In. unit displays all text backwards. Anyone have an idea what's wrong? The Cal program icons appear in the right places (e.g. left top, left mi, etc, then right top, etc).
@evertspies3345
@evertspies3345 5 лет назад
Also received the 3 piece set from BG last week. The 2.8 works sort of. The 2.4 hardly works. No Touchscreen, scrolling in reverse. It seems that some mods need to be done in the library ccp file. Still investigating. Anyone with info?
@mauricioalcantara720
@mauricioalcantara720 5 лет назад
Hello my friend, I got a big question, I know this TFT LCD was made specially for arduino, but, it would be posible to use it with a microchip PIC ??
@LeeIongi
@LeeIongi 3 года назад
Why not? It can be communicate with just standard 3.3V cmos logic IO or sometime SPI, the only things can preventing it to work is coding bugs or hardware connection problem.
@fesfasgmailcom
@fesfasgmailcom 5 лет назад
thanks,this really helped me so much
Далее
🍎 Apple Pie Cinnamon Roll Donut #Shorts
00:21
Просмотров 2,6 млн
Women’s Goalkeepers + Men’s 🤯🧤
00:20
Просмотров 4,2 млн
6 Horribly Common PCB Design Mistakes
10:40
Просмотров 204 тыс.
Arduino Leonardo, Unboxing y Algunos Comentarios
8:29
Living life on the edge 😳 #wrc
0:17
Просмотров 10 млн
Inst/TikTok/TG - @delich4u
0:59
Просмотров 2,2 млн
2 октября 2024 г.
0:14
Просмотров 1,5 млн