By keyes | 23 November 2018 | 0 Comments
2.8 Inch TFT LCD Shield for Arduino Project
Introduction
Add some flavor to your Arduino project with this large touch screen developed by keyestudio.
This TFT Touch screen is a fantastic shield with ILI9325 drive chip, compatible for Arduino UNO.
It also comes with micro SD slot and a reset button so you could add it easily to your projects with this 2.8" TFT Touch screen.
Next, let's show you how to play it.
Hardware Components
Keyestudio TFT LCD Touch Shield * 1
Arduino UNO R3 * 1
USB Cable* 1
Step 1: Drawing Board
We can make a home made digital drawing board in just a few minutes. All we need are an Arduino UNO and this TFT shield.
First, stack the shield on the Arduino UNO; connect Arduino UNO to computer with a USB cable.
Then, open arduino IDE, set the board and COM port shown below.
Next, compile and upload the code to the board.
Here you can directly download the code as below:
Test Code of Drawing Board
Note: Click here you can download the code libraries.
Finally, done uploading the code, wait for the screen to turn black.
Now, swipe your finger on the screen and a line will be drawn. I didn't have but I would prefer you to use a stylus.
Moreover, you can draw on it and to clear it, use the reset button on the screen to clear the graphics.
Step 2: Displaying Pictures From SD Card
a) Put the picture into the SD card (here we have added it well, or you can change the picture as you like.)
b) Plug SD card in the touch screen.
c) Stack the shield on Arduino UNO.
d) Open Arduino IDE, set the board and com port as the same as above shown.
e) Upload the code as follows.
Test Code of Displaying Pictures
f) Finally, you can see the picture shown on the LCD as below:
You can click here to get more resources on our wiki website. Thank you!
Wanna play with some graphic or make a touch interface? Use this keyestudio's Touch Shield for Arduino UNO, very easy to use!
Leave a Reply
Your email address will not be published.Required fields are marked. *
CATEGORIES
TAGS