This post is for everyone who wants to decide on the components needed for their projects. I, for instance, selected Arduino Uno and a 2.4 inch TFT touch Screen LCD Arduino Uno Shield, among other things. (I will add link to my actual project later, as I have not created a post yet for that. In fact, this is my first post regarding this project).
So this post, is simply to connect Arduino Uno and the TFT LCD screen, then load a sketch and check whether the LCD works fine. It is a less than 10 minutes exercise, if you have all the components, ready.
First off, let me list out what are the things you require (links to the site I purchased from are added for your reference):
- Arduino Uno with its USB cable.
- A power adapter with 6-12 VDC output. This is also required apart from your USB cable since the USB port cannot support a load more than 500mA. (I just used a 9V battery clip connector. Soldered the loose ends below the Arduino Uno PCB.)
- A 2.4″ TFT LCD Touch Screen Arduino Uno shield – Only 28-pin shields are supported. I purchased if from Amazon.in and the name of the product is Robodo Electronics 2.4 inch TFT touch Screen LCD Arduino Shield
- A PC or laptop with Arduino IDE/ Or you can run it online too.
Next we can directly jump into the job.
- Open Arduino IDE.
- Go to Sketch > Include Library > Manage Libraries. Now Library Manager pop-up window will open.
- In the top right of this window, in the search bar, type mcufriend_kbv. The result will show MCUFRIEND_kbv by David Prentice. Install the library.
- Next, search for Adafruit GFX Library and install it. If it prompts that certain other dependency libraries are also needed, click yes, to install them all.
- Once the libraries are installed, we can now try and check whether the TFT LCD Screen you have purchased works fine or not.
- To do this, fix the TFT LCD Screen shield on top of your Arduino Uno.
- To take care of the additional power requirements, either use a power adapter of 6-12 VDC to power the Arduino Uno or do what I have suggested above. Use a 9V Clip connector with a good quality 9V battery like the ones from Duracell.
- Now connect your Arduino Uno to the computer.
- Go to File > Examples > MCUFRIEND_kbv > graphictest_kbv
- Compile and Upload
- You should now be able to see the screen display various colors and content – starting with Red screen > Green Screen > Blue Screen.
(Wish I could add pictures and videos. I will do it when time permits, though)
Any comments/ queries/ feedback, please give’em below..!!