tuya T5 Module Developer Platform Instructions

tuya T5 Module Developer Platform Instructions

tuya-LOGO

Tuya T5 Module Developer Platform

tuya-T5-Module-Developer-Platform-PRODUCT

Thông tin sản phẩm

Thông số kỹ thuật

  • Sản phẩm: T5 Module
  • Phiên bản: 20251022
  • Trực tuyến Phiên bản

Hướng dẫn sử dụng sản phẩm

Cài đặt

  1. Open the packaging carefully to avoid damaging the module.
  2. Locate the appropriate slot on your device for inserting the module.
  3. Gently insert the T5 Module into the slot until it is securely in place.
  4. Check that the module is properly aligned and seated.

Cấu hình

Once the T5 Module is installed, you may need to configure it for use.

Thực hiện theo các bước sau:

  1. Truy cập menu cài đặt trên thiết bị của bạn.
  2. Locate the network or connectivity settings.
  3. Select the T5 Module from the list of available networks.
  4. Enter any required credentials or settings as prompted.

Xử lý sự cố

If you encounter any issues with the T5 Module, consider the following troubleshooting steps.

  1. Restart your device and check if the module is recognized.
  2. Ensure that the module is properly inserted and seated in the slot.
  3. Check for any software updates that may be available for the module.

GIỚI THIỆU

  • This topic is intended to provide hardware information and serve as a reference when you develop with T5-E1 modules.
  • It helps you get an overall understanding of the product specifications and assists in developing products and applications.

Quaview

  • T5-E1-IPEX is a highly integrated single-antenna single-band 2.4 GHz Wi-Fi 6 (IEEE 802.11b/g/n/ax) and Bluetooth 5.4 Low Energy (LE) combo IoT module.
  • Featuring a multi-peripheral packaging and ultra-low-power chip, the T5-E1-IPEX module provides a highly integrated, efficient, secure, and lowest-power environment for IP cameras, HMI applications, smart locks, and other advanced IoT applications.
  • The T5-E1 module is embedded with an ARMv8-M Star (M33F) processor with a clock rate of up to 480 MHz, and integrates 8 MB flash memory, 16 MB PSRAM, 640 KB SRAM shared memory, and 64 KB ROM.
  • Support interfaces such as USB, UART, SDIO, SPI, I2C, I2S, and ADC, as well as external devices such as displays, cameras, microphones, speakers, and microSD cards.

Vẻ bề ngoài

tuya-T5-Module-Developer-Platform-FIG-1

Pins on the module

T5-E1 is equipped with a total of 70 pins, including 40 LCC pins and 30 LGA pins.

The pinout is as follows:tuya-T5-Module-Developer-Platform-FIG-2

KHÔNG. Tên Loại I / O Sự miêu tả
1 GND P Chốt nối đất
2 3V3 P Pin nguồn
3 RST I The low-level reset pin is active high and pulled up internally
4 P20 Đầu vào/Đầu ra
  • GPIO20
  • I2C0_SCL
  • SWCLK
  • RGB_R6
  • I8080_D9
  • SEG10
5 P21 Đầu vào/Đầu ra
  • I2C0_SDA
  • SWDIO
  • ADC6
  • RGB_R5
  • I8080_D8
  • SEG9
6 P22 Đầu vào/Đầu ra
  • CLK26M
  • ADC5
  • QSPI0_SCK
  • RGB_R4
  • I8080_CSX
  • SEG8
7 P23 Đầu vào/Đầu ra
  • ADC3
  • QSPI0_CS
  • RGB_R3
  • I8080_RESET
  • SEG7
8 P24 Đầu vào/Đầu ra
  • LPO_CLK
  • PWMG0_PWM4
  • ADC2
  • QSPI0_IO0
  • RGB_G7
  • I8080_RSX
  • SEG6
9 P25 Đầu vào/Đầu ra
  • IRDA
  • ADC1
  • QSPI0_IO1
  • RGB_G6
  • I8080_WRX
  • SEG5
10 P26 Đầu vào/Đầu ra
  • QSPI0_IO2
  • RGB_G5
  • I8080_RDX
  • SEG4
11 P28 Đầu vào/Đầu ra
  • I2S_MCLK
  • ADC4
  • CẢM ỨNG2
  • CLK_AUXS_CIS
  • SEG18
