Adafruit 2.4" Color TFT Touchscreen Breakout
Created by lady ada
Last updated on 2018-08-22 03:48:25 PM UTC
Guide Contents
Guide Contents
Overview
Pinouts
SPI Mode
Resistive touch pins
8-Bit Mode
Assembly
Prepare the header strip:
Add the breakout board:
And Solder!
2
3
7
7
8
8
10
10
11
12
Wiring & Test
8-Bit Wiring & Test
8-Bit Wiring
Part 1 - Power & backlight test
Part 2 - Data Bus Lines
14
15
15
15
16
8-Bit Library Install
SPI Wiring & Test
SPI Mode Jumpers
Wiring
Install Libraries
Install Adafruit ILI9341 TFT Library
17
21
21
21
22
22
Bitmaps (SPI Mode)
Adafruit GFX Library
Resistive Touchscreen
Download Library
Touchscreen Paint (SPI mode)
Touchscreen Paint (8-Bit mode)
Downloads
Datasheets
Schematic
Fabrication Print
26
28
30
30
30
31
33
33
33
33
© Adafruit Industries
https://learn.adafruit.com/adafruit-2-4-color-tft-touchscreen-breakout
Page 2 of 34
Overview
Add some jazz & pizazz to your project with a color touchscreen LCD. This TFT display is 2.4" diagonal with a bright (4
white-LED) backlight and it's colorful! 240x320 pixels with individual RGB pixel control, this has way more resolution
than a black and white 128x64 display.
As a bonus, this display has a resistive touchscreen attached to it already, so you can detect finger presses anywhere
on the screen.
© Adafruit Industries
https://learn.adafruit.com/adafruit-2-4-color-tft-touchscreen-breakout
Page 3 of 34
This display has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. The
display can be used in two modes: 8-bit or SPI. For 8-bit mode, you'll need 8 digital data lines and 4 or 5 digital control
lines to read and write to the display (12 lines total). SPI mode requires only 5 pins total (SPI data in, data out, clock,
select, and d/c) but is slower than 8-bit mode.
In addition, 4 pins are required for the touch screen (2 digital, 2 analog) or
you can purchase and use our resistive
touchscreen controller (not included) to use I2C or SPI
(http://adafru.it/1571)
© Adafruit Industries
https://learn.adafruit.com/adafruit-2-4-color-tft-touchscreen-breakout
Page 4 of 34
Of course, we wouldn't just leave you with a datasheet and a "good luck!". For 8-bit interface fans
we've written a full
open source graphics library that can draw pixels, lines, rectangles, circles, text, and more
(https://adafru.it/aHk).
For
SPI users, we have a library as well
(https://adafru.it/d4d),
its separate from the 8-bit library since both versions are
heavily optimized.
For resitive touch, we
also have a touch screen library that detects x, y and z (pressure)
(https://adafru.it/aT1)
and
example code to demonstrate all of it.
© Adafruit Industries
https://learn.adafruit.com/adafruit-2-4-color-tft-touchscreen-breakout
Page 5 of 34