Interfacing TFT LCD with Arduino


BySaddam 5

Interfacing TFT LCD with Arduino

Today, we are going to Interface 2.4 inch TFT LCD Shield with Arduino. By using this color TFT LCD shield we can show characters, strings, blocks, images etc on the color TFT LCD. And we can use this TFT Shield in many applications like:  Security System, Home Automation, Games etc.

Interfacing TFT LCD with Arduino is very easy. We only need to have an Arduino Board & a 2.4 inch TFT Shield in hardware part and Arduino IDE & TFT Library in software part. Many libraries are available on the Internet, for TFT Shield to operate, but different TFT LCDs have different inbuilt drivers. So first we need to identify the driver of TFT and then install a suitable library for that. Here we are using 2.4 inch TFT Shield having ili9341 driver. Link, for downloading the Library for given TFT, is given in ‘Steps’ below. Check this for simple LCD interfacing with Arduino.

Arduino and TFT-LCD


Hardware and Software Requirements:


  • Arduino Uno
  • TFT shield
  • USB cable


  • Arduino ide
  • TFT library for Arduino (spfd5408)


Circuit Diagram:

User only needs to insert TFT Shield over the Arduino. Because TFT Shield is compatible with Arduino UNO and Arduino mega.


Steps for Installing TFT library in Arduino IDE:

Step 1: Download the TFT library for Arduino, from the below given link and make it zip (if not already zipped).


Step 2: After this, copy and paste it in Arduino library folder in Program Files.

installing tft lcd library arduino


Step 3: Now open Arduino IDE and select Sketch -> Include Library -> Add .ZIP Library.

installing tft lcd library arduino 2


Then go to the Arduino Library in Program Files, where you have pasted the zipped downloaded library in Step 2­­ and select and open zipped SPFD5408-Master library.

My Computer -> C: Drive -> Program Files -> Arduino -> libraries


Now after opening the SPFD5408 Master Library, you can see that your library file has been installed in Arduino IDE.

installing tft lcd library arduino 4


Step 4: Now in Arduino IDE go to, File -> Example -> SPFD5408-master -> spfd5408_graphictest

Open it, compile it and then upload it in Arduino.

installing tft lcd library arduino 5installing tft lcd library arduino 6

Now you will get your results on TFT. Users can modify this code according to their requirements, like we have inserted some ‘Text’ according to us.

Note: Same steps can be followed to install any Library in Arduino IDE.


Get Our Weekly Newsletter!

Subscribe below to receive most popular news, articles and DIY projects from Circuit Digest


  • harish kumar's picture
    harish kumar
    May 27, 2016

    nice project
    pls upload a video sir!
    and what is a price amount
    of the TFT library for Arduino (spfd5408)

  • harish kumar's picture
    harish kumar
    May 27, 2016

    pls do more project in arduino pro mini
    because its so interesting

  • swamipooja's picture
    Feb 28, 2017

    Really too innovative and superb projects is here

  • balla vinay's picture
    balla vinay
    May 01, 2017

    i have done all these steps still the screen appears white in colour what to do?

  • HM__'s picture
    Jul 18, 2018

    Can I use the same TDT LCD SCREEN SHIELD with 8051 pic or any other microcontroller??
    Anyone have any document related to this screen.

Log in or register to post Comment