12 P1 Đầu vào/Đầu ra
  • UART1_RX
  • I2C1_SDA
  • SWDIO
  • SC_CLK
  • ADC13
  • LIN_RXD
13 DN Đầu vào/Đầu ra USB D-
14 DP Đầu vào/Đầu ra USB D +
15 P0 Đầu vào/Đầu ra
  • UART1_TX
  • I2C1_SCL
  • SWCLK
  • SC_IO
  • ADC12
  • LIN_TXD
16 P9 Đầu vào/Đầu ra
  • I2S0_DOUT
  • DMIC_DAT
  • 32K_XI
17 P8 Đầu vào/Đầu ra
  • I2S0_DIN
  • DMIC_CLK
  • ADC10
  • 32K_XO
18 P7 Đầu vào/Đầu ra
  • I2S0_SYNC
  • QSPI1_IO3
19 P6 Đầu vào/Đầu ra
  • I2S0_SCK
  • QSPI1_IO2
20 P5 Đầu vào/Đầu ra
  • SPI1_MISO
  • SDIO_DỮ LIỆU1
  • COM7
  • QSPI1_IO1
  • SEG31
21 P4 Đầu vào/Đầu ra
  • SPI1_MOSI
  • SDIO_DỮ LIỆU0
  • COM6
  • QSPI1_IO0
  • SEG30
22 P3 Đầu vào/Đầu ra
  • SPI1_CSN
  • SDIO_CMD
  • SC_VCC
  • QSPI1_CS
23 P2 Đầu vào/Đầu ra
  • SPI1_SCK
  • SDIO_CLK
  • SC_RSTN
  • LIN_SLEEP
  • QSPI1_SCK
24 P12 Đầu vào/Đầu ra
  • UART0_RTS
  • CẢM ỨNG0
  • ADC14
25 P13 Đầu vào/Đầu ra
  • UART0_CTS
  • CẢM ỨNG1
  • ADC15
26 P15 Đầu vào/Đầu ra
  • SDIO_CMD
  • SPI0_CSN
  • I2C1_SDA
  • RGB_DISP
  • I8080_D14
  • SEG15
27 P14 Đầu vào/Đầu ra
  • SDIO_CLK
  • SPI0_SCK
  • I2C1_SCL
  • RGB_DCLK
  • I8080_D15
  • SEG16
28 P16 Đầu vào/Đầu ra
  • SDIO_DỮ LIỆU0
  • SPI0_MOSI
  • RGB_DE
  • I8080_D13
  • SEG14
29 P17 Đầu vào/Đầu ra
  • SDIO_DỮ LIỆU1
  • SPI0_MISO
  • RGB_HSYNC
  • I8080_D12
  • SEG13
30 P18 Đầu vào/Đầu ra
  • SDIO_DỮ LIỆU2
  • PWMG0_PWM0
  • RGB_VSYNC
  • I8080_D11
  • SEG12
31 P19 Đầu vào/Đầu ra
  • SDIO_DỮ LIỆU3
  • RGB_R7
  • I8080_D10
  • SEG11
32 P47 Đầu vào/Đầu ra
  • SPI0_MISO
  • ENET_MDC
  • CẢM ỨNG15
  • RGB_B3
  • I8080_D0
  • COM0
  • I2S2_DOUT
33 P46 Đầu vào/Đầu ra
  • CAN_STBY
  • SPI0_MOSI
  • ENET_PHY_INT
  • CẢM ỨNG14
  • RGB_B4
  • I8080_D1
  • COM1
  • I2S2_DIN
34 P45 Đầu vào/Đầu ra
  • CAN_RX
  • SPI0_CSN
  • RGB_B5
  • I8080_D2
  • COM2
  • I2S2_SYNC
35 P44 Đầu vào/Đầu ra
  • CAN_TX
  • SPI0_SCK
  • RGB_B6
  • I8080_D3
  • COM3
  • I2S2_SCK
36 ĐỒNG HỒ Đầu vào/Đầu ra
  • DL_UART_RX
  • SDIO_DỮ LIỆU2
  • CLK_AUXS_CIS
  • UART0_RX
  • Flash firmware and authorize modules
37 TXD Đầu vào/Đầu ra
  • DL_UART_TX
  • UART0_TX
  • SDIO_DỮ LIỆU3
  • Flash firmware and authorize modules
