LILYGO T-Connect Pro

  • ESP32-S3
  • LoRa
  • CAN
  • Ethernet
  • Industrial

T-Connect Pro

Version History:

Version Update date Update description
T-Connect-Pro_V1.0 Initial Version
Product SOC FLASH PSRAM Link
T-Connect Pro ESP32-S3-R8 16MB 8MB LILYGO Mall

Table of Contents

Description

T-Connect-Pro is a multi-functional industrial-grade control and communication module based on ESP32-S3, integrating LoRa (SX1262 chip), ST7796 LCD display, CAN bus, Ethernet interface, and dual serial ports (RS232/RS485), supporting 12~24V wide voltage input and 10A relay output, suitable for complex industrial automation and IoT scenarios.

Core Features

  • Multi-protocol Communication: Integrates LoRa long-distance transmission, CAN bus control, Ethernet, RS232/RS485 serial ports
  • Industrial-grade Design: Supports 12~24V wide voltage input, 10A relay output
  • Rich Interfaces: 3-layer board stacking design, integrated touch screen, sensors, QWIIC expansion interface
  • Real-time Display: ST7796 TFT screen provides intuitive data display and operation interface
  • Power Management: AXP2101 highly integrated power management unit

Preview

Physical Image

T-Connect Pro

Pin Diagram

summary

Modules

MCU

Display

  • Resolution: 222x480px
  • Display Type: TFT, LCD
  • Driver Chip: ST7796
  • Bus Communication Protocol: Standard SPI
  • Dependent Library:
    Arduino_GFX-1.4.6

Touch

LoRa

CAN

  • Module: TD501MCANFD
  • Bus Communication Protocol: TWAI
  • Related Information:
    TD501MCANFD

RS485

  • Module: TD501D485H-A
  • Bus Communication Protocol: UART
  • Related Information:
    TD501D485H-A

RS232

  • Module: TD501D232H
  • Bus Communication Protocol: UART
  • Related Information:
    TD501D232H

Ethernet

  • Chip: W5500
  • Bus Communication Protocol: Standard SPI
  • Dependent Library:
    Ethernet_V2.0.0

Overview

T-Connect-Pro is based on the main control chip ESP32S3, consisting of 3-layer boards stacked together to form a product with rich and diverse functions. It features 3 different communication modules: CAN, RS485, RS232 for long-distance transmission, has an Ethernet interface, a relay interface, a LoRa module (SX1262), and is equipped with an LCD screen for more convenient operation.

Component Description
MCU ESP32-S3-R8
FLASH 16MB
PSRAM 8MB
Axis Sensor BMA423 (I²C)
Ethernet W5500 (SPI)
LoRa HPD16A Module SX1262 Chip, 433~920MHz (selectable)
CAN TD501MCANFD (TWAI)
RS485 TD501D485H-A (UART)
RS232 TD501D232H (UART)
Relay 10A Output
Power Management AXP2101 PMU
Display ST7796 TFT LCD, 222Ɨ480px (SPI)
Touch CST226SE (I²C)
Wireless 2.4 GHz Wi-Fi & Bluetooth 5 (LE)
USB 1 Ɨ USB Port and OTG (TYPE-C)
Expansion Interface 1 Ɨ QWIIC Interface
Buttons 1 x RESET Button + 1 x BOOT Button (built-in)
Power Input 12~24V DC + 5V/500mA USB
Mounting Holes 4 Ɨ M3mm Screw Holes
Dimensions With base 88Ɨ72Ɨ60mm

Quick Start

Example Support

Example [Platformio IDE][espressif32-v6.5.0]
[Arduino IDE][esp32_v2.0.14]
Description Picture
CAN

alt text

CST226SE

alt text

Ethernet_HTTP

alt text

Ethernet_Relay

alt text

Ethernet_Scan

alt text

GFX

alt text

GFX_SX1262

alt text

Original_Test

alt text

Factory Program
Relay

alt text

RS485

alt text

RS485_2

alt text

SX126x_Channel_Activity_Detection_Blocking

alt text

SX126x_Channel_Activity_Detection_Interrupt

alt text

SX126x_PingPong

alt text

SX1262_Receive_Interrupt

alt text

raw

alt text

ttn_abp

alt text

ttn_otaa

alt text

