Arduino Wiring | 2.2" TFT Display - Adafruit Learning System

Skip to main content 2.2" TFT Display Arduino Wiring
  • Overview
  • Pinouts
  • EYESPI
    • Plugging in an EYESPI Cable
  • Assembly
  • Arduino Wiring
  • Arduino Code
    • Adafruit GFX Library
    • Bitmaps
  • CircuitPython Displayio Quickstart
  • Python Wiring and Setup
  • Python Usage
  • Troubleshooting
  • Downloads
  • Single page
  • Feedback? Corrections?
  • Text View
Featured Products view all
  • Your browser does not support the video tag. Additional video of bootup animation test on TFT screen. 2.2" 18-bit color TFT LCD display with microSD card breakout $24.95 Add to Cart
  • Bundle of multi-colored multi-length wire jumpers Breadboarding wire bundle $4.95 Add to Cart
  • Angled shot of a Adafruit METRO 328 Fully Assembled Adafruit METRO 328 Fully Assembled - Arduino IDE compatible Out of Stock
  • Angled shot of half-size solderless breadboard with red and black power lines. Half Sized Premium Breadboard - 400 Tie Points $4.95 Add to Cart
26 Beginner Product guide 😍 2

Arduino Wiring

There are two ways to wire up these displays:

Software SPI is a more flexible method (you can use any pins on the Arduino) and hardware SPI is much faster (4-8x faster) but you are required to use the hardware SPI pins.

Since the display is quite large, we found that drawing would seem really slow if using 'software' SPI. For that reason, we'll show primarily how to wire up using hardware SPI and then how you can change the pins if desired.Hardware SPI means that we have to connect the CLK and MOSI pins to fixed digital pins.

On '328 and '168 Arduinos, CLK must connect to digital 13 and MOSI must connect to digital 11. If using an Arduino Mega, connect CLK to 52 and MOSI to 51. If you're using another kind of Arduino you'll need to use the SPI hardware portDigital 10 (53 on Arduino Mega) must also be an output (but doesn't need to be connected to any particular pin).

Arduino UNO or Compatible Wiring

We'll use the following pin connections:

  • GND connects to ground - black wire
  • VIN connects to +5V - red wire
  • DC (data/clock) connects to digital 9 on Atmega328
  • Skip SDCS (SD card chip select - used for SD card interfacing)
  • CS (chip select) connects to digital 10 on Atmega328
  • MOSI (data out) connects to digital 11 on Atmega328
  • SCK (clock) connects to digital 13 on Atmega328
  • Skip MISO (data in - used for SD card interfacing)
arduino_compatibles_uno_bb.png Fritzing file Wiring for Other Boards

We'll use the following pin connections:

  • GND connects to ground - black wire
  • VIN connects to +5V - red wire
  • DC (data/clock) connects to digital 9
  • Skip SDCS (SD card chip select - used for SD card interfacing)
  • CS (chip select) connects to digital 10
  • MOSI (data out) connects to MOSI
  • SCK (clock) connects to SCK
  • Skip MISO (data in - used for SD card interfacing)
arduino_compatibles_express.png Fritzing file

You can later change the CS and RST pins but to match the tutorial, use this connection diagram.

Page last edited March 08, 2024

Text editor powered by tinymce.

Assembly Arduino Code Related Guides Your browser does not support the video tag. This links to the guide Wireless Game Show Poppers for the Classroom!. Wireless Game Show Poppers for the Classroom! By itaparcade intermediate Line Following Zumo Robot Using Simulink By Anuja Apte beginner TMP36 Temperature Sensor By lady ada beginner 36mm LED Pixels By Phillip Burgess beginner Adafruit Analog Accelerometer Breakouts By Bill Earl intermediate Your browser does not support the video tag. This links to the guide 1,500 NeoPixel LED Curtain with Raspberry Pi and Fadecandy. 1,500 NeoPixel LED Curtain with Raspberry Pi and... By Phillip Burgess intermediate 0.96" mini Color OLED By lady ada beginner 2.8" TFT Touchscreen By lady ada beginner Your browser does not support the video tag. This links to the guide Silicone Robo-Tentacle. Silicone Robo-Tentacle By Matthew Borgatti beginner Your browser does not support the video tag. This links to the guide Desktop or Laptop TFT Sidekick With FT232H. Desktop or Laptop TFT Sidekick With FT232H By Carter Nelson intermediate Wireless Gardening with Arduino + CC3000 WiFi Modules By M. Schwartz beginner Program an AVR or Arduino Using Raspberry Pi GPIO By Tony DiCola intermediate Collin's Lab: MIDI By Collin Cunningham beginner Adafruit Proto Shield for Arduino By lady ada beginner Animating Multiple LED Backpacks By Phillip Burgess beginner
Create Wishlist
× Title Description Close Search Search
Categories

Tag » Arduino Qvga Display