38 P43 Đầu vào/Đầu ra
  • I2C1_SDA
  • I2S1_DOUT
  • SC_VCC
  • RGB_B7
  • I8080_D4
  • SEG0
39 P42 Đầu vào/Đầu ra
  • I2C1_SCL
  • I2S1_DIN
  • LIN_SLEEP
  • SC_RSTN
  • RGB_G2
  • I8080_D5
  • SEG1
40 GND P Chốt nối đất
41 P27 Đầu vào/Đầu ra
  • CIS_MCLK
  • CLK_AUXS_CIS
  • ENET_PHY_INT
  • QSPI0_IO3
  • SEG17
42 P29 Đầu vào/Đầu ra
  • CIS_PCLK
  • ENET_MDC
  • CẢM ỨNG3
  • SEG19
43 GND P Chốt nối đất
44 GND P Chốt nối đất
45 P41 Đầu vào/Đầu ra
  • UART2_TX
  • I2S1_SYNC
  • LIN_TXD
  • SC_IO
  • RGB_G3
  • I8080_D6
  • SEG2
46 P31 Đầu vào/Đầu ra
  • CIS_VSYNC
  • UART2_TX
  • LIN_TXD
  • CẢM ỨNG5
  • SC_IO
  • SEG21
47 P30 Đầu vào/Đầu ra
  • CIS_HSYNC
  • UART2_RX
  • LIN_RXD
  • CẢM ỨNG4
  • SC_CLK
  • SEG20
48 P33 Đầu vào/Đầu ra
  • CIS_PXD1
  • ENET_RXD0
  • CẢM ỨNG7
  • SEG23
49 P32 Đầu vào/Đầu ra
  • CIS_PXD0
  • PWMG1_PWM0
  • ENET_MDIO
  • CẢM ỨNG6
  • SC_RSTN
  • SEG22
50 GND P Chốt nối đất
51 P34 Đầu vào/Đầu ra
  • CIS_PXD2
  • PWMG1_PWM2
  • ENET_RXD1
  • CẢM ỨNG8
  • SPI0_CSN
  • SEG24
52 P35 Đầu vào/Đầu ra
  • CIS_PXD3
  • ENET_RXDV
  • CẢM ỨNG9
  • SPI0_MOSI
  • SEG25
53 GND P Chốt nối đất
54 GND P Chốt nối đất
55 GND P Chốt nối đất
56 P36 Đầu vào/Đầu ra
  • CIS_PXD4
  • PWMG1_PWM4
  • ENET_TXD0
  • CẢM ỨNG10
  • SPI0_MISO
  • SEG26
57 P37 Đầu vào/Đầu ra
  • CIS_PXD5
  • ENET_TXD1
  • CẢM ỨNG11
  • SEG27
58 GND P Chốt nối đất
59 GND P Chốt nối đất
60 VIO AO GPIO LDO output
61 LN AO Audio left channel negative output
62 LP AO Ngõ ra âm thanh kênh trái tích cực
63 P38 Đầu vào/Đầu ra
  • CIS_PXD6
  • I2C1_SCL
  • ENET_TXEN
  • CẢM ỨNG12
  • COM4
  • SEG28
64 P39 Đầu vào/Đầu ra
  • CIS_PXD7
  • I2C1_SDA
  • ENET_REF_CLK
  • CẢM ỨNG13
  • COM5
  • SEG29
65 P40 Đầu vào/Đầu ra
  • UART2_RX
  • I2S1_SCK
  • LIN_RXD
  • SC_CLK
  • RGB_G4
  • I8080_D7
  • SEG3
66 MP1 AO Microphone 1 positive input
67 MN1 AO Microphone 1 negative input
68 MN2 AO Microphone 2 negative input
69 MP2 AO Microphone 2 positive input
70 MBS AO Đầu ra thiên vị micrô

GHI CHÚ:

  • The maximum input level for the ADC pin is 1.1V. It is recommended to use MΩ-level external voltage divider resistors and place a 100nF capacitor close to the ADC pin for grounding and filtering.
  • P indicates the power pin.
  • I/O indicates the input and output pins.
  • AI indicates the analog signal input pin.
  • AO indicates the analog signal output pin.

Pin configuration and features

UART Mô tả Pin

