Wednesday, June 10, 2020

2.8" 320*240 TFT Touch Screen shield (ILI9341 8 bit I/F) on Uno, using MCUFRIEND_kbv/Adafruit GFX Libraries on Platform IO

It's a 2.8" 320*240 TFT Touch Screen shield, with driver ILI9341 connected using 8 bit parallel interface. Support Arduino UNO and Mega2560 direct plug-in use without wiring.




Reference: Product page of LCDWiki 2.8inch Arduino Display

You can find the details of the TFT Touch Screen Shield from the above link. Also provide Program Download with examples. But I prefer use libraries come with Platform IO IDE. This video show how to:


- This exercise tested on VS Code/Platform IO IDE on Ubuntu 20.04.

- Install libraries of MCUFRIEND_kbv and Adafruit GFX.

- Copy example from MCUFRIEND_kbv library, it's diagnose_TFT_support in my exercise.

- Edit platformio.ini to specify upload_port and add "lib_deps = Wire" to fix the error of "Wire.h: No such file or directory".

- Build and upload.



Next:
Calibration and simple touch drawing example



No comments:

Post a Comment