# Adafruit 3.5" Capacitive Touch TFT FeatherWing

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/126/977/medium800/adafruit_products_5872-02.jpg?1704996785)

Bedeck your Feather project with a beautiful **Adafruit TFT FeatherWing, 3.5" 480x320 Capacitive Touchscreen.** This TFT display is 3.5" diagonal with a bright white-LED backlight and a built-in microSD card socket. You get a massive 480x320 pixels with individual 16-bit color pixel control. It has way more resolution than a black and white 128x64 display, and twice as much as our[2.4" TFT FeatherWing](https://www.adafruit.com/product/3315). As a bonus, this display comes with a multi-touch capacitive touchscreen attached to it already, so you can detect up to 5 finger presses anywhere on the screen.

![](https://cdn-learn.adafruit.com/assets/assets/000/126/978/medium800/adafruit_products_5872-01.jpg?1704996847)

This FeatherWing uses a SPI display and SD card socket, with I2C touchscreen. **It works with any and all Feather boards** but given the large display it works _best_ with our faster boards like the nRF52, RP2040, ESP32, M0 and M4 (basically anything that is \> 32 MHz). It includes a capacitive touchscreen controller controlled over I2C so you only need one additional interrupt pin to add a high quality touchscreen controller. One more pin is used for an optional SD card that can be used for storing images for display.

![](https://cdn-learn.adafruit.com/assets/assets/000/126/979/medium800/adafruit_products_5872-00.jpg?1704996907)

 **This 'Wing comes fully assembled with dual sockets for your Feather to plug into.** You get two sockets per pin, so you can plug in wires if you want to connect to Feather pins. Alternatively, each pin has a large square pad on the PCB for direct soldering.

The TFT display is an HX8357D-chipset compatible, [we have both Arduino](https://github.com/adafruit/Adafruit_HX8357_Library) and [CircuitPython libraries](https://github.com/adafruit/Adafruit_CircuitPython_HX8357) for it. And the capacitive touch driver is [FT5336, with 5-point multi-touch, with both Arduino](https://github.com/adafruit/Adafruit_FT5336) and [CircuitPython libraries as well](https://github.com/adafruit/Adafruit_CircuitPython_FT5336).

[Get started in a jiffy with our handy tutorial guide which has code, schematics, libraries, and examples for anything you'd like to do!](https://learn.adafruit.com/adafruit-3-5-tft-featherwing)

# Adafruit 3.5" Capacitive Touch TFT FeatherWing

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/126/976/medium800/adafruit_products_5872-01.jpg?1704996659)

The default I2C address for the FT5336 capacitive touch driver is&nbsp; **0x38**.

## STEMMA QT Connector

- **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt) -** This connector, located to the left of the on/off switch, allows you to connect to sensors and breakout boards with STEMMA QT / Qwiic connectors or to other things with **[various associated accessories](https://www.adafruit.com/category/619).**
- **SDA/SCL** - The I2C pins for the STEMMA QT connector are connected to the default I2C GPIO pins directly next to pin 5.
- **3.3V/GND** - The power for the STEMMA QT connector is 3.3V. Ground is the common ground for power and logic.

## Default SPI Pins

The TFT (connected to an **HX8357** chipset) and microSD card on the FeatherWing are controlled via SPI.

- **MOSI** - This is the SPI MOSI ( **M** icrocontroller **O** ut / **S** erial **I** n) pin.
- **MISO** - This is the SPI MISO ( **M** icrocontroller **I** n / **S** erial **O** ut) pin.
- **SCK** - This is the **S** PI clo **ck** input pin.

## TFT Control Pins and Jumpers

- **DC** - This is the display SPI **d** ata/ **c** ommand selector pin. By default, it is connected to **pin 10**. To change this, cut the jumper. Then, connect the signal pad (closest to the label on the board silk) to one of the available and compatible GPIO pads.
- **TCS** - This is the TFT SPI **c** hip **s** elect pin. By default, is connected to **pin 9**. To change this, cut the jumper. Then, connect the signal pad (closest to the label on the board silk) to one of the available and compatible GPIO pads.
- **LITE** - This is the TFT backlight pad, located between the Feather headers and the TFT ribbon cable towards the top of the board. It is not connected to any pins by default. Pull this pin low to turn off the backlight.

## microSD Card Slot

- On the back right edge of the FeatherWing is the microSD card slot. You can use any microSD card that supports SPI mode with one CS pin.

## SD Card Pins and Jumper

- **SCS** - This is the SD card **c** hip **s** elect pin. By default, it is connected to **pin 5**. To change this, cut the jumper. Then, connect the signal pad (closest to the label on the board silk) to one of the available and compatible GPIO pads.
- **SDDET** - This is the **c** ard **d** etect pad, located to the left of the microSD card slot. It is not connected to any pins by default. This pin will read low when a card is _not_ inserted.

## Touch Screen Interrupt Jumper

- **IRQ** - This is the touchscreen interrupt pin for the FT5336. By default, it is connected to **pin 6**. To change this, cut the jumper. Then, connect the signal pad (closest to the label on the board silk) to one of the available and compatible GPIO pads.

## Reset Button

- **Reset** - The reset button, located in the bottom left corner on the FeatherWing, is connected to the reset pin. It is mounted at a right angle so that it is easier to press.

## On/Off (Enable) Switch

- **ON/OFF** &nbsp;- The On/Off switch, located on the bottom side of the FeatherWing, to the right of the STEMMA QT connector, is connected to the&nbsp; **EN pin**. You can disconnect 3.3V power by setting the switch to&nbsp; **OFF**.

# Adafruit 3.5" Capacitive Touch TFT FeatherWing

## CircuitPython

Using the 3.5" 320x480 Color TFT FeatherWing with CircuitPython involves plugging the FeatherWing into to your CircuitPython-compatible Feather microcontroller. Then, you load the code and necessary libraries onto your microcontroller.

This page uses the Feather RP2040 for demonstrating CircuitPython usage. You can use the same concepts to get going with any classic Feather board.

### Adafruit Feather RP2040

[Adafruit Feather RP2040](https://www.adafruit.com/product/4884)
A new chip means a new Feather, and the Raspberry Pi RP2040 is no exception. When we saw this chip we thought "this chip is going to be awesome when we give it the Feather Treatment" and so we did! This Feather features the&nbsp; **RP2040** , and all niceties you know and...

In Stock
[Buy Now](https://www.adafruit.com/product/4884)
[Related Guides to the Product](https://learn.adafruit.com/products/4884/guides)
![Angled shot of black rectangular microcontroller "Feather RP2040"](https://cdn-shop.adafruit.com/640x480/4884-04.jpg)

## Hardware Setup
Plug your Feather into the FeatherWing. The Feather USB port will be above the FeatherWing microSD card slot.

![adafruit_products_IMG_0790.jpg](https://cdn-learn.adafruit.com/assets/assets/000/126/998/medium640/adafruit_products_IMG_0790.jpg?1705082132)

## CircuitPython Usage

To use with CircuitPython, you need to first install the necessary libraries, and their dependencies, into the **lib** folder on your **CIRCUITPY** drive. Then you need to update **code.py** with the example script.

Thankfully, we can do this in one go. In the example below, click the **Download Project Bundle** button below to download the necessary libraries and the **code.py** file in a zip file. Extract the contents of the zip file.

Connect the microcontroller to your computer via a known-good USB power+data cable. The board shows up as a thumb drive named **CIRCUITPY**. Copy the **entire lib folder** and the **code.py** file to your **CIRCUITPY** drive.

Your **CIRCUITPY/lib** folder should contain the following folders and files:

- **/adafruit\_bus\_device**
- **/adafruit\_register**
- **adafruit\_ft5336.mpy**
- **adafruit\_hx8357.mpy**

Once you have copied over the necessary folders and files, your **CIRCUITPY** drive should resemble the following:

![CIRCUITPY](https://adafruit.github.io/Adafruit_CircuitPython_Bundle/ft5336_touchpaint_example.py.png )

## Example Code
https://github.com/adafruit/Adafruit_CircuitPython_FT5336/blob/main/examples/touchpaint_example.py

Once everything is copied over, on your display, you should the touch paint example begin to run. You can touch the different colors on the side of the TFT and doodle on the screen.

![](https://cdn-learn.adafruit.com/assets/assets/000/127/001/medium800thumb/adafruit_products_cpPaint.jpg?1705085837)

# Adafruit 3.5" Capacitive Touch TFT FeatherWing

## Python Docs

# Adafruit 3.5" Capacitive Touch TFT FeatherWing

## Arduino

Using the 3.5" TFT FeatherWing with Arduino involves&nbsp;plugging the FeatherWing to your Arduino-compatible Feather microcontroller, installing the library for your display type and running the provided example code.

This page uses the Feather RP2040 for demonstrating Arduino usage. You can use the same concepts to get going with any Feather board.

### Adafruit Feather RP2040

[Adafruit Feather RP2040](https://www.adafruit.com/product/4884)
A new chip means a new Feather, and the Raspberry Pi RP2040 is no exception. When we saw this chip we thought "this chip is going to be awesome when we give it the Feather Treatment" and so we did! This Feather features the&nbsp; **RP2040** , and all niceties you know and...

In Stock
[Buy Now](https://www.adafruit.com/product/4884)
[Related Guides to the Product](https://learn.adafruit.com/products/4884/guides)
![Angled shot of black rectangular microcontroller "Feather RP2040"](https://cdn-shop.adafruit.com/640x480/4884-04.jpg)

## Hardware Setup
Plug your Feather into the FeatherWing. The USB port on the Feather will be pointing towards the microSD card slot.

![adafruit_products_IMG_0790.jpg](https://cdn-learn.adafruit.com/assets/assets/000/126/999/medium640/adafruit_products_IMG_0790.jpg?1705082178)

## Library Installation

You can install the **Adafruit FT5336** library for Arduino using the Library Manager in the Arduino IDE.

![](https://cdn-learn.adafruit.com/assets/assets/000/126/983/medium800/adafruit_products_Arduino_Open_Library_Manager.png?1705001279)

Click the **Manage Libraries ...** menu item, search for **Adafruit FT5336** , and select the **Adafruit\_FT5336** library:

![](https://cdn-learn.adafruit.com/assets/assets/000/126/984/medium800/adafruit_products_arduino_lib.png?1705002320)

If asked about dependencies, click "Install all".

![](https://cdn-learn.adafruit.com/assets/assets/000/126/985/medium800/adafruit_products_arduino_depends.png?1705002327)

If the "Dependencies" window does not come up, then you already have the dependencies installed.

Warning: 

## Example Code
https://github.com/adafruit/Adafruit_FT5336/blob/main/examples/CapTouchPaint/CapTouchPaint.ino

![](https://cdn-learn.adafruit.com/assets/assets/000/127/000/medium800/adafruit_products_arduino_serial.png?1705082938)

Upload the sketch to your board and open up the Serial Monitor ( **Tools -\> Serial Monitor** ) at 115200 baud. In the Serial Monitor, you should see the values from the touch screen being printed out. If you press with more than one point, you'll see multiple sets of coordinates. The first number is the X coordinate, the second number is the Y coordinate.

On the TFT, you'll be able to doodle with the different colors on the left side of the screen.

![](https://cdn-learn.adafruit.com/assets/assets/000/127/002/medium800thumb/adafruit_products_arduinoPaint.jpg?1705085864)

# Adafruit 3.5" Capacitive Touch TFT FeatherWing

## Arduino Docs

# Adafruit 3.5" Capacitive Touch TFT FeatherWing

## Downloads

## Files

- [Datasheet for the HX8357D chipset controller](http://www.adafruit.com/datasheets/HX8357-D_DS_April2012.pdf)
- [Datasheet for the 3.5" TFT display (raw)](https://cdn-shop.adafruit.com/product-files/5872/SPEC-YX350HV15-CT_Rev.B.pdf)
- [Datasheet for the FT5336 Capacitive Touch Controller](https://cdn-learn.adafruit.com/assets/assets/000/126/258/original/FT5336.pdf?1701184056)
- [EagleCAD PCB files on GitHub](https://github.com/adafruit/Adafruit-3.5in-Capacitive-Touch-TFT-FeatherWing-PCB)
- [Fritzing object in Adafruit Fritzing library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%203.5in%20Capacitive%20Touch%20TFT%20FeatherWing.fzpz)

## Schematic and Fab Print

Dimensions are in inches

![](https://cdn-learn.adafruit.com/assets/assets/000/126/980/medium800/adafruit_products_schem.png?1704997166)

![](https://cdn-learn.adafruit.com/assets/assets/000/126/982/medium800/adafruit_products_fab.png?1704997338)


## Primary Products

### Adafruit TFT FeatherWing - 3.5" 480x320 Capacitive Touchscreen

[Adafruit TFT FeatherWing - 3.5" 480x320 Capacitive Touchscreen](https://www.adafruit.com/product/5872)
Bedeck your Feather project with a beautiful **Adafruit TFT FeatherWing, 3.5" 480x320 Capacitive Touchscreen.** &nbsp;This TFT display is 3.5" diagonal with a bright&nbsp;white-LED backlight and a built-in microSD card socket. You get a massive 480x320 pixels with...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5872)
[Related Guides to the Product](https://learn.adafruit.com/products/5872/guides)

## Related Guides

- [Adafruit Hallowing M4](https://learn.adafruit.com/adafruit-hallowing-m4.md)
- [Visual Studio Code for the Raspberry Pi](https://learn.adafruit.com/visual-studio-code-for-the-raspberry-pi.md)
- [Adafruit ESP32-S3 Reverse TFT Feather](https://learn.adafruit.com/esp32-s3-reverse-tft-feather.md)
- [Playing Gamebuino META Games on Arcada](https://learn.adafruit.com/playing-gamebuino-meta-games-on-arcada.md)
- [Glowing Scale Armor](https://learn.adafruit.com/glowing-scale-armor.md)
- [Adafruit Proto Tripler PiCowbell](https://learn.adafruit.com/adafruit-proto-tripler-picowbell.md)
- [Micro SD Card Breakout Board Tutorial](https://learn.adafruit.com/adafruit-micro-sd-breakout-board-card-tutorial.md)
- [Metronome CLUE](https://learn.adafruit.com/metronome-clue.md)
- [Smart Mirror with PyPortal](https://learn.adafruit.com/smart-mirror-with-pyportal.md)
- [Audio Prank Gift Box](https://learn.adafruit.com/shake-up-a-gift-box.md)
- [PyPortal Calculator using the Displayio UI Elements](https://learn.adafruit.com/pyportal-calculator-using-the-displayio-ui-elements.md)
- [Adafruit VL53L4CD Time of Flight Distance Sensor](https://learn.adafruit.com/adafruit-vl53l4cd-time-of-flight-distance-sensor.md)
- [Adafruit Mini PiTFT - Color TFT Add-ons for Raspberry Pi](https://learn.adafruit.com/adafruit-mini-pitft-135x240-color-tft-add-on-for-raspberry-pi.md)
- [ST 9-DoF Combo Breakouts and Wings](https://learn.adafruit.com/st-9-dof-combo.md)
- [QT Py Heart Shaped NeoPixel PCB](https://learn.adafruit.com/qtpy-heart-pcb.md)
