1. Introduction
The Estardyn 2.0-inch TFT LCD Display with Rotary Encoder EC11 is an integrated module designed to simplify DIY electronics projects. It combines a 2.0-inch SPI interface display with an EC11 rotary encoder and an additional push button on a single board. This integrated design reduces wiring complexity, making it ideal for use with microcontrollers like ESP32 and Raspberry Pi.


2. Product Overview
2.1 Key Features
- Display Type: 2.0-inch TFT LCD
- Interface: SPI for display, independent connections for rotary encoder and button.
- Integrated Components: TFT LCD, EC11 Rotary Encoder, Push Button.
- Compatibility: Designed for DIY projects with microcontrollers like ESP32 and Raspberry Pi.
- Resolution: Advertised as 128x160 pixels, but often functions at 240x320 pixels (IPS display).
2.2 Component Identification

The module consists of:
- 2.0-inch TFT LCD: The visual output component.
- EC11 Rotary Encoder: A rotational input device, typically used for menu navigation or value adjustment.
- Push Button (KEY0): An additional tactile button for user input.
- Pin Headers: For connecting the module to your microcontroller.
3. Specifications
| Attribute | Value |
|---|---|
| Brand Name | Estardyn |
| Model Number | 2.0 TFT |
| Type | TFT |
| Display Mode | 128*160 (Note: Many users report 240*320 actual resolution) |
| Resolution | 128*160 (Note: Many users report 240*320 actual resolution) |
| Origin | Mainland China |
| High-concerned chemical | none |
| Display Controller | ST7789 (Confirmed by user testing) |
| Display Interface | SPI |
4. Setup and Wiring
This section details the pin definitions and recommended wiring for the module.
4.1 Pin Definitions

- GND: Power Ground
- VCC: Power supply positive (Typically 3.3V. See important note below.)
- SCL: Clock interface for SPI communication of the TFT screen
- SDA: Data interface for SPI communication of the TFT screen
- RES: Reset pin
- DC: Data/Command selection
- CS: Chip select signal, effective with low voltage
- BLK: TFT Backlight Adjustment (default is fully on, can be left unconnected)
- XO: Connects to one of the two pins of the EC11 rotary encoder (Phase A or Phase B)
- PUSH: Key interface for the EC11 rotary encoder's push button.
Important Voltage Warning: Screen control requires a 3.3V power supply. Direct 5V from a microcontroller like an Arduino may damage the display driver. Use a bidirectional voltage converter if your microcontroller operates at 5V.
4.2 Rotary Encoder Circuit

4.3 Example Wiring (ESP32-S3)
Based on user feedback, here is a confirmed working wiring configuration for an ESP32-S3:
- SCL: Connect to ESP32-S3 Pin 12
- SDA: Connect to ESP32-S3 Pin 11 (MOSI)
- CS: Connect to ESP32-S3 Pin 10
- DC: Connect to ESP32-S3 Pin 9
- RES: Connect to ESP32-S3 Pin 7
- VCC: Connect to ESP32-S3 3.3V output
- GND: Connect to ESP32-S3 GND
- BLK: Can be left unconnected or connected to 3.3V (default is fully on).
- XO (Rotary Encoder Phase A/B): Connect to a digital input pin on ESP32-S3.
- PUSH (Rotary Encoder Button): Connect to a digital input pin on ESP32-S3.


5. Operation
5.1 Display Control
The display uses the ST7789 controller and communicates via SPI. You will need a compatible library for your chosen microcontroller. For Arduino and ESP32 platforms, the Adafruit GFX library combined with the Adafruit ST7789 library is highly recommended.
arduino_gfx *gfx = new arduino_st7789(bus, tft_rst, 0 /* rotation */, true /* ips */);Ensure your code initializes the display with the correct resolution (e.g., 240x320) and rotation settings.
5.2 Rotary Encoder and Button
The EC11 rotary encoder provides rotational input (clockwise/counter-clockwise) and a push-button function. These are independent of the display's SPI communication and should be read as standard digital inputs on your microcontroller.
- Rotary Encoder: Connect the two output pins (Phase A and Phase B, labeled XO) to digital input pins on your microcontroller. You will need to implement code to detect changes in these pins to determine rotation direction.
- Push Button (KEY0): Connect the PUSH pin to a digital input pin on your microcontroller. This pin will typically be pulled high internally or externally and go low when pressed.
6. User Tips
- Verify Resolution: While advertised as 128x160, many units are actually 240x320 and appear to be IPS displays. Experiment with both resolutions in your code for optimal results.
- Power Supply: Always use a 3.3V power supply for the VCC pin. If your microcontroller operates at 5V, use a logic level converter to protect the display.
- Libraries: For ESP32 and Arduino, the combination of Adafruit GFX and Adafruit ST7789 libraries is a proven solution for display control.
- Backlight: The BLK pin controls the backlight. It is typically pulled high by default for full brightness. You can connect it to a PWM-capable pin on your microcontroller for brightness control if desired.
- Encoder Feel: Some users note the rotary encoder may feel less precise than high-end encoders. This is normal for the component type.
7. Troubleshooting
- Display Not Lighting Up:
- Check VCC and GND connections. Ensure 3.3V is supplied.
- Verify BLK pin connection (if used) or ensure it's floating/pulled high.
- Confirm power to your microcontroller.
- No Image/Garbled Image:
- Double-check all SPI wiring (SCL, SDA, RES, DC, CS).
- Ensure the correct display controller (ST7789) and resolution (try 240x320 if 128x160 fails) are set in your code.
- Verify that your microcontroller's SPI pins are correctly configured.
- If using a 5V microcontroller, ensure a logic level converter is properly installed for all data lines.
- Rotary Encoder Not Responding:
- Check wiring for XO (Phase A/B) and PUSH pins to your microcontroller's digital inputs.
- Ensure pull-up resistors are enabled for the input pins in your code, or use external pull-ups if necessary.
- Verify your code logic for reading encoder states and button presses.
- Physical Damage: Inspect the module upon arrival for any visible damage or artifacts on the PCB or display. If found, contact your supplier.
8. Maintenance
The Estardyn TFT LCD Display with Rotary Encoder EC11 module is a low-maintenance component. Follow these guidelines to ensure its longevity:
- Handling: Handle the module by its edges to avoid touching the display surface or delicate components.
- Cleaning: Use a soft, dry, lint-free cloth to gently clean the display surface. Avoid abrasive cleaners or excessive moisture.
- Storage: Store the module in an anti-static bag in a cool, dry environment when not in use.
- Power: Always disconnect power before making or changing any wiring connections.
9. Warranty and Support
For technical support, troubleshooting assistance beyond this manual, or warranty inquiries, please contact the Estardyn Factory Store directly through the platform where you purchased the product.
Please provide your order number and a detailed description of the issue when seeking support.