The module provides three UART interfaces:

  • UART 0: used to connect to your MCU. The serial data transmission follows Tuya’s protocol. The baud rate is 115200 bps by default.
  • UART 1: used to connect to peripheral devices.
  • UART 2: used to connect to peripheral devices.
Số pin Tín hiệu Tính năng
36 DL_UART_RX UART 0. It can be used as a download port to receive data.
37 DL_UART_TX UART 0. It can be used as a download port to transmit data.
12 UART1_RX UART 1 to receive data.
15 UART1_TX UART 1 to transmit data.
45 UART2_TX UART 2 to transmit data.
65 UART2_RX UART 2 to receive data.

Serial communication between the module and the MCU

  • Connection between a module and a 3.3V MCUtuya-T5-Module-Developer-Platform-FIG-3
  • Connection between a module and a 5V MCU
  • In the following circuit diagram, voltage level translation can be implemented with a bidirectional voltage-level translator, a MOS transistor, or a triode.tuya-T5-Module-Developer-Platform-FIG-4

Level translator reference

  • N-channel MOSFET level translator: An N-channel MOSFET and a built-in body diode are used to implement two-way communication.tuya-T5-Module-Developer-Platform-FIG-5
  • NPN triode level translator: An NPN triode is used to implement one-way communication.tuya-T5-Module-Developer-Platform-FIG-6
  • See the circuit diagram above for how UART 1, UART 2, and UART 0 are connected.

Thiết kế mạch

The UART trace should be as short as possible. Add ground vias around the UART and keep away from RF and periodic signal lines.

USB

Mô tả Pin

  • The USB interface conforms to USB 2.0 specifications.
  • It is recommended to reserve a USB port for program download and debugging.
Số pin Tín hiệu Tính năng
13 USB_DN USB high-speed differential transceiver (negative). It can be used to download code to the module.
14 USB_DP USB high-speed differential transceiver (positive). It can be used to download code to the module.

Ứng dụng

  • MCU solutionstuya-T5-Module-Developer-Platform-FIG-7
  • Cáp micro-USBtuya-T5-Module-Developer-Platform-FIG-8

Thiết kế mạch

  • Make sure to route the USB signal traces as differential pairs with total grounding, keeping them parallel and of equal length. The impedance of the USB differential trace is 90Ω.
  • Do not route signal traces under the power supply, RF signal traces, and other sensitive signal traces.
  • It is important to route the USB differential traces in the inner layer with ground shielding on not only the upper and lower layers but also the right and left sides.
  • Connect a common-mode choke between the MCU and the module in series to improve EMI suppression.
  • Considering the connection to micro-USB devices, place the TVS diode as close to the USB port as possible with a parasitic capacitance of less than 2 pF.

SPI

  • The T5-E1 module has two sets of SPI interfaces, and the following table details the pins.
Số pin Tín hiệu Tính năng
26 SPI0_CSN GPIO15, SPI0 chip select signal
28 SPI0_MOSI GPIO16, SPI0 controller out and agent in
29 SPI0_MISO GPIO17, SPI0 controller in and agent out
27 SPI0_SCK GPIO14, SPI0 clock signal
22 SPI1_CSN GPIO3, SPI1 chip select signal
21 SPI1_MOSI GPIO4, SPI1 controller out and agent in
20 SPI1_MISO GPIO5, SPI1 controller in and agent out
23 SPI1_SCK GPIO2, SPI1 clock signal

Electrical specifications and applications

Voltage level of the SPI interface on this module is 3.3V. A level translator should be used if the application is equipped with a 5V UART interface. A level translator for SPI is recommended.

The reference circuit is shown in the figure below:tuya-T5-Module-Developer-Platform-FIG-9

QSPI

The T5-E1 module has two sets of QSPI interfaces, and the following table details the pins.

Số pin Tín hiệu Tính năng
6 QSPI0_SCK GPIO22, QSPI0 clock signal
7 QSPI0_CS GPIO23, QSPI0 enable signal
8 QSPI0_IO0 GPIO24, QSPI0 data bit 0
9 QSPI0_IO1 GPIO25, QSPI0 data bit 1
10 QSPI0_IO2 GPIO26, QSPI0 data bit 2
41 QSPI0_IO3 GPIO27, QSPI0 data bit 3
18 QSPI1_IO3 GPIO7, QSPI1 data bit 3
19 QSPI1_IO2 GPIO6, QSPI1 data bit 2
20 QSPI1_IO1 GPIO5, QSPI1 data bit 1
21 QSPI1_IO0 GPIO4, QSPI1 data bit 0
22 QSPI1_CS GPIO3, QSPI1 enable signal
23 QSPI1_SCK GPIO2, QSPI1 clock signal

