

The Adafruit 1.9in 320x170 TFT (Manufacturer Part ID: 5394) is a compact, vibrant display module designed for embedded systems and DIY electronics projects. With a resolution of 320x170 pixels, this thin-film transistor (TFT) display offers crisp and colorful visuals, making it ideal for applications requiring graphical output in a small form factor. It is particularly well-suited for projects such as user interfaces, data visualization, and portable devices.








The Adafruit 1.9in 320x170 TFT is built for versatility and ease of use. Below are its key technical details:
| Parameter | Value |
|---|---|
| Display Type | TFT (Thin-Film Transistor) |
| Resolution | 320x170 pixels |
| Screen Size | 1.9 inches (diagonal) |
| Interface | SPI (Serial Peripheral Interface) |
| Operating Voltage | 3.3V (logic level) |
| Backlight | LED, adjustable brightness |
| Dimensions | 42.5mm x 24.5mm x 4.5mm |
| Weight | ~5g |
The display module features a straightforward pinout for easy integration with microcontrollers. Below is the pin configuration:
| Pin Name | Description | Notes |
|---|---|---|
| VIN | Power Input (3.3V or 5V) | Powers the display and backlight |
| GND | Ground | Common ground for the circuit |
| SCK | Serial Clock (SPI) | Connect to microcontroller's SPI clock pin |
| MOSI | Master Out Slave In (SPI) | Data input to the display |
| CS | Chip Select | Active-low signal to enable the display |
| DC | Data/Command Select | Selects between data and command modes |
| RST | Reset | Resets the display module |
| BL | Backlight Control | PWM-capable pin for brightness adjustment |
The Adafruit 1.9in 320x170 TFT is designed for seamless integration with microcontrollers such as the Arduino UNO. Below are the steps to use the display in your project:
VIN pin to a 3.3V or 5V power source and the GND pin to ground.SCK and MOSI pins to the corresponding SPI pins on your microcontroller.CS pin to a digital pin on your microcontroller.DC pin to another digital pin for data/command selection.RST pin to a digital pin for resetting the display.BL pin to a PWM-capable pin for brightness control, or tie it to VIN for full brightness.Below is an example of how to use the Adafruit 1.9in 320x170 TFT with an Arduino UNO. This example uses the Adafruit GFX and Adafruit ST7735 libraries, which can be installed via the Arduino Library Manager.
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_ST7735.h> // Hardware-specific library for ST7735
// Define pins for the TFT display
#define TFT_CS 10 // Chip Select pin
#define TFT_RST 9 // Reset pin
#define TFT_DC 8 // Data/Command pin
// Initialize the display object
Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
Serial.println("Initializing TFT...");
// Initialize the display
tft.initR(INITR_MINI160x80); // Use INITR_MINI160x80 for 320x170 displays
tft.setRotation(1); // Set display orientation (1 = landscape)
// Clear the screen with a black background
tft.fillScreen(ST77XX_BLACK);
// Display a test message
tft.setTextColor(ST77XX_WHITE);
tft.setTextSize(1);
tft.setCursor(10, 10);
tft.println("Hello, TFT!");
}
void loop() {
// Add your code here to update the display
}
No Display Output:
SCK, MOSI, CS, DC).VIN pin is receiving the correct voltage (3.3V or 5V).RST pin is properly connected or tied high.Flickering or Dim Display:
BL) is connected to a stable voltage or PWM signal.Incorrect Colors or Orientation:
setRotation() parameter in your code.INITR_MINI160x80) is used.Q: Can I use this display with a 5V microcontroller?
A: Yes, the display supports 5V logic levels on the VIN pin, but the SPI pins operate at 3.3V. Use a level shifter for reliable communication.
Q: What is the maximum frame rate for this display?
A: The frame rate depends on the SPI clock speed. For optimal performance, use an SPI clock of up to 15 MHz.
Q: Can I use this display with platforms other than Arduino?
A: Yes, the display is compatible with other platforms like Raspberry Pi, ESP32, and STM32. Ensure you configure the SPI interface and use compatible libraries.
By following this documentation, you can effectively integrate the Adafruit 1.9in 320x170 TFT into your projects and troubleshoot common issues with ease.