Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit 1.3in 240x240 IPS TFT: Examples, Pinouts, and Specs

Image of Adafruit 1.3in 240x240 IPS TFT
Cirkit Designer LogoDesign with Adafruit 1.3in 240x240 IPS TFT in Cirkit Designer

Introduction

The Adafruit 1.3-inch 240x240 IPS TFT is a compact and vibrant display module suitable for adding a small but high-resolution screen to your electronics projects. With In-Plane Switching (IPS) technology, it offers better viewing angles and color reproduction compared to traditional TFT LCDs. This display is commonly used in wearable devices, portable instruments, and small embedded systems where space is at a premium but a high-quality display is required.

Explore Projects Built with Adafruit 1.3in 240x240 IPS TFT

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Mega 2560 Controlled TFT Touchscreen Interface
Image of Tablero Moto: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
This circuit connects an Arduino Mega 2560 microcontroller to a 3.5-inch 480x320 TFT LCD display. The Arduino provides power, ground, and digital signals to control the display, including data lines for pixel information and control lines for reset, write, and command/data selection. The embedded code initializes the display and configures the Arduino's pins for communication, likely to create a user interface or visual output for a project.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Powered 1.3 inch TFT Display Module for Visual Data Output
Image of ESP32+ST7789: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
This circuit connects an ESP32 microcontroller to a 1.3 inch TFT display module (ST7789). The ESP32 provides power and control signals to the display, enabling it to show graphical data.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO and ILI9341 TFT Display Interactive Graphics Demo
Image of CE Test ili9341: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
This circuit interfaces an Arduino UNO with an ILI9341 TFT display using two bi-directional logic level converters to manage voltage differences. The Arduino runs a program to test various graphical functions on the TFT display, demonstrating its capabilities through a series of visual benchmarks.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Controlled TFT Display with Multiple Pushbuttons
Image of rey: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
This circuit features an Arduino Nano microcontroller connected to a ST7735 128x128 1.44 TFT I2C Color display and multiple pushbuttons. The display is interfaced with the Arduino via digital pins for control signals and SPI pins for data transfer. The pushbuttons are connected to various digital and analog input pins on the Arduino, likely intended for user input to control the display or other functions within the code.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit 1.3in 240x240 IPS TFT

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Tablero Moto: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
Arduino Mega 2560 Controlled TFT Touchscreen Interface
This circuit connects an Arduino Mega 2560 microcontroller to a 3.5-inch 480x320 TFT LCD display. The Arduino provides power, ground, and digital signals to control the display, including data lines for pixel information and control lines for reset, write, and command/data selection. The embedded code initializes the display and configures the Arduino's pins for communication, likely to create a user interface or visual output for a project.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32+ST7789: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
ESP32-Powered 1.3 inch TFT Display Module for Visual Data Output
This circuit connects an ESP32 microcontroller to a 1.3 inch TFT display module (ST7789). The ESP32 provides power and control signals to the display, enabling it to show graphical data.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CE Test ili9341: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
Arduino UNO and ILI9341 TFT Display Interactive Graphics Demo
This circuit interfaces an Arduino UNO with an ILI9341 TFT display using two bi-directional logic level converters to manage voltage differences. The Arduino runs a program to test various graphical functions on the TFT display, demonstrating its capabilities through a series of visual benchmarks.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of rey: A project utilizing Adafruit 1.3in 240x240 IPS TFT in a practical application
Arduino Nano Controlled TFT Display with Multiple Pushbuttons
This circuit features an Arduino Nano microcontroller connected to a ST7735 128x128 1.44 TFT I2C Color display and multiple pushbuttons. The display is interfaced with the Arduino via digital pins for control signals and SPI pins for data transfer. The pushbuttons are connected to various digital and analog input pins on the Arduino, likely intended for user input to control the display or other functions within the code.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Technical Details

  • Display Size: 1.3 inches diagonal
  • Resolution: 240x240 pixels
  • Interface: SPI (Serial Peripheral Interface)
  • Color Depth: 16-bit (65K colors)
  • Operating Voltage: 3.3V
  • Logic Level: 3.3V (5V tolerant)
  • Current Draw: Typically 20mA (depends on brightness and content)
  • Viewing Angle: Wide viewing angle due to IPS technology

Pin Configuration and Descriptions

Pin Number Pin Name Description
1 GND Ground
2 VCC Power supply (3.3V)
3 SCK Serial Clock for SPI communication
4 MOSI Master Out Slave In for SPI communication
5 CS Chip Select for SPI communication
6 D/C Data/Command control pin
7 RESET Reset pin
8 BL Backlight control pin

Usage Instructions

Integration with a Circuit

To use the Adafruit 1.3-inch 240x240 IPS TFT display in a circuit, follow these steps:

  1. Connect the display's VCC pin to a 3.3V power supply.
  2. Connect the GND pin to the ground of your power supply.
  3. Interface the SCK, MOSI, CS, and D/C pins with the corresponding SPI pins on your microcontroller.
  4. The RESET pin can be connected to a digital pin on your microcontroller for hardware reset control.
  5. The BL pin controls the backlight and can be connected to a PWM-capable pin for brightness control.

Best Practices

  • Use a level shifter if you are interfacing with a 5V microcontroller to ensure the logic levels are 3.3V.
  • Avoid exposing the display to direct sunlight for extended periods to prevent damage.
  • Handle the display with care to avoid pressure on the screen and connections.

Example Code for Arduino UNO

#include <Adafruit_GFX.h>         // Core graphics library
#include <Adafruit_ST7789.h>      // Hardware-specific library for ST7789

// Pin definitions
#define TFT_CS        10          // Chip select line for TFT display
#define TFT_RST       9           // Reset line for TFT (or connect to +3V3)
#define TFT_DC        8           // Data/command line for TFT
#define TFT_BL        6           // Backlight control pin (optional)

// Initialize Adafruit ST7789 TFT library
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);

void setup() {
  pinMode(TFT_BL, OUTPUT);       // Set backlight pin to output mode
  digitalWrite(TFT_BL, HIGH);    // Turn on the backlight

  tft.init(240, 240);            // Initialize display with its resolution
  tft.fillScreen(ST77XX_BLACK);  // Clear the screen to black
}

void loop() {
  // Example: Draw a red rectangle
  tft.drawRect(50, 50, 100, 100, ST77XX_RED);
}

Ensure you have installed the Adafruit GFX and ST7789 libraries before uploading this code to your Arduino UNO.

Troubleshooting and FAQs

Common Issues

  • Display not powering on: Check the connections to VCC and GND, and ensure the power supply is 3.3V.
  • No image on the display: Verify that the SPI connections are correct and that the correct pins are defined in your code.
  • Dim or flickering backlight: Ensure the BL pin is connected properly and receiving a PWM signal if brightness control is implemented.

Solutions and Tips

  • Double-check wiring, especially the SPI lines and power connections.
  • Make sure the libraries are correctly installed in your Arduino IDE.
  • If using the backlight control, ensure the PWM signal is within the acceptable range.

FAQs

Q: Can I use this display with a 5V microcontroller? A: Yes, but ensure that the logic levels for the SPI interface are shifted down to 3.3V.

Q: How can I adjust the brightness of the display? A: Connect the BL pin to a PWM-capable pin on your microcontroller and adjust the duty cycle to control brightness.

Q: Is it possible to use this display for outdoor applications? A: The display can be used outdoors but is not optimized for direct sunlight visibility. Consider an additional sun-readable overlay or shade for better visibility.

For further assistance, consult the Adafruit support forums or the product's official documentation.