LILYGO T-Connect

Contents

LILYGO T-Connect ESP32-S3 Industrial Control Development Board

User Instruction Manual

1. Introduction

The LILYGO T-Connect ESP32-S3 is an industrial control development board designed for robust and reliable communication in various applications. It integrates the powerful ESP32-S3 microcontroller with multiple communication interfaces, including RS485 and CAN, alongside Wi-Fi and Bluetooth Low Energy (BLE) capabilities. This manual provides essential information for setting up, operating, maintaining, and troubleshooting your T-Connect board.

Front and back view of the LILYGO T-Connect ESP32-S3 Industrial Control Development Board
Figure 1: Front and back view of the LILYGO T-Connect ESP32-S3 Industrial Control Development Board.

2. Specifications

The LILYGO T-Connect board features the following technical specifications:

T-Connect Specifications diagram detailing MCU, memory, wireless features, programming platforms, onboard functions, RS485/CAN module details, size, and USB charging.
Figure 2: T-Connect Specifications Overview.
Feature Description
MCU ESP32-S3
Flash Memory 16MB
PSRAM 8MB
Wireless Connectivity 2.4GHz Wi-Fi, Bluetooth 5 (LE)
Programming Platforms Arduino, VS Code
Onboard Functions APA102, Reset Button, Boot Button
RS485 Module TD501D485H-A (Isolation voltage: 2500V)
CAN Module TD501MCANFD (Isolation voltage: 2500V)
RS485/CAN Modes 4 x RS485 or 3 x RS485 + 1 x CAN
Dimensions (L x W x H) 94mm x 83mm x 13mm
USB Charging 5V, 500mA

3. Setup Guide

3.1 Powering the Board

The T-Connect board can be powered via two methods:

  • USB-C Port: Connect a 5V, 500mA power source to the USB-C port. This port also facilitates data communication for programming.
  • External Power Input: Use the dedicated screw terminal for 7-12V DC input. Ensure correct polarity when connecting external power.

3.2 Initial Connection and Driver Installation

  1. Connect the T-Connect board to your computer using a USB-C cable.
  2. Your operating system may automatically install necessary drivers. If not, you might need to manually install the appropriate USB-to-Serial drivers (e.g., CP210x or CH340 drivers, depending on the specific USB-to-Serial chip used on your board). Refer to the LILYGO official documentation or community forums for driver links.
  3. Verify the board is recognized by your computer by checking device manager (Windows) or running `ls /dev/tty*` (Linux/macOS) to identify the serial port.

3.3 Programming Environment Setup

The LILYGO T-Connect ESP32-S3 supports programming with Arduino IDE and VS Code (with PlatformIO extension).

Arduino IDE Setup:

  1. Install the Arduino IDE.
  2. Add the ESP32 board manager URL to Arduino IDE Preferences.
  3. Install the ESP32 boards package from the Boards Manager.
  4. Select the appropriate ESP32-S3 board from the Tools > Board menu.
  5. Install any required libraries for RS485, CAN, Wi-Fi, or Bluetooth communication.

VS Code (PlatformIO) Setup:

  1. Install VS Code.
  2. Install the PlatformIO IDE extension.
  3. Create a new PlatformIO project and select the ESP32-S3 board.
  4. PlatformIO will automatically handle toolchain and library installations.

3.4 Pin Diagram and Connections

Understanding the pinout is crucial for connecting external components and utilizing the board's features. Refer to the pin diagram below for detailed GPIO assignments and communication interfaces.

T-Connect PINMAP diagram illustrating the pin assignments for ESP32-S3, RS485/CAN, and APA102 LED, including GPIOs, power, and communication lines.
Figure 3: T-Connect Pin Map for ESP32-S3, RS485, CAN, and APA102 LED.

Key pin assignments include:

  • Power: VBUS, GND, 7~12V input.
  • QWIIC: Dedicated connector for I2C peripherals.
  • RS485/CAN Terminals: Labeled SGD, L, R, DGD, SGC, L, R, DGC, SGB, L, R, DGB, SGA, L, R, DGA for connecting RS485 and CAN bus lines.
  • GPIOs: A wide range of General Purpose Input/Output pins (e.g., I01-I018, I033-I048) for various digital and analog functions.
  • UART for RS485: TX_1 (I004), RX_1 (I005), TX_2 (I006), RX_2 (I007), TX_3 (I017), RX_3 (I018), TX_4 (I009), RX_4 (I010).
  • APA102 LED: DATA (I08), CLOCK (I03).

4. Operating Instructions

4.1 Basic Operation

