Estardyn 2.0 inch TFT SPI LCD

Contents

Estardyn 2.0 Inch TFT LCD Display Module User Manual

Model: 2.0 inch TFT SPI LCD

Brand: Estardyn

1. Introduction

This manual provides detailed instructions for the Estardyn 2.0 Inch 240x320 Full Color TFT LCD Display Module. This module features an ST7789 controller and supports both SPI and 8-bit 8080 parallel interfaces, making it suitable for various microcontroller projects, including those based on Arduino. Please read this manual thoroughly before attempting to set up or operate the module.

Estardyn 2.0 Inch TFT LCD Display Module with example display
Figure 1: Estardyn 2.0 Inch TFT LCD Display Module

2. Specifications

The following table outlines the key technical specifications of the Estardyn 2.0 Inch TFT LCD Display Module:

FeatureSpecification
Model Number2.0 inch TFT SPI LCD
Panel TypeTFT
Display ModeNormal Black
Resolution240 x RGB x 320 pixels
Color DepthFull color 262K
Driver ICST7789
Interface4-wire SPI (default) / 8-bit 8080 Parallel
LCM Input Voltage (VDD)3.3V
Backlight3 white LEDs in parallel (If = 60mA, VF = 3.2V)
Operating Temperature-20°C to 70°C
Storage Temperature-30°C to 80°C
Module Dimensions (L x W x T)58.04mm x 37.5mm x 6.5mm (Max)
Effective Area (A/A) (L x W)30.6mm x 40.8mm
Viewing AngleFull view angle
Technical drawing and specifications of the Estardyn 2.0 Inch TFT LCD Module
Figure 2: Technical Drawing and Specifications

3. Product Overview

3.1 Pinout Description

The module features a standard 8-pin header for connection to a microcontroller. The pin functions are detailed below:

Pin No.LabelDescription
1GNDGround connection
2VDDPower supply (3.3V)
3SCLSerial Clock (SPI) / Data Bus Line (Parallel)
4SDASerial Data (SPI) / Data Bus Line (Parallel)
5RESReset pin
6DCData/Command selection pin
7CSChip Select pin
8BLBacklight control pin
Front view of the LCD module showing pin labels
Figure 3: Module Pinout

3.2 Interface Selection

The module supports both 4-wire SPI and 8-bit 8080 parallel interfaces. The interface is selected using jumpers on the back of the module:

  • 4-wire SPI (Default): Ensure jumpers R3 and R5 are populated.
  • 8-bit 8080 Parallel: Ensure jumpers R3 and R6 are populated.

Verify the correct jumper configuration for your desired interface before connecting the module.

Back view of the LCD module showing interface selection jumpers
Figure 4: Interface Selection Jumpers (R3, R5, R6)

4. Setup Instructions

This section provides general guidance for connecting the LCD module to a microcontroller. Specific wiring may vary depending on your microcontroller and chosen interface.

4.1 Power Supply

  • Connect the VDD pin to a stable 3.3V power source from your microcontroller.
  • Connect the GND pin to the ground of your microcontroller.
  • The backlight (BL) pin can be connected directly to 3.3V for continuous illumination or to a PWM-capable pin for brightness control.

For 4-wire SPI communication, connect the module pins to your microcontroller as follows (example for Arduino UNO/ESP32, check specific board documentation for SPI pins):

  • GND: Microcontroller GND
  • VDD: Microcontroller 3.3V
  • SCL: Microcontroller SPI Clock (SCK)
  • SDA: Microcontroller SPI Data Out (MOSI)
  • RES: Microcontroller Digital Pin (e.g., D9)
  • DC: Microcontroller Digital Pin (e.g., D8)
  • CS: Microcontroller Digital Pin (e.g., D10 for hardware CS, or any digital pin for software CS)
  • BL: Microcontroller 3.3V or PWM pin

Ensure the jumpers on the back of the module are set for 4-wire SPI (R3 and R5 populated).

4.3 Parallel Interface Connection (Advanced)

For 8-bit 8080 parallel communication, a larger number of pins are required. This interface offers faster data transfer but uses more GPIOs. Connect the module pins to your microcontroller's data bus and control pins:

  • GND: Microcontroller GND
  • VDD: Microcontroller 3.3V
  • SCL (DB0): Microcontroller Data Bus Pin 0
  • SDA (DB1): Microcontroller Data Bus Pin 1
  • ... (and so on for DB2-DB7)
  • RES: Microcontroller Digital Pin
  • DC: Microcontroller Digital Pin
  • CS: Microcontroller Digital Pin
  • BL: Microcontroller 3.3V or PWM pin

Ensure the jumpers on the back of the module are set for 8-bit 8080 Parallel (R3 and R6 populated).

5. Operating Instructions

To operate the Estardyn TFT LCD module, you will typically use a compatible library for your chosen microcontroller platform (e.g., Arduino IDE).

5.1 Software Setup (Arduino Example)

  1. Install Libraries: For the ST7789 controller, popular libraries include Adafruit GFX Library and Adafruit ST7735 and ST7789 Library. Install these via the Arduino IDE's Library Manager.
  2. Include Headers: In your Arduino sketch, include the necessary headers:#include <Adafruit_GFX.h>
    #include <Adafruit_ST7789.h>
  3. Define Pins: Define the pins connected to RES, DC, CS, and BL in your sketch. For SPI, also define the hardware SPI pins (SCK, MOSI).
  4. Initialize Display: Create an instance of the Adafruit_ST7789 object, passing the pin definitions. Call the init() method to initialize the display.
  5. Set Rotation: Use setRotation() to adjust the display orientation (0-3).
  6. Fill Screen: Use fillScreen(color) to clear the display with a specific color.

5.2 Basic Display Functions

Once initialized, you can use the functions provided by the GFX library to draw on the display:

  • setTextSize(size): Set text size.
  • setTextColor(color): Set text color.
  • setCursor(x, y): Set cursor position for text.
  • print("text") / println("text"): Print text to the display.
  • drawPixel(x, y, color): Draw a single pixel.
  • drawLine(x0, y0, x1, y1, color): Draw a line.
  • drawRect(x, y, w, h, color): Draw a rectangle outline.
  • fillRect(x, y, w, h, color): Draw a filled rectangle.
  • drawCircle(x, y, r, color): Draw a circle outline.
  • fillCircle(x, y, r, color): Draw a filled circle.
  • drawBitmap(x, y, bitmap, w, h, color): Draw a bitmap image.
  • display(): For some libraries, this function is needed to push the buffer to the display. Check your specific library documentation.

6. Troubleshooting

If you encounter issues with your Estardyn TFT LCD module, consider the following troubleshooting steps:

  • Blank Screen:
    • Verify power connections (VDD to 3.3V, GND to GND).
    • Ensure the backlight (BL) pin is connected to 3.3V or a controlled pin that is HIGH.
    • Check all wiring for correct pin assignments and secure connections.
    • Confirm the correct interface (SPI/Parallel) is selected via the jumpers on the back of the module.
    • Ensure your code initializes the display correctly and that the ST7789 library is compatible with your microcontroller and wiring.
  • Incorrect Colors or Distorted Display:
    • Double-check the pin connections, especially for data lines (SDA/MOSI) and control lines (DC, CS, RES).
    • Ensure the correct display resolution (240x320) is set in your software library initialization.
    • Verify that the library's color format matches the display's (e.g., RGB565).
  • Communication Errors:
    • For SPI, ensure the SCK and MOSI pins are correctly identified and connected.
    • Check the SPI clock speed in your code; some displays may require a slower speed during initialization.
    • Ensure the CS (Chip Select) pin is correctly toggled by the library.
  • Module Not Responding:
    • Perform a hard reset by momentarily disconnecting and reconnecting power.
    • Check if the RES (Reset) pin is correctly wired and being pulsed by the microcontroller during initialization.

7. Warranty and Support

For technical support, warranty claims, or further assistance, please contact your retailer or the manufacturer directly. Keep your purchase receipt as proof of purchase.

© 2024 Estardyn. All rights reserved.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.