Adafruit 3.5" 320x480 Color TFT Touchscreen Breakout
Created by lady ada
Last updated on 2018-08-22 03:43:20 PM UTC
Guide Contents
Guide Contents
Overview
Pinouts
SPI Mode
8-Bit Mode
Wiring & Test
Assembling Header
Prepare the header strip:
Add the breakout board:
Add the breakout board:
2
3
7
7
8
10
10
11
11
11
8-Bit Wiring & Test
8-Bit Wiring
Part 1 - Power & backlight test
Part 2 - Data Bus Lines
14
14
14
15
8-Bit Library Install
Prepare TFTLCD Library
SPI Wiring & Test
SPI Mode Jumpers
Wiring
Install Adafruit HX8357 TFT Library
Bitmaps (SPI Mode)
Adafruit GFX library
Touchscreen
Download Library
Touchscreen Paint (SPI mode)
Touchscreen Paint (8-Bit mode)
Downloads
Datasheets & Files
Schematic and PCB Print
18
19
24
24
25
26
29
32
33
33
33
35
37
37
37
© Adafruit Industries
https://learn.adafruit.com/adafruit-3-5-color-320x480-tft-touchscreen-breakout
Page 2 of 38
Overview
Add some jazz & pizazz to your project with a color touchscreen LCD. This TFT display is big (3.5" diagonal) bright (6
white-LED backlight) and colorful! 480x320 pixels with individual RGB pixel control, this has way more resolution than a
black and white 128x64 display, and double our 2.8" TFT. 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-3-5-color-320x480-tft-touchscreen-breakout
Page 3 of 38
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-3-5-color-320x480-tft-touchscreen-breakout
Page 4 of 38
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/dQW),
its separate from the 8-bit library since both versions are
heavily optimized. 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-3-5-color-320x480-tft-touchscreen-breakout
Page 5 of 38