I2C

The T5-E1 module has two sets of I2C interfaces, and the following table details the pins.

Số pin Tín hiệu Tính năng
4 I2C0_SCL GPIO20, I2C0 clock signal
5 I2C0_SDA GPIO21, I2C0 data signal
15 I2C1_SCL GPIO0, I2C1 clock signal
12 I2C1_SDA GPIO1, I2C1 data signal
  • I2C is a simple serial communication bus protocol that uses just two bus wires, a serial data wire (SDA) and a serial clock wire (SCL).
  • I2C is integrated into many ICs and allows devices to communicate directly with each other.
  • Each device is recognized by a unique address to differentiate from other devices on the same I2C bus and can operate either as a transmitter or a receiver, depending on its function.

Ứng dụng

The I2C bus must be pulled up on the device.tuya-T5-Module-Developer-Platform-FIG-10

I2S

The T5-E1 module has three sets of I2S interfaces, and the following table details the pins.

Số pin Tín hiệu Tính năng
11 I2S_MCLK GPIO28, main clock signal
16 I2S0_DOUT GPIO9, I2S0 output signal
17 I2S0_DIN GPIO8, I2S0 input signal
18 I2S0_SYNC GPIO7, I2S0 sync signal
19 I2S0_SCK GPIO6, I2S0 clock signal
32 I2S2_DOUT GPIO47, I2S2 output signal
33 I2S2_DIN GPIO46, I2S2 input signal
34 I2S2_SYNC GPIO45, I2S2 sync signal
35 I2S2_SCK GPIO44, I2S2 clock signal
38 I2S1_DOUT GPIO43, I2S1 output signal
39 I2S1_DIN GPIO42, I2S1 input signal
45 I2S1_SYNC GPIO41, I2S1 sync signal
65 I2S1_SCK GPIO40, I2S1 clock signal

SDIO

The T5-E1 module has one set of SDIO interfaces, and the following table details the pins.

Số pin Tín hiệu Tính năng
20/29 SDIO_DỮ LIỆU1 GPIO5/GPIO17, SDIO data bit 1
21/28 SDIO_DỮ LIỆU0 GPIO4/GPIO16, SDIO data bit 0
22/26 SDIO_CMD GPIO3/GPIO15, SDIO command
23/27 SDIO_CLK GPIO2/GPIO14, SDIO clock
36/30 SDIO_DỮ LIỆU2 UART0_RX/GPIO18, SDIO data bit 2
37/31 SDIO_DỮ LIỆU3 UART0_TX/GPIO19, SDIO data bit 3

Ứng dụngtuya-T5-Module-Developer-Platform-FIG-11

Thiết kế mạch

  • Reserve a 22Ω resistor between the SD_CLK and the SD signal trace in series to reduce RF interference.
  • Reserve a pad for a 0201 33 pF capacitor on the SD signal trace.
  • SD_DATA[0:3] Và SD_CMD have reserved pull-up resistors to increase bus stability.
  • Các SD_CLK The signal trace needs ground shielding individually. Its length should be as short as possible, within 2,500 mil, preferably within 2,000 mil.
  • Surround SD signal traces with total grounding to prevent any possible crosstalk and noise coupling from other signal sources.
  • It is recommended to keep the same trace length for SD_CLKSD_DATA[0:3], Và SD_CMD, with a length difference of less than 1 mm. The total length should not exceed 50 mm.
  • In order to offer good ESD protection, it is recommended to add an ESD diode array with a parasitic capacitance of less than 15 pF.
  • The ESD protection device should be placed as close as possible to the SIM card connector 3V3. SD_CLKSD_DATA[0:3], Và SD_CMD. Make sure the SIM card signal lines go through the ESD protection device first and then to the module.

Máy ảnh

Mô tả Pin

Số pin Tín hiệu Tính năng
41 CIS_MCLK GPIO27, driver clock that is output to the sensor
42 CIS_PCLK GPIO29, pixel clock
46 CIS_VSYNC GPIO31, frame sync signal
47 CIS_HSYNC GPIO30, horizontal sync signal
48 CIS_PXD1 GPIO33, pixel data, data bit 1
49 CIS_PXD0 GPIO32, pixel data, data bit 0
51 CIS_PXD2 GPIO34, pixel data, data bit 2
52 CIS_PXD3 GPIO35, pixel data, data bit 3
56 CIS_PXD4 GPIO36, pixel data, data bit 4
57 CIS_PXD5 GPIO37, pixel data, data bit 5
63 CIS_PXD6 GPIO38, pixel data, data bit 6
64 CIS_PXD7 GPIO39, pixel data, data bit 7

DVP requires a set of I2C interfaces to configure the sensor.

Ứng dụngtuya-T5-Module-Developer-Platform-FIG-12

RGB565

Mô tả Pin

Số pin Tín hiệu Tính năng
31 RGB_R7 GPIO19, RGB red component, data bit 7
4 RGB_R6 GPIO20, RGB red component, data bit 6
5 RGB_R5 GPIO21, RGB red component, data bit 5
6 RGB_R4 GPIO22, RGB red component, data bit 4
7 RGB_R3 GPIO23, RGB red component, data bit 3
8 RGB_G7 GPIO24, RGB green component, data bit 7
9 RGB_G6 GPIO25, RGB green component, data bit 6
10 RGB_G5 GPIO26, RGB green component, data bit 5
65 RGB_G4 GPIO40, RGB green component, data bit 4
45 RGB_G3 GPIO41, RGB green component, data bit 3
39 RGB_G2 GPIO42, RGB green component, data bit 2
38 RGB_B7 GPIO43, RGB blue component, data bit 7
35 RGB_B6 GPIO44, RGB blue component, data bit 6
34 RGB_B5 GPIO45, RGB blue component, data bit 5
33 RGB_B4 GPIO46, RGB blue component, data bit 4
32 RGB_B3 GPIO47, RGB blue component, data bit 3
27 RGB_DCLK GPIO14, clock signal
26 RGB_DISP GPIO15, display on/off
29 RGB_HSYNC GPIO17, horizontal sync signal
30 RGB_VSYNC GPIO18, vertical sync signal
28 RGB_DE GPIO16, data enable signal

Mạng Ethernet

Mô tả Pin

Số pin Tín hiệu Tính năng
41 ENET_PHY_INT GPIO27, interrupt signal
42 ENET_MDC GPIO29, bus clock signal
48 ENET_RXD0 GPIO33, data receiving signal, bit 0
49 ENET_MDIO GPIO32, management data input and output signals
51 ENET_RXD1 GPIO34, data receiving signal, bit 1
52 ENET_RXDV GPIO35, data receiving a valid signal
56 ENET_TXD0 GPIO36, data sending signal, bit 0
57 ENET_TXD1 GPIO37, data sending signal, bit 1
63 ENET_TXEN GPIO38, data sending enable signal
64 ENET_REF_CLK GPIO39, reference clock signal

Ứng dụngtuya-T5-Module-Developer-Platform-FIG-13

Chạm

The T5-E1 module provides 16 capacitive sensing GPIOs, and the following table details the pins.

Số pin Tín hiệu Tính năng
11 P28 CẢM ỨNG2
24 P12 CẢM ỨNG0
25 P13 CẢM ỨNG1
32 P47 CẢM ỨNG15
33 P46 CẢM ỨNG14
42 P29 CẢM ỨNG3
46 P31 CẢM ỨNG5
47 P30 CẢM ỨNG4
48 P33 CẢM ỨNG7
49 P32 CẢM ỨNG6
51 P34 CẢM ỨNG8
52 P35 CẢM ỨNG9
56 P36 CẢM ỨNG10
57 P37 CẢM ỨNG11
63 P38 CẢM ỨNG12
64 P39 CẢM ỨNG13
  • When using the touch feature, it is recommended to reserve a series resistor close to the module to reduce coupling noise and interference on the line and to enhance ESD protection.
  • The recommended resistance value is 470 Ω to 2 kΩ, with 510 Ω preferred. The specific value depends on the actual test results of the product.
  • The traces should be as short and thin as possible, with a length less than 300 mm, a width no greater than 0.18 mm, and a trace angle greater than or equal to 90°.
  • The spacing between different touch channels should be as far as possible, and they should be away from RF, I2C, SPI, and high-speed signal lines.
  • The touch electrodes and traces are surrounded by a grid ground, and the trace clearance from the ground ranges from 0.5 mm to 1 mm.
  • The diameter of the touch electrodes ranges from 8 mm to 15 mm.tuya-T5-Module-Developer-Platform-FIG-14

