Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Displays & LEDs
  4. ›2.4 and 2.8 Inch ILI9341 TFT Touch Display

Component guide · Intermediate · 3 min read

2.4 and 2.8 Inch ILI9341 TFT Touch Display

SPI Module and Uno Shield

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the ILI9341 TFT display isILI9341 TFT display pinoutWiring the ILI9341 TFT displayExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The 2.4 and 2.8 inch 240x320 colour TFTs come in two forms. The SPI module (red board, 14 pins) uses an ILI9341 controller plus an XPT2046 resistive touch chip and suits ESP32 and Pi. The Uno shield plugs on top of an Uno or Mega, uses an 8-bit parallel bus and has a microSD slot, and is driven with the MCUFRIEND_kbv library, which detects its controller.

Key specs at a glance

Resolution
240 x 320, 65K colours
Size
2.4 or 2.8 inch
Controller
ILI9341 on SPI modules; ILI9341, ILI9325 or ST7781 on Uno shields
Touch
Resistive: XPT2046 SPI chip (module) or 4-wire analog (shield)
Logic
3.3 V on the SPI module (VCC 3.3 or 5 V with on-board regulator)
Extras
microSD slot on most versions

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1SPI TFT Touch Display Module, 240x320 (2.4 / 2.8 inch)₹515
  • Option 22.4″ TFT Touch Screen Display Shield for Arduino UNO Mega₹506
  • Option 32.4-inch TFT Touch Screen Module for Arduino UNO R3₹669
  • Option 4TFT Display Shield for Arduino Uno / Mega₹265
01

What the ILI9341 TFT display is

Use the SPI module with an ESP32 for fast graphics, LVGL dashboards and touch menus. Use the shield when you want to plug a screen onto an Uno with no wiring; it takes almost all Uno pins, so only a few remain free.

Touch on the shield is read with the analog pins and the TouchScreen library; touch on the SPI module shares the SPI bus with its own CS pin.

02

ILI9341 TFT display pinout

The pins on the ILI9341 TFT display and what each one does.

PinFunction
VCC / GNDPower (3.3 V or 5 V, see J1 jumper)
CSDisplay chip select
RESETDisplay reset
DCData / command
SDI (MOSI) / SCKSPI data and clock
LEDBacklight (3.3 V or PWM)
SDO (MISO)SPI read (optional)
T_CLK / T_CS / T_DIN / T_DO / T_IRQXPT2046 touch SPI
PinFunction
VCC / GND
Power (3.3 V or 5 V, see J1 jumper)
CS
Display chip select
RESET
Display reset
DC
Data / command
SDI (MOSI) / SCK
SPI data and clock
LED
Backlight (3.3 V or PWM)
SDO (MISO)
SPI read (optional)
T_CLK / T_CS / T_DIN / T_DO / T_IRQ
XPT2046 touch SPI
03

Wiring the ILI9341 TFT display

The SPI module's signals are 3.3 V only: with an Uno use a level shifter or 1 k / 2 k dividers on every input. The ESP32 connects directly. The Uno shield needs no wiring at all.

ILI9341 TFT display pinArduino UnoESP32
VCC / LED3.3V (via level shifter on signals)3V3
CSD10GPIO 15
RESETD8GPIO 4
DCD9GPIO 2
SDI / T_DIND11GPIO 23
SCK / T_CLKD13GPIO 18
SDO / T_DOD12GPIO 19
T_CSD7GPIO 21
VCC / LED
Arduino Uno:
3.3V (via level shifter on signals)
ESP32:
3V3
CS
Arduino Uno:
D10
ESP32:
GPIO 15
RESET
Arduino Uno:
D8
ESP32:
GPIO 4
DC
Arduino Uno:
D9
ESP32:
GPIO 2
SDI / T_DIN
Arduino Uno:
D11
ESP32:
GPIO 23
SCK / T_CLK
Arduino Uno:
D13
ESP32:
GPIO 18
SDO / T_DO
Arduino Uno:
D12
ESP32:
GPIO 19
T_CS
Arduino Uno:
D7
ESP32:
GPIO 21
04

Example code

For the Uno shield, use MCUFRIEND_kbv with Adafruit_GFX and the TouchScreen library; run its graphictest_kbv example first to see which controller ID it reports.

Draw and read touch with TFT_eSPI (ESP32, SPI module) · Arduino C++Verify & upload in Electrolark
#include <TFT_eSPI.h>      // set ILI9341_DRIVER and pins in User_Setup.h
TFT_eSPI tft;

void setup() {
  tft.init();
  tft.setRotation(1);
  tft.fillScreen(TFT_BLACK);
  tft.setTextColor(TFT_WHITE, TFT_BLACK);
  tft.drawString("Touch the screen", 20, 20, 4);
  uint16_t cal[5] = {300, 3500, 300, 3500, 1};   // run Touch_calibrate example for yours
  tft.setTouch(cal);
}

void loop() {
  uint16_t x, y;
  if (tft.getTouch(&x, &y)) tft.fillCircle(x, y, 3, TFT_YELLOW);
}
05

Setup and tuning

TFT_eSPI setup

edit User_Setup.h for ILI9341_DRIVER, your pins and TOUCH_CS before compiling.

Calibrate touch

run the Touch_calibrate example and paste the five values into setTouch().

Shield white screen

usually the wrong controller; MCUFRIEND_kbv reads the ID and prints it.

SD card

shares SPI; give it its own CS pin and use FAT32 cards.

06

What you need

Shop this list8 of 9 found in our store · ₹3,389

  • SPI TFT Touch Display Module, 240x320 (2.4 / 2.8 inch): the part this guide coversSPI TFT Touch Display Module, 240x320 (2.4 / 2.8 inch)₹515
  • 2.4″ TFT Touch Screen Display Shield for Arduino UNO Mega: another version this guide covers2.4″ TFT Touch Screen Display Shield for Arduino UNO Mega₹506
  • 2.4-inch TFT Touch Screen Module for Arduino UNO R3: another version this guide covers2.4-inch TFT Touch Screen Module for Arduino UNO R3₹669
  • TFT Display Shield for Arduino Uno / Mega: another version this guide coversTFT Display Shield for Arduino Uno / Mega₹265
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • Arduino Mega 2560 Rev3: for the shield with pins left overArduino Mega 2560 Rev3₹980
  • 4-channel logic level converter (BSS138): to connect 5 V and 3.3 V signals safely4-Channel Logic Level Converter (BSS138)₹20
  • MicroSD card module: to store images for the displayMicroSD Card Module (SPI)₹45Closest match, check the specs
07

Alternatives and when to choose them

  • ✓ILI9488 3.5 inch TFT: larger 320x480 screen.
  • ✓ST7735 TFT: smaller 1.8 inch 128x160.
  • ✓TFT displays: controllers and interfaces compared.
08

Common mistakes to avoid

  • !Wiring 5 V Uno pins straight to the SPI module.
  • !Not setting the driver and pins in TFT_eSPI User_Setup.h.
  • !Skipping touch calibration so taps land in the wrong place.
  • !Expecting free pins on an Uno with the shield fitted.
09

Frequently asked questions

Why is my screen white?

Wrong driver or wiring. For the shield, run MCUFRIEND_kbv's diagnostic; for the module, check RESET, DC and the TFT_eSPI setup.

Can I use it with a Raspberry Pi?

The SPI module, yes, with the fbcp-ili9341 driver or Python libraries; the shield is Uno and Mega only.

Is the touch capacitive?

No, it is resistive: press with a fingertip or stylus.

Does the module work at 5 V?

VCC can be 5 V with the regulator, but the signal pins are 3.3 V.

Which library is fastest?

TFT_eSPI on ESP32; LVGL runs on top of it for menus.

Parts for this guide

  • SPI TFT Touch Display Module, 240x320 (2.4 / 2.8 inch)
    ₹515View
  • 2.4″ TFT Touch Screen Display Shield for Arduino UNO Mega
    ₹506View
  • 2.4-inch TFT Touch Screen Module for Arduino UNO R3
    ₹669View
  • TFT Display Shield for Arduino Uno / Mega
    ₹265View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Arduino Mega 2560 Rev3
    ₹980View
  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
  • MicroSD Card Module (SPI)
    ₹45View
Shop TFT & IPS DisplaysShop Shields & Add-on Modules

Projects that use it

Put this into practice: 2 step-by-step builds in our project library use parts from this guide.

Intermediate · 2 hoursColour TFT weather dashboardView projectBeginner · 1 hourBig-digit room climate displayView project
Browse all 2 projects

Keep learning

ComparisonIntermediateTFT Displays for Arduino and ESP32Small colour TFT and IPS displays use a driver chip that sets the resolution and the library you need: ST7735 for 1.44 to 1.8 inch 128x160 screens, ST7789 for sharp 240x240 or 240x320 IPS screens, ILI9341 for 2.4 to 3.2 inch 240x320 screens, and GC9A01 for round screens.4 min read · Displays & LEDsComponent guideIntermediateILI9488 3.5 Inch SPI TFT Touch DisplayThis 3.5 inch display uses the ILI9488 driver for 480 × 320 colour pixels over SPI, with an XPT2046 resistive touch controller and usually an SD card slot on the same board.3 min read · SensorsComponent guideBeginnerST7735 1.8 inch TFTThe 1.8 inch ST7735 module is a 128x160 colour TFT driven over SPI, often with a micro SD slot on the back.3 min read · Displays & LEDsConcept explainerIntermediateSPI ExplainedSPI (Serial Peripheral Interface) is a fast four-wire bus: SCK carries the clock, MOSI carries data from the controller, MISO carries data back, and a separate chip-select (CS) line per device chooses who is listening.3 min read · Electronics Fundamentals

Sources

  • Ilitek ILI9341 datasheet
  • XPT2046 touch controller datasheet
  • TFT_eSPI and MCUFRIEND_kbv libraries

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the ILI9341 TFT display isILI9341 TFT display pinoutWiring the ILI9341 TFT displayExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)3 items · ₹739

SPI TFT Touch Display Module, 240x320 (2.4 / 2.8 inch) · 4-Channel Logic Level Converter (BSS138) · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

Each touch draws a small yellow dot where the finger is.

Touch the screen

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question