Connect an SPI TFT with Touchscreen to your Arduino - ILI9341 LCD with XPT2046 Touch screen

Published at : 23 Dec 2025

You can get buy some really cheap LCD and touchscreen modules from places like eBay. They're actually great devices that let you add a display to your Arduino and microcontroller projects for under £10. But they don't come with any documentation so they can be a bit tricky to get working if you've never used them before.

In this video I'll walk you through the connections and software needed to get them working. My screen is a generic, red, Chinese sourced device using the very common combination of an ILI9341 based LCD module with a touchscreen driven by the XPT2046 touch controller.

You can easily get hold of one of these touchscreens at Amazon or eBay.

Amazon: https://amzn.to/39ZyWMD

eBay : http://ebay.us/sOCSyI

Make sure you visit the project pages on my website for circuit diagrams and breadboard layouts, along with more information and details.

https://bytesnbits.co.uk/spi-lcd-setup-arduino

ILI9341 Library
https://github.com/adafruit/Adafruit_ILI9341

XPT2046 Library
https://github.com/PaulStoffregen/XPT2046_Touchscreen

Adafruit GFX Library
https://github.com/adafruit/Adafruit-GFX-Library

Adafruit LCD tutorial
https://learn.adafruit.com/adafruit-2-8-and-3-2-color-tft-touchscreen-breakout-v2/spi-wiring-and-test

Adafruit GFX Library Tutorial
https://learn.adafruit.com/adafruit-gfx-graphics-library/overview