Firmware Description Picture
Original_Test Factory Program

PlatformIO

  1. Install Visual Studio Code, choose the installation according to your system type.
  2. Open the "Extensions" in the sidebar of Visual Studio Code (or use Ctrl+Shift+X to open extensions), search for the "PlatformIO IDE" extension and install it.
  3. While the extension is installing, you can go to GitHub to download the program. You can download the main branch program by clicking the green "<> Code" button, or download the "Releases" version from the sidebar.
  4. After the extension is installed, open the sidebar's Explorer (or use Ctrl+Shift+E to open it), click "Open Folder", find the project code you just downloaded (the entire folder), click "Add", and the project files will be added to your workspace.
  5. Open the "platformio.ini" file in the project folder (PlatformIO will automatically open the "platformio.ini" of the corresponding folder after successfully adding the folder). Under the "[platformio]" section, uncomment and select the example program you want to upload (marked with "default_envs = xxx"). Then click the "√" at the bottom left to compile. If the compilation is successful, connect the microcontroller to the computer and click the "→" at the bottom left to upload.

Arduino

  1. Install Arduino IDE, choose the installation according to your system type.
  2. Open the "example" directory in the project folder, select the example project folder, and open the file ending with ".ino" to open the Arduino IDE project workspace.
  3. Open the "Tools" menu in the upper right corner -> Select "Board" -> "Board Manager", find or search for "esp32", and download the board files by the author "Espressif Systems". Then return to the "Board" menu and select the development board type under "ESP32 Arduino".
  4. Open the "File" -> "Preferences" menu, find the "Sketchbook location" field, and copy all the library files along with their folders from the "libraries" folder in the project directory to the "libraries" folder in this directory.
  5. Select the correct settings in the "Tools" menu as shown in the table below.

ESP32-S3

Setting Value
Board ESP32S3 Dev Module
Upload Speed 921600
USB Mode Hardware CDC and JTAG
USB CDC On Boot Enabled
USB Firmware MSC On Boot Disabled
USB DFU On Boot Disabled
CPU Frequency 240MHz (WiFi)
Flash Mode QIO 80MHz
Flash Size 16MB (128Mb)
Core Debug Level None
Partition Scheme 16M Flash (3MB APP/9.9MB FATFS)
PSRAM OPI PSRAM
Arduino Runs On Core 1
Events Run On Core 1
  1. Select the correct port.
  2. Click the "√" in the upper right corner to compile. If the compilation is successful, connect the microcontroller to the computer and click the "→" in the upper right corner to upload.

Development Platforms

  1. VS Code
  2. Arduino IDE
  3. Platform IO

Pin Overview

Display Pins ESP32S3 Pins
MOSI IO11
MISO IO13
DC IO41
SCLK IO12
CS IO21
BL IO46
Touch Pins ESP32S3 Pins
SDA IO39
SCL IO40
RST IO47
INT IO3
Ethernet Pins ESP32S3 Pins
MOSI IO11
MISO IO13
RST IO48
SCLK IO12
CS IO10
INT IO9
LoRa Pins ESP32S3 Pins
MOSI IO11
MISO IO13
RST IO42
SCLK IO12
CS IO14
INT/DIO1 IO45
BUSY IO38
RS485 Pins ESP32S3 Pins
UART_TX IO17
UART_RX IO18
RS232 Pins ESP32S3 Pins
UART_TX IO4
UART_RX IO5
CAN Pins ESP32S3 Pins
TWAI_TX IO6
TWAI_RX IO7

FAQ

  • Q. I still don't know how to set up the programming environment after reading the above tutorial. What should I do?
    A. If you still don't understand how to set up the environment after reading the above tutorial, you can refer to the LilyGo-Document documentation for setup instructions.

  • Q. Why does Arduino IDE prompt me to update library files when I open it? Should I update or not?
    A. Choose not to update library files. Different versions of library files may not be compatible with each other, so it is not recommended to update library files.

  • Q. Which frequency bands does the LoRa module support?
    A. The LoRa module supports 433~920MHz frequency bands, specific frequency band versions can be selected according to requirements.

  • Q. Why does my board keep failing to upload programs?
    A. Please hold down the "BOOT" button and try uploading the program again.

Projects

Resources

Dependent Libraries