Người nói

Mô tả Pin

Số pin Tín hiệu Tính năng
61 LN AUDL_N, audio negative output
62 LP AUDL_P, audio positive output

Ứng dụngtuya-T5-Module-Developer-Platform-FIG-15

MIC

Mô tả Pin

Số pin Tín hiệu Tính năng
66 MP1 MIC1_P, positive input of microphone 1
67 MN1 MIC1_N, negative input of microphone 1
68 MN2 MIC2_N, negative input of microphone 2
69 MP2 MIC2_P, positive input of microphone 2
70 MBS MICBIAS, microphone bias voltage

Ứng dụngtuya-T5-Module-Developer-Platform-FIG-16

If only one MIC is used, MIC1 must be used.

Nguồn điện

  • Khối lượng hoạt độngtage range of the T5-E1 module is 2.0V to 3.6V, with a typical value of 3.3V. The supply current for 3.3V modules must be greater than the maximum input current. The total capacity of the external filter capacitor should be greater than 10 μF.
  • Place the filter capacitors C1 and C2 near the power pin of the module.

Pins of the module

  • The GPIO might experience an uncontrollable high level within five milliseconds of starting the module (before the program startup). Place a 4.7 kΩ pull-down resistor if needed.
  • The RST pin of the module is a hardware reset pin. The module has internal weak pull-up resistors configured. If the pin is not used, it can float. If a module has been paired, this pin cannot be used to clear pairing information.
  • The TX1 pin on the module is used to select a mode. Pulling TX1 down before the module is powered on will start the test firmware, while floating it or pulling it up will start the application firmware. In normal use, this pin is used as a log printing port.
  • Other unused pins can be left floating.
  • For more information about pin configuration, see the module datasheet.

Power-on sequence of the module

  • Suppose that the high-level voltage settling time of the module’s GPIO is t2 và tậptage settling time of the module’s power pin is t1. Every time the module is powered on, t2 it must be greater than or equal to t1.

Như thể hiện trong hình sau:tuya-T5-Module-Developer-Platform-FIG-17

  • If t2 là ít hơn t1The module might fail to start.
    • To return the module to its normal state, pull down the module reset pin (RST) for one millisecond and pull up to restart the module.
    • Repeatedly power-cycling the module power pin will not restore it to its normal state.

Thiết kế công suất thấp

Option 1: Control the module power pin on/off

  • This circuit design can achieve overall low power consumption.tuya-T5-Module-Developer-Platform-FIG-18
  • Nó hoạt động như thế nào: As shown in the circuit diagram, the MCU can control the switch S1 with the GPIO pin to power on/off the module.
  • When the MCU has data to report to the cloud, it turns it S1 on. Then, the module can receive data from the MCU and report data to the cloud and the mobile app.
  • When data reporting is completed, the module will be powered off and consume no power.

disadvantages:

  1. Current sinking occurs. When the switch S1 is turned off, the TXD and RXD pins on the module are still connected to the RXD and TXD pins on the MCU.
  2. Therefore, the current from the MCU can flow into the VCC pin of the module through the UART pin.
  3. The TXD and RXD pins of the module are high, so the current sinking will increase the consumption of the module.
  4. Khi công tắc S1 is turned on next time, t2 it will be less than t1, which can cause the module to freeze.

Giải pháp 1: Optimize the software of the MCU without hardware modification. When the MCU detects that the data reporting is completed, the program proceeds with the following steps.

  1. Set the TXD and RXD pins of the MCU as GPIO pins that are configured as the open-drain or weak pull-down mode.
  2. Bật công tắc S1 off to power off the module.
  3. This way, when the MCU has data to report, it turns  S1 vào lúc đầu.
  4. Then, it configures the TXD and RXD pins as the UART to establish communication with the module for data transmission.

Quan trọng

  1. This solution does not apply to MCUs whose UART pin cannot be configured as the open-drain or weak pull-up mode.
  2. If the UART circuit has a pull-up resistor, one terminal of the resistor must be connected to the VCC pin of the module, or you can directly remove this resistor.
    • Giải pháp 2: Add a level translator to the circuit without software modification.
    • See the circuit diagram in the preceding sections, Level translator reference, and Connection between a module and a 3.3V MCU, and embed a level translator in the UART circuit.

Option 2: Reduce power usage in the idle state

  • Pull down the module’s RST pin to reduce idle consumption.tuya-T5-Module-Developer-Platform-FIG-19
  • Nó hoạt động như thế nào: As shown in the circuit diagram, the MCU can control the RST pin with the GPIO pin to power on/off the module.
  • When the MCU has data to report to the cloud, the GPIO outputs high to power on the module. Then, the module can receive data from the MCU and report data to the cloud and the mobile app.
  • When data reporting is completed, the GPIO outputs low and the module runs in reset mode with low power consumption.
  • disadvantage: The RST pin has a 10 kΩ internal pull-up resistor, so the module has an input current of 330 μA in the reset mode.

Radio frequency RF test

The antenna is susceptible to the distance from the shell to the surrounding components. We recommend that you test the RF performance after the final test.
The RF test items and metrics are listed in the following table.

Mục kiểm tra Test metric
Tăngasing indoor distance ≥ 50 phút
Tăngasing outdoor distance ≥ 75 phút
Total radiated power (TRP) in the signaling mode of end devices (test mode of 11B 11 Mbit/s). ≥ 10 dBm
Total isotropic sensitivity (TIS) in the signaling mode of end devices (test mode of 11B 11 Mbit/s). ≤ -83dBm
  • TRP and TIS must be tested in a dark chamber of the antenna manufacturers or certified organizations.
  • The test items apply to most Wi-Fi products, excluding certain special products.

Ăng-ten

Antenna clearance

  • Do not use metal shells or plastic shells with metallic paint or coating in the direction of the antenna radiation. Do not use metal objects such as screws and rivets near the antenna, which might affect the antenna’s efficiency.
  • The distance between the antenna and other mental components should be at least 15 mm.
  • Try to increase the distance from the top shell to the antenna to minimize the impact on antenna performance.tuya-T5-Module-Developer-Platform-FIG-20
  • Try to increase the distance from the upper and bottom shells to the antenna to minimize the impact on antenna performance.tuya-T5-Module-Developer-Platform-FIG-21
  • Keep the module away from speakers, power switches, cameras, HDMI, USB, and other high-speed signals to avoid interference.
  • Avoid metal shielding near the antenna. If co-channel interference occurs, you must evaluate the impact on the antenna performance and ensure isolation from interference.
  • According to the antenna shape of the T5-E1 module, you can choose Position 3 or Position 4 (optimal) when using the module.
  • That is to say, the antenna feed point should be as close to the edge of the board as possible. The position marked with a red dot in the figure below shows where the T5-E1 antenna feed point is.tuya-T5-Module-Developer-Platform-FIG-22

Packing and manufacturing

Mechanical dimensions and backside pad dimensionstuya-T5-Module-Developer-Platform-FIG-23 tuya-T5-Module-Developer-Platform-FIG-24

SMT packagetuya-T5-Module-Developer-Platform-FIG-25

The tolerances for dimensions of length and width, height, and PCB thickness are ±0.35 mm, ±0.15 mm, and ±0.1 mm, respectively.

Những câu hỏi thường gặp

How do I know if the T5 Module is compatible with my device?

The T5 Module is compatible with devices that have a compatible slot for insertion. Refer to your device's specifications or consult with the manufacturer for compatibility information.

Can I use the T5 Module with multiple devices?

The T5 Module can typically be moved between compatible devices, but ensure that each device recognizes and configures the module properly before use.

Tài liệu / Tài nguyên

PDF thumbnailT5 Module Developer Platform
Instructions · T5-E1, T5-E1-IPEX, T5 Module Developer Platform, T5, Module Developer Platform, Developer Platform, Platform

Đặt câu hỏi

Use this section to ask about setup, compatibility, troubleshooting, or anything missing from this manual.

Đặt câu hỏi

Ask about setup, compatibility, troubleshooting, or anything missing from this manual. Name and email are optional.