Once programmed, the T-Connect board will execute the uploaded firmware. The onboard Reset and Boot buttons can be used for:

  • Reset Button: Restarts the ESP32-S3 microcontroller.
  • Boot Button: Used in conjunction with the Reset button to enter bootloader mode for flashing new firmware.

4.2 Communication Modules

The T-Connect board supports both RS485 and CAN communication protocols, which are widely used in industrial automation.

RS485 Communication:

The board can be configured for up to 4 RS485 channels or a combination of 3 RS485 and 1 CAN channel. Ensure your software correctly initializes the UART peripherals and RS485 transceivers. Connect your RS485 devices to the corresponding A and B terminals on the screw connectors.

CAN Communication:

If configured for CAN, connect your CAN bus devices to the CAN H and CAN L terminals. Proper termination resistors (typically 120 Ohm) should be used at both ends of the CAN bus, if not already integrated into your network.

4.3 Wireless Connectivity (Wi-Fi & Bluetooth)

The integrated ESP32-S3 module provides 2.4GHz Wi-Fi and Bluetooth 5 (LE) connectivity. These can be utilized for wireless data transfer, remote control, or network integration. Refer to the ESP-IDF programming guide or Arduino ESP32 examples for implementing Wi-Fi and Bluetooth functionalities in your projects.

5. Maintenance

To ensure the longevity and reliable operation of your LILYGO T-Connect board, follow these maintenance guidelines:

  • Keep Dry: Avoid exposure to moisture or liquids, which can damage electronic components.
  • Static Protection: Handle the board with care, especially in environments prone to static electricity. Use anti-static mats or wrist straps if possible.
  • Cleanliness: Keep the board free from dust and debris. Use a soft brush or compressed air for cleaning.
  • Power Supply: Always use a stable and appropriate power supply (5V via USB or 7-12V via external input) within the specified voltage range. Over-voltage can cause irreversible damage.
  • Physical Protection: Consider using a protective enclosure, such as the clear plastic case shown in Figure 4, especially in industrial environments to shield the board from physical impact or contaminants.
The LILYGO T-Connect board enclosed in a clear protective plastic case.
Figure 4: T-Connect board in a protective case.

6. Troubleshooting

If you encounter issues with your T-Connect board, consider the following common troubleshooting steps:

  • Board Not Powering On:
    • Check power connections. Ensure the USB-C cable is fully inserted or the external 7-12V supply is correctly wired and providing power.
    • Verify the power supply is providing the correct voltage and sufficient current (500mA for USB).
  • Computer Not Recognizing Board:
    • Ensure USB-C cable is a data cable, not just a charging cable.
    • Install or update the necessary USB-to-Serial drivers (e.g., CP210x or CH340).
    • Try a different USB port or computer.
  • Firmware Upload Failure:
    • Ensure the correct board is selected in your IDE (e.g., ESP32-S3 Dev Module).
    • Verify the correct serial port is selected.
    • Hold down the Boot button, then press and release the Reset button, then release the Boot button to enter bootloader mode before uploading.
    • Check for compilation errors in your code.
  • Communication Issues (RS485/CAN):
    • Double-check wiring for correct polarity (A/B for RS485, H/L for CAN).
    • Ensure proper termination resistors are used on the bus.
    • Verify baud rates and other communication parameters in your software match the connected devices.
    • Confirm the correct RS485/CAN mode is selected if your board supports multiple configurations.
  • Wi-Fi/Bluetooth Connectivity Problems:
    • Ensure your Wi-Fi credentials (SSID, password) are correct in your code.
    • Check Wi-Fi signal strength.
    • Verify Bluetooth device visibility and pairing procedures.

7. User Tips

  • Start Simple: Begin with basic examples (e.g., blinking an LED, serial communication) to confirm your development environment and board functionality before moving to complex industrial protocols.
  • Consult Documentation: LILYGO often provides detailed documentation and example code on their GitHub repositories. These resources are invaluable for advanced usage and specific module integration.
  • Community Support: Engage with the ESP32 and LILYGO communities online. Forums and groups can provide solutions to unique challenges and offer project inspiration.
  • Power Management: For low-power applications, explore the ESP32-S3's deep sleep and light sleep modes. Optimize your code to minimize power consumption when not actively processing or communicating.
  • Isolation Awareness: The RS485 and CAN modules feature 2500V isolation. Understand the benefits of this isolation for protecting your microcontroller from voltage spikes and ground loops in industrial environments.

8. Warranty and Support

LILYGO is committed to providing quality products and support. If you encounter any issues with your T-Connect board or have questions regarding its functionality, please contact LILYGO customer service directly. They are available to assist with product-related inquiries and provide satisfactory solutions.

For technical assistance, project customization, or bulk inquiries, feel free to reach out to the official LILYGO support channels.

© 2024 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.

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