Displays

TFT Displays

TFT displays are a type of active-matrix LCD that use thin-film transistors to control individual pixels. They are widely used in industrial instruments, automotive equipment, smartphones, cameras, embedded systems, control panels and other electronic products.

What Is a TFT Display?

TFT stands for Thin-Film Transistor.

A TFT display is normally a type of active-matrix LCD in which thin-film transistors are used to control the individual pixels of the display.

The transistor associated with each pixel allows the display to control pixel voltage more precisely than simpler passive-matrix LCD technologies.

How a TFT Display Works

A simplified TFT LCD pixel contains a transistor, an electrode and a liquid-crystal element.

Display Controller
       │
       ▼
  Row / Column Drivers
       │
       ▼
Thin-Film Transistors
       │
       ▼
Liquid Crystal Pixels
       │
       ▼
     Backlight

The TFT controls the electrical state of the corresponding pixel. The liquid crystal then controls the amount of light passing through the pixel.

Why TFT Technology Is Called Active Matrix

In an active-matrix display, each pixel or pixel element is controlled by an active switching element.

This allows the display to maintain the required pixel state while the other pixels are being addressed.

The result is improved control, higher resolution and better performance than traditional passive-matrix displays.

TFT LCD Structure

A simplified TFT LCD contains several layers.

Backlight
   │
   ▼
Diffuser
   │
   ▼
Polarizer
   │
   ▼
TFT Layer
   │
   ▼
Liquid Crystal
   │
   ▼
Color Filter
   │
   ▼
Polarizer
   │
   ▼
Viewer

The actual construction is considerably more complex, but this simplified model helps explain how the display operates.

TFT Pixel

A color TFT display normally represents each pixel using red, green and blue components.

Pixel
 ┌─────────────────────┐
 │ Red │ Green │ Blue  │
 └─────────────────────┘

The intensity of the three color components determines the resulting color.

RGB Subpixels

A typical color TFT pixel is divided into three subpixels:

  • Red
  • Green
  • Blue

Each subpixel has its own electrical control.

By varying their intensities, a large range of colors can be reproduced.

TFT Resolution

Resolution specifies the number of pixels horizontally and vertically.

Common TFT resolutions include:

  • 320 × 240
  • 480 × 272
  • 480 × 320
  • 800 × 480
  • 1024 × 600
  • 1280 × 800
  • 1920 × 1080

The appropriate resolution depends on the application and display size.

TFT Aspect Ratio

Aspect ratio describes the relationship between the width and height of the display.

Examples include:

  • 4:3
  • 5:3
  • 16:9
  • 16:10

The software must normally be configured for the actual resolution and orientation of the display.

TFT Color Depth

Color depth describes how many different colors can be represented.

Common formats include:

  • RGB565
  • RGB666
  • RGB888

RGB565 uses 16 bits per pixel and is particularly common in embedded TFT displays because it provides a useful balance between color depth, memory usage and communication bandwidth.

RGB565

RGB565 allocates:

Red   = 5 bits
Green = 6 bits
Blue  = 5 bits

Total = 16 bits

This gives:

32 × 64 × 32

possible color combinations, giving 65,536 possible colors.

TFT Interfaces

TFT displays can use several different interfaces.

Common interfaces include:

  • SPI
  • Parallel RGB
  • 8080-style parallel
  • 8080-style 8-bit interface
  • 8080-style 16-bit interface
  • 8080-style 18-bit interface
  • MIPI DSI
  • LVDS
  • HDMI through suitable display electronics

The interface depends on the display controller and intended application.

SPI TFT

SPI TFT modules are popular in embedded electronics because they require relatively few microcontroller pins.

Typical connections include:

  • VCC
  • GND
  • SCLK
  • MOSI
  • CS
  • DC
  • RESET

Some modules also provide MISO for reading data from the display.

Parallel TFT

Parallel TFT interfaces transfer several bits simultaneously.

This can provide considerably higher data-transfer rates than a simple serial interface, but it requires more GPIO connections.

Parallel interfaces are useful when the display must be refreshed quickly.

8080 Interface

An 8080-style interface is commonly used by embedded TFT controllers.

Typical signals include:

  • Data bus
  • Chip select
  • Register select or data/command
  • Write
  • Read
  • Reset

The exact signal names and polarity depend on the controller.

MIPI DSI

MIPI DSI is a high-speed display interface widely used in modern mobile and embedded display systems.

It provides high bandwidth using a relatively small number of differential connections.

MIPI displays normally require much more specialized hardware and software than simple SPI TFT modules.

TFT Display Controller

The controller is responsible for receiving commands and pixel data and controlling the display panel.

Depending on the controller, it may manage:

  • Pixel addressing
  • Display timing
  • Color data
  • Orientation
  • Brightness-related settings
  • Memory
  • Display refresh

Common TFT Controllers

A number of controller families are commonly encountered in embedded displays.

Examples include:

  • ILI9341
  • ILI9486
  • ILI9488
  • ST7735
  • ST7789
  • HX8357

The controller must be identified before selecting a software library or replacement display.

ILI9341

The ILI9341 is a widely used TFT display controller found in many small color TFT modules.

It is commonly used with displays around 240 × 320 pixels and can be controlled through interfaces such as SPI or parallel connections, depending on the module.

ST7735

The ST7735 is commonly used with small color TFT displays.

It is particularly popular in embedded projects because SPI versions require relatively few connections.

ST7789

The ST7789 is another popular controller for compact color TFT displays.

Modules using this controller are available in several resolutions and physical sizes.

The exact interface and resolution depend on the particular module.

TFT Touchscreen

Many TFT displays include a touchscreen layer.

Touch technology is separate from the TFT image-producing layer.

Common touchscreen technologies include:

  • Resistive touch
  • Capacitive touch

Resistive Touchscreen

A resistive touchscreen detects pressure applied to the screen.

It can generally be operated with a finger, stylus or other suitable object.

Resistive touchscreens are often used in industrial equipment and applications where a stylus or gloved operation is required.

Capacitive Touchscreen

Capacitive touchscreens detect changes in an electrical field caused by a conductive object such as a finger.

They are widely used in smartphones, tablets and modern user interfaces.

TFT Backlight

TFT LCD panels require a light source because the liquid-crystal layer does not generate visible light by itself.

Modern TFT modules commonly use LEDs as the backlight source.

The backlight may consist of several LEDs arranged behind the panel.

TFT Backlight Driver

The backlight LEDs may require a dedicated driver circuit.

Depending on the module, the driver may include:

  • Current regulation
  • PWM brightness control
  • Boost conversion
  • Protection circuitry

Never connect a raw LED backlight directly to a supply without checking its electrical requirements.

TFT Brightness Control

Brightness is often controlled by adjusting the backlight current.

PWM is commonly used to control the effective brightness.

Higher PWM duty cycle → Brighter

Lower PWM duty cycle  → Dimmer

The PWM signal should be applied to the appropriate backlight-enable or dimming input according to the module design.

TFT Power Requirements

A TFT module may require several different power rails internally.

The module may contain regulators that generate the required voltages from a single external supply.

Always distinguish between:

  • Panel supply voltage
  • Logic voltage
  • Backlight voltage
  • Touch-controller voltage

TFT Wiring

Before wiring a TFT module, identify:

  • Supply voltage
  • Logic voltage
  • Ground
  • Interface type
  • Controller
  • Data lines
  • Clock
  • Chip select
  • Data/command signal
  • Reset
  • Backlight connection

The exact pinout must be obtained from the module documentation.

TFT with a Microcontroller

Small SPI TFT modules can be connected directly to many microcontrollers.

Microcontroller
      │
      │ SPI
      ▼
TFT Controller
      │
      ▼
TFT Panel

The microcontroller sends commands and pixel data to the display controller.

TFT with ESP32

The ESP32 is well suited to small SPI TFT displays because it provides hardware SPI peripherals and sufficient processing capability for many embedded graphical interfaces.

Possible applications include:

  • Internet radio displays
  • Audio equipment interfaces
  • Sensor dashboards
  • IoT control panels
  • Network monitors
  • Home automation interfaces
  • Digital instruments

TFT Graphics

A graphical TFT can display:

  • Text
  • Lines
  • Rectangles
  • Circles
  • Icons
  • Images
  • Graphs
  • Menus
  • Animations

The graphical capabilities depend on the display controller, resolution, color depth and available memory.

TFT Frame Buffer

A frame buffer stores pixel information before it is sent to the display.

For an RGB565 display:

16 bits per pixel

Therefore a full-screen frame buffer can require significant RAM.

For example, a 320 × 240 RGB565 frame buffer requires:

320 × 240 × 2 bytes

= 153,600 bytes

This is why embedded systems often use partial buffers or draw directly to the display rather than storing the entire screen in RAM.

TFT Orientation

Many TFT controllers allow the display orientation to be changed through software.

Common orientations include:

  • Portrait
  • Landscape
  • Rotated portrait
  • Rotated landscape

The controller's memory-access configuration normally determines the orientation.

TFT Touch Interface

A touchscreen may use its own controller and communication interface.

For example, a TFT module can contain:

TFT Controller
      │
      ├── Display
      │
      └── Backlight

Touch Controller
      │
      └── Touch Panel

The display and touch interfaces therefore need to be considered separately.

TFT Response Time

Response time describes how quickly the pixels can change their optical state.

A slow response time can cause motion blur or ghosting in rapidly changing images.

The actual response characteristics depend on the TFT panel technology.

TFT Viewing Angle

Viewing angle describes how well the image remains visible when viewed from different directions.

Viewing characteristics depend on the LCD panel technology and construction.

TFT Contrast

Contrast describes the difference between dark and bright portions of the image.

TFT contrast depends on factors including:

  • Panel technology
  • Backlight
  • Optical layers
  • Viewing angle
  • Ambient light

TFT Power Consumption

TFT power consumption depends on:

  • Panel size
  • Resolution
  • Backlight brightness
  • Refresh rate
  • Controller activity
  • Touchscreen electronics

For many small TFT modules, the backlight can represent a significant portion of the total power consumption.

TFT Refresh Rate

The refresh rate describes how frequently the display image is updated.

A higher refresh rate can provide smoother motion, although the required rate depends on the application and controller.

TFT Initialization

A TFT controller normally requires a specific initialization sequence.

The sequence can configure:

  • Power settings
  • Pixel format
  • Display orientation
  • Timing
  • Frame rate
  • Gamma settings
  • Display activation

The correct initialization commands depend on the controller.

TFT Software Libraries

Microcontroller development environments often provide libraries for common TFT controllers.

Before selecting a library, verify:

  • Controller
  • Resolution
  • Interface
  • Color format
  • Display orientation

A library designed for one controller may not work correctly with another controller even when the displays look similar.

TFT Testing

When a TFT does not work, begin with the power supply and wiring.

  1. Check the supply voltage.
  2. Check ground.
  3. Check logic voltage.
  4. Check the backlight.
  5. Check controller identification.
  6. Check interface wiring.
  7. Check reset.
  8. Check initialization.
  9. Check communication signals.
  10. Check the software configuration.

TFT Backlight Works but Screen Is Blank

If the backlight operates but the image is blank, possible causes include:

  • Incorrect controller configuration
  • Incorrect initialization
  • Incorrect SPI wiring
  • Incorrect data/command connection
  • Reset problem
  • Incorrect display orientation settings
  • Wrong software library

TFT Shows White Screen

A completely white screen can indicate that the backlight is operating but the display controller is not being correctly initialized or driven.

Check:

  • Controller type
  • Reset signal
  • SPI or parallel connections
  • Data/command signal
  • Chip select
  • Initialization sequence
  • Supply voltage

TFT Shows Random Colors

Random colors or corrupted graphics may be caused by:

  • Incorrect pixel format
  • Incorrect SPI timing
  • Wrong controller configuration
  • Communication errors
  • Unstable power supply
  • Incorrect initialization

TFT Flickering

Flickering may result from:

  • Unstable power supply
  • Incorrect refresh configuration
  • Communication errors
  • Insufficient bandwidth
  • Backlight problems
  • Hardware faults

TFT Touch Not Working

If the display works but the touchscreen does not, the display and touch circuits should be tested separately.

Check:

  • Touch controller
  • Touch interface
  • Touch power supply
  • Touch wiring
  • Driver/library support
  • Touch calibration

TFT Communication Testing

An oscilloscope or logic analyzer can be used to inspect the communication between the microcontroller and TFT controller.

For SPI, check:

  • Clock
  • MOSI
  • MISO where applicable
  • Chip select
  • Data/command
  • Reset

Compare the observed signals with the controller's documentation.

TFT Replacement

A TFT replacement should not be selected based only on screen size.

Check:

  • Resolution
  • Controller
  • Interface
  • Pinout
  • Supply voltage
  • Logic voltage
  • Backlight requirements
  • Touch technology
  • Physical dimensions
  • Mounting holes
  • Viewing area

TFT Selection

  1. Determine the required screen size.
  2. Determine the required resolution.
  3. Choose the required color depth.
  4. Determine the interface.
  5. Identify the controller.
  6. Check supply voltage.
  7. Check logic voltage.
  8. Check backlight requirements.
  9. Determine whether touch is required.
  10. Check software-library support.
  11. Check mounting dimensions.
  12. Check viewing angle.
  13. Check operating temperature.

TFT Applications

  • Digital instruments
  • Oscilloscopes
  • Multimeters
  • Audio equipment
  • Automotive dashboards
  • Industrial HMIs
  • Medical instruments
  • Printers
  • Control panels
  • IoT devices
  • Embedded systems
  • Portable electronics
  • Consumer electronics

TFT vs OLED

Feature TFT LCD OLED
Light source Requires backlight Pixels emit their own light
Black level Depends on LCD technology Very deep black possible
Backlight Required Not required
Burn-in Generally low Possible depending on technology and use
Typical applications Instruments, monitors and embedded displays Phones, portable displays and embedded interfaces

TFT vs Character LCD

Feature TFT Character LCD
Graphics Full graphical display Primarily text and predefined characters
Color Commonly available Usually monochrome
Resolution High Character-based
Interface SPI, parallel, RGB, MIPI and others Parallel or serial adapter
Complexity Higher Lower

Advantages of TFT Displays

  • High resolution
  • Full graphical capability
  • Color support
  • Available in many sizes
  • Suitable for touchscreens
  • Many controller options
  • Suitable for complex graphical interfaces

Limitations of TFT Displays

  • Requires a backlight
  • Higher power consumption than simple character displays
  • More complex software
  • Requires more memory for graphics
  • Controller compatibility must be considered
  • High-resolution displays require greater communication bandwidth

Common TFT Design Mistakes

  • Using the wrong controller library
  • Applying the wrong supply voltage
  • Ignoring logic-level requirements
  • Using the wrong pinout
  • Incorrect SPI configuration
  • Incorrect display resolution
  • Incorrect color format
  • Ignoring backlight current requirements
  • Insufficient power supply capacity
  • Ignoring the touch controller interface

Key Points

  • TFT stands for Thin-Film Transistor.
  • TFT LCDs are active-matrix displays.
  • Each pixel is controlled using thin-film transistor technology.
  • TFT displays can provide high-resolution color graphics.
  • Common interfaces include SPI and parallel interfaces.
  • Higher-end displays can use interfaces such as MIPI DSI or LVDS.
  • Common embedded TFT controllers include ILI9341, ST7735 and ST7789.
  • TFT LCDs require a backlight.
  • The backlight can represent a significant portion of the display's power consumption.
  • Touchscreen electronics are separate from the TFT display circuitry.
  • Always verify controller, resolution, interface and voltage before replacement.

Continue Learning About TFT Displays

The next pages can cover TFT types, controllers, SPI TFTs, parallel TFTs, RGB interfaces, touchscreens, backlights, wiring, programming, testing, troubleshooting, replacement and selection.