Skip to content

Xinyuan-LilyGO/T-Connect-Pro-MicroPython

Repository files navigation

T-Connect-Pro-MicroPython

English | 中文

VersionIteration:

Version Update date
T-Connect-Pro-Micropython_V1.0 2025-06-03

PurchaseLink

Product SOC FLASH PSRAM Link
T-Connect-Pro_V1.0 ESP32S3R8 16M 8M (Octal SPI) NULL

Directory

Describe

T-Connect-Pro is a product based on the ESP32S3 main control chip, consisting of three stacked circuit boards. It features a wide range of functions and is equipped with three different communication modules: CAN, RS485, and RS232, enabling long-distance data transmission. The product includes an Ethernet interface, a relay interface, and a LoRa module (SX1262). It also comes with an LCD screen to facilitate easier operation.

Preview

Actual Product Image

Module

1. MCU

2. Screen

  • Resolution: 222x480px
  • Screen type: TFT、LCD
  • Driver chip: ST7796
  • Bus communication protocol: Standard SPI

3. Touch

  • Chip: CST226SE
  • Bus communication protocol: IIC

4. Lora

  • Module: HPD16A

  • Chip: SX1262

  • Bus communication protocol: Standard SPI

  • Related documentation:

    HPD16A_V1.1
    SX1262_V2.1

5. CAN

  • Module: TD501MCANFD
  • Bus communication protocol: TWAI
  • Related documentation:

    TD501MCANFD

6. RS485

  • module: TD501D485H-A
  • Bus communication protocol: UART
  • Related documentation:

    TD501D485H-A

7. RS232

  • module: TD501D232H
  • Bus communication protocol: UART
  • Related documentation:

    TD501D232H

8. Ethernet

  • Chip: W5500
  • Bus communication protocol: Standard SPI
  • Related documentation:

    Ethernet_V2.0.0

SoftwareDeployment

Examples Support

Example [RT-Thread MicroPython][1.0.11]
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

Original factory program
Relay

alt text

RS485

alt text

RS485_2

alt text

SX126x_PingPong

alt text

Firmware Description Picture
T-Connect-Pro_LVGL_MicroPython_firmware_V1.0

RT-Thread MicroPython

  1. Install Python (according to you to download the corresponding operating system version, suggest to download version 3.7 or later), MicroPython requirement 3. X version, if you have already installed, you can skip this step).

  2. Install VisualStudioCode,Choose installation based on your system type.

  3. Open the "Extension" section of the Visual Studio Code software sidebar(Alternatively, use "Ctrl+Shift+X" to open the extension),Search for the "RT-Thread MicroPython" extension and download it.

  4. During the installation of the extension, you can go to GitHub to download the program. You can download the main branch by clicking on the "<> Code" with green text, or you can download the program versions from the "Releases" section in the sidebar.

  5. After the installation of the extension is completed, open the Explorer in the sidebar(Alternatively, use "Ctrl+Shift+E" go open it),Click on "Open Folder," locate the project code you just downloaded (the entire folder), and click "Add." At this point, the project files will be added to your workspace.

  6. Open the VisualStudioCode terminal (or use Ctrl+`), and enter the command to install the esptools tool.

    pip install esptool
    
  7. Erase the flash memory and enter commands in the terminal.

    python -m esptool --chip esp32s3 --port COMX erase_flash
    

    Note:

    1. COMX is the port number. Change it to the port number corresponding to your computer.
  8. Upload the MicroPython firmware.

    python -m esptool --chip esp32s3 --port COMX --baud 460800 --before=default_reset --after=hard_reset write_flash -z 0x0 D:\T-Connect-Pro\firmware\T-Connect-Pro_LVGL_MicroPython_firmware_V1.0
    

    Note:

    1. COMX is the port number. Change it to the port number corresponding to your computer.
    2. D:\T-Connect-Pro\firmware\T-Connect-Pro_LVGL_MicroPython_firmware_V1.0 is the firmware path. Change it to the corresponding storage path.
    3. If you need to make your own MicroPython firmware, please refer to Tutorial for the operation.
  9. Click on "Device Connected/Disconnected" at the lower left corner, and then click on the pop-up window "COMX" at the top to connect the serial port. A pop-up pops up at the lower right corner saying "Connection successful" and the connection is complete.

  10. After opening the code, click on“”at the lower left corner to run the program“Run this MicroPython file directly on the device”,Or use theAlt+Q),if you want to stop the program, click on the lower left corner of the“”stop running the program.(If you need to run the program automatically on the board, please copy the code to the "main.py" file under the "exampels" folder and save it. Select the "main.py" file with the left mouse button. Right-click the mouse and select "Download this file/folder to device", then press the reset button on the board to run the program automatically.)

PinOverview

Screen 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

RelatedTests

FAQ

  • Q. Why is my board continuously failing to download the program?
  • A. Please hold down the "BOT" key, then press the "RST" key, and use the command again to burn the firmware.

Project

About

T-Connect-Pro is a product based on the ESP32S3 microcontroller, consisting of three stacked circuit boards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages