LILYGO VGA32 V1.4 Controller

Contents

LILYGO® TTGO VGA VGA32 Module V1.4 User Manual

PSRAM ESP32 PS/2 Mouse and Keyboard Controller with Graphics Library, Game Engine, and ANSI/VT Terminal

1. Introduction

The LILYGO® TTGO VGA VGA32 Module V1.4 is a versatile development board designed around the ESP32 microcontroller, offering VGA output capabilities, PS/2 input for mouse and keyboard, and integrated PSRAM. This module is ideal for projects requiring graphical output, retro gaming emulation, or custom terminal applications. It supports a graphics library, game engine functionalities, and can act as an ANSI/VT terminal.

Front and back view of the LILYGO VGA32 V1.4 module
Figure 1: Front and back view of the LILYGO VGA32 V1.4 module. This image shows the layout of components on both sides of the board, including the ESP32 chip, VGA port, PS/2 ports, and USB-C connector.

2. Setup Guide

  1. Connect VGA Display: Connect a standard VGA cable from your monitor to the VGA port on the VGA32 module.
  2. LILYGO VGA32 module connected to a VGA cable
    Figure 2: The LILYGO VGA32 module with a VGA cable securely connected to its VGA port.
  3. Connect PS/2 Peripherals: Plug your PS/2 keyboard into the purple PS/2 port and your PS/2 mouse into the green PS/2 port on the module.
  4. Angled view of the LILYGO VGA32 module showing VGA port, audio jack, and PS/2 ports
    Figure 3: Close-up view of the LILYGO VGA32 module highlighting the VGA port, audio jack, and the two PS/2 ports (purple for keyboard, green for mouse).
  5. Insert TF Card (Optional but Recommended): If your application requires it, insert a TF (MicroSD) card containing the necessary firmware or program files into the TF card slot.
  6. Connect Power: Connect the module to a power source using a USB-C cable plugged into the USB-C port. The module will power on automatically.
  7. Pinout Diagram Reference: For advanced users or custom wiring, refer to the detailed pinout diagram below.
Detailed pinout diagram for LILYGO VGA32 V1.4 module
Figure 4: Detailed pinout diagram for the LILYGO VGA32 V1.4 module. This diagram illustrates the connections for VGA (Red 21/22, Green 18/19, Blue 4/5, VSYNC 15, HSYNC 23), TF Card (CS 13, Mosi 12, Miso 2, CLK 14), PS/2 Keyboard (CLK 33, Data 32), PS/2 Mouse (CLK 26, Data 27), and Headset jack (34, 2, 39, GND 14, 3V3 12).

Setup Demonstration Video

Video 1: This video demonstrates the step-by-step connection of a VGA cable, PS/2 keyboard, and USB power to the LILYGO VGA32 module, followed by a live demonstration of a game running on a connected monitor.

3. Operating Instructions

Once the module is set up and powered, its operation depends on the firmware loaded onto the ESP32. Typically, the module will boot up and display output on the connected VGA monitor. PS/2 keyboard and mouse inputs will be recognized by the ESP32 for interaction.

  • Graphics Applications: Utilize the integrated graphics library to render custom visuals, user interfaces, or data visualizations on the VGA display.
  • Game Engine: Develop or run simple games using the module's game engine capabilities, interacting via the PS/2 keyboard and mouse.
  • ANSI/VT Terminal: Configure the module to function as an ANSI/VT compatible terminal, allowing serial communication and text-based interaction.
LILYGO VGA32 module in use with a monitor, keyboard, and mouse, displaying a graphical interface
Figure 5: The LILYGO VGA32 module connected to a monitor, keyboard, and mouse, demonstrating its capability to display a graphical interface or run applications.

4. Maintenance

  • Cleaning: Use a dry, soft cloth to clean the module. Avoid using liquids or abrasive cleaners.
  • Storage: Store the module in a cool, dry place away from direct sunlight and extreme temperatures.
  • Handling: Always handle the PCB by its edges to avoid touching components or connectors, which can cause damage or electrostatic discharge.

5. Troubleshooting

  • No Video Output:
    • Ensure the VGA cable is securely connected to both the module and the monitor.
    • Verify the module is receiving power via the USB-C port.
    • Check if the TF card (if used) contains the correct and uncorrupted firmware/program.
    • Inspect the VGA port for any bent pins or physical damage.
  • Module Heats Up Excessively:
    • Disconnect power immediately.
    • Check for any visible shorts on the PCB or improperly connected components.
    • Ensure the power supply is within the specified voltage range for ESP32 modules.
    • Inspect USB and SD card connectors for physical damage or bent shields that might be causing a short.
  • PS/2 Keyboard/Mouse Not Responding:
    • Ensure PS/2 devices are correctly plugged into their respective color-coded ports (purple for keyboard, green for mouse).
    • Verify the PS/2 devices are functional by testing them on another system.
    • Check the firmware on the ESP32 to ensure it supports PS/2 input and the necessary drivers are included.

6. Specifications

FeatureDescription
Model NumberVGA32 V1.4 Controller
Brand NameLILYGO
Compatible Brand/ModelNone
OriginMainland China
USB-to-Serial Chip OptionsCH9102F, CP2104
Package Length14 cm
Package Width11 cm
Package Height1 cm
Package Weight0.04 kg

7. User Tips

  • Careful Unpacking: While the board is typically well-packaged, always inspect the module carefully upon arrival for any physical damage, especially around connectors like the SD card slot and USB port. Bent shields or pins can cause issues.
  • Software is Key: Remember that the module requires appropriate firmware or programs to be loaded onto the ESP32, often via an SD card, to function as a graphics controller, game engine, or terminal. Ensure you have the correct software for your intended use.
  • Retro Compatibility: Users have reported successful integration with retro computing projects, such as 'espectrum', indicating its potential for vintage system emulation or interfacing.

8. Warranty and Support

For warranty information, technical support, and further resources, please refer to the official LILYGO documentation or contact the manufacturer directly. Ensure you retain your purchase records for any warranty claims.

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.