LILYGO FabGL VGA32

LILYGO FabGL VGA32 ESP32 Development Board User Manual

Model: FabGL VGA32 | Brand: LILYGO

1. Introduction

The LILYGO FabGL VGA32 is an ESP32-based development board designed for graphics applications, offering VGA output, PS/2 mouse and keyboard support, and a powerful platform for game development and ANSI/VT terminal emulation. This manual provides essential information for setting up, operating, and maintaining your FabGL VGA32 board.

2. Specifications

FeatureDetail
ChipsetTTGO Micr032 (ESP32-S3)
Flash Memory4MB QSPI Flash
RAM Memory520KB SRAM
ProcessorDual-core Tensilica Xtensa LX7
ConnectivityVGA, Wi-Fi, Bluetooth
Networking ProtocolsIPv4, IPv6, SSL, TCP/UDP/HTTP/FTP/MQTT
USB Ports1 (Type-C)
RAM Memory TechnologyPSRAM, SRAM
Compatible DevicesVGA-compatible devices

3. Setup and Firmware Flashing

This section guides you through the initial setup and flashing the firmware onto your LILYGO FabGL VGA32 board.

3.1 Board Overview and Pinout

LILYGO FabGL VGA32 board, front view with chip and connectors

Image: Front view of the LILYGO FabGL VGA32 board, showing the main ESP32-S3 chip and various connectors.

LILYGO FabGL VGA32 pinout diagram

Image: A detailed pinout diagram for the LILYGO FabGL VGA32 board, showing connections for VGA, PS/2, TF Card, and headset jack.

3.2 Connecting the Board

To connect the board for firmware flashing or development:

  1. Connect the board to your computer using a USB Type-C cable.
  2. Ensure the necessary drivers are installed for your operating system.
LILYGO FabGL VGA32 board connected via USB

Image: LILYGO FabGL VGA32 board connected to a USB cable, ready for programming.

3.3 Flashing Firmware using ESP32 Flash Download Tool

Follow these steps to flash firmware onto your device:

  1. Download the ESP32 Flash Download Tool (refer to the official LILYGO GitHub for the latest version).
  2. Open the tool and select the correct Chip Type (ESP32-S3) and LoadMode (USB).
  3. Load the firmware.bin file and other necessary files as specified in the firmware note.
  4. Select the correct COM port for your connected device.
  5. Press and hold the BOOT button on the board.
  6. While holding BOOT, press the RST button.
  7. Release the RST button, then release the BOOT button.
  8. Click START in the Flash Download Tool to begin the flashing process.

Video: Demonstrates the process of flashing firmware onto a LILYGO T-Display-S3 ESP32-S3 board. The flashing procedure is similar for the FabGL VGA32 as both use the ESP32-S3 chipset.

3.4 Software Development

The LILYGO FabGL VGA32 supports various development environments:

  • Arduino IDE: Install the ESP32 board package and relevant libraries (e.g., TFT_eSPI).
  • PlatformIO: Configure your project for ESP32 and use the appropriate board definition.
  • ESP-IDF: For advanced development, refer to the official Espressif IDF documentation.
  • MicroPython: Flash MicroPython firmware and program using Python.

4. Operating Instructions

The FabGL VGA32 board offers several functionalities for your projects:

4.1 VGA Output

Connect a VGA-compatible monitor to the VGA port on the board. Ensure your code initializes the VGA display correctly to output graphics or text.

LILYGO FabGL VGA32 board connected to a blue VGA cable

Image: The LILYGO FabGL VGA32 board with a blue VGA cable connected, illustrating how it interfaces with a display.

4.2 PS/2 Mouse and Keyboard

The board features dedicated PS/2 ports for connecting a mouse and keyboard. These can be used for input in your applications, games, or terminal interfaces.

LILYGO FabGL VGA32 board with PS/2 ports and VGA connector

Image: An angled perspective of the LILYGO FabGL VGA32 board, clearly showing the PS/2 mouse and keyboard ports, along with the VGA connector.

4.3 Audio Output

An audio jack is available for sound output. Integrate audio into your projects using the appropriate libraries and code.

4.4 MicroSD Card Slot

The integrated MicroSD card slot allows for storage of data, images, or game assets for your projects.

LILYGO FabGL VGA32 connected to a monitor and keyboard

Image: The LILYGO FabGL VGA32 board connected to a VGA monitor and a PS/2 keyboard, demonstrating its display capabilities with a graphical interface.

5. Maintenance

To ensure the longevity and proper functioning of your LILYGO FabGL VGA32 board:

  • Keep the board clean and free from dust and debris.
  • Avoid exposing the board to extreme temperatures or humidity.
  • Handle the board with care to prevent damage to components or connectors.
  • Store in an anti-static bag when not in use.

6. Troubleshooting

If you encounter issues with your FabGL VGA32 board, consider the following:

  • No display after writing program:
    • Check if factory test files in the firmware folder can be flashed. If there is still no display, the board or screen might be faulty.
    • Delete the <TFT_eSPI> library and replace it with the one from the main page's library directory.
    • When opening Arduino IDE, if it prompts to upgrade the library, choose not to upgrade, otherwise it will overwrite the configuration of the <TFT_eSPI> display.
  • USB port not found or upload mode issues:
    • The board uses USB in the JTAG upload port. When printing serial port information, the USB_CDC_ON_BOOT configuration needs to be turned on.
    • If the port cannot be found when uploading, or the USB is used for other functions, the port may not appear. Please enter the upload mode manually:
      1. Connect the board via the USB cable.
      2. Press and hold the BOOT button.
      3. While still pressing the BOOT button, press RST.
      4. Release the RST button.
      5. Release the BOOT button.
      6. Upload your sketch.
  • If the above steps are invalid, burn the factory binary file to check if the hardware is normal.

7. Additional Resources

For more detailed information, code examples, and community support, please visit the official LILYGO GitHub repository:

github.com/LilyGO/FabGL

© 2023 LILYGO. 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.