туиа-ЛОГО

Tuya T5 Module Developer Platform

tuya-T5-Module-Developer-Platform-PRODUCT

Информације о производу

Спецификације

  • производ: T5 Module
  • верзија: 20251022
  • Онлине Версион

Упутства за употребу производа

Инсталација

  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.

Конфигурација

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

Следите ове кораке:

  1. Приступите менију подешавања на свом уређају.
  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.

Решавање проблема

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.

УВОД

  • 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.

Готовоview

  • 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.

Изглед

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

бр. Име И/О тип Опис
1 ГНД P Пин за уземљење
2 3В3 P Повер пин
3 РСТ I The low-level reset pin is active high and pulled up internally
4 П20 И/О
  • ГПИО20
  • И2Ц0_СЦЛ
  • СВЦЛК
  • RGB_R6
  • I8080_D9
  • СЕГ10
5 П21 И/О
  • И2Ц0_СДА
  • СВДИО
  • АДЦ6
  • RGB_R5
  • I8080_D8
  • СЕГ9
6 П22 И/О
  • CLK26M
  • АДЦ5
  • КСПИ0_СЦК
  • RGB_R4
  • I8080_CSX
  • СЕГ8
7 П23 И/О
  • АДЦ3
  • КСПИ0_ЦС
  • RGB_R3
  • I8080_RESET
  • СЕГ7
8 П24 И/О
  • LPO_CLK
  • PWMG0_PWM4
  • АДЦ2
  • КСПИ0_ИО0
  • RGB_G7
  • I8080_RSX
  • СЕГ6
9 П25 И/О
  • ИРДА
  • АДЦ1
  • КСПИ0_ИО1
  • RGB_G6
  • I8080_WRX
  • СЕГ5
10 П26 И/О
  • КСПИ0_ИО2
  • RGB_G5
  • I8080_RDX
  • СЕГ4
11 П28 И/О
  • И2С_МЦЛК
  • АДЦ4
  • ТОУЦХ2
  • CLK_AUXS_CIS
  • СЕГ18
12 P1 И/О
  • УАРТ1_РКС
  • И2Ц1_СДА
  • СВДИО
  • СЦ_ЦЛК
  • АДЦ13
  • LIN_RXD
13 DN И/О УСБ Д-
14 DP И/О УСБ Д +
15 P0 И/О
  • УАРТ1_ТКС
  • И2Ц1_СЦЛ
  • СВЦЛК
  • SC_IO
  • АДЦ12
  • LIN_TXD
16 P9 И/О
  • И2С0_ДОУТ
  • DMIC_DAT
  • 32К_КСИ
17 P8 И/О
  • И2С0_ДИН
  • ДМИЦ_ЦЛК
  • АДЦ10
  • 32К_КСО
18 P7 И/О
  • I2S0_SYNC
  • КСПИ1_ИО3
19 P6 И/О
  • I2S0_SCK
  • КСПИ1_ИО2
20 P5 И/О
  • СПИ1_МИСО
  • СДИО_ДАТА1
  • ЦОМ7
  • КСПИ1_ИО1
  • СЕГ31
21 P4 И/О
  • СПИ1_МОСИ
  • СДИО_ДАТА0
  • ЦОМ6
  • КСПИ1_ИО0
  • СЕГ30
22 P3 И/О
  • SPI1_CSN
  • СДИО_ЦМД
  • SC_VCC
  • КСПИ1_ЦС
23 P2 И/О
  • СПИ1_СЦК
  • СДИО_ЦЛК
  • SC_RSTN
  • LIN_SLEEP
  • КСПИ1_СЦК
24 П12 И/О
  • УАРТ0_РТС
  • ТОУЦХ0
  • АДЦ14
25 П13 И/О
  • УАРТ0_ЦТС
  • ТОУЦХ1
  • АДЦ15
26 П15 И/О
  • СДИО_ЦМД
  • SPI0_CSN
  • И2Ц1_СДА
  • RGB_DISP
  • I8080_D14
  • СЕГ15
27 П14 И/О
  • СДИО_ЦЛК
  • СПИ0_СЦК
  • И2Ц1_СЦЛ
  • RGB_DCLK
  • I8080_D15
  • СЕГ16
28 П16 И/О
  • СДИО_ДАТА0
  • СПИ0_МОСИ
  • РГБ_ДЕ
  • I8080_D13
  • СЕГ14
29 П17 И/О
  • СДИО_ДАТА1
  • СПИ0_МИСО
  • RGB_HSYNC
  • I8080_D12
  • СЕГ13
30 П18 И/О
  • СДИО_ДАТА2
  • PWMG0_PWM0
  • RGB_VSYNC
  • I8080_D11
  • СЕГ12
31 П19 И/О
  • СДИО_ДАТА3
  • RGB_R7
  • I8080_D10
  • СЕГ11
32 П47 И/О
  • СПИ0_МИСО
  • ЕНЕТ_МДЦ
  • ТОУЦХ15
  • RGB_B3
  • I8080_D0
  • ЦОМ0
  • И2С2_ДОУТ
33 П46 И/О
  • CAN_STBY
  • СПИ0_МОСИ
  • ENET_PHY_INT
  • ТОУЦХ14
  • RGB_B4
  • I8080_D1
  • ЦОМ1
  • И2С2_ДИН
34 П45 И/О
  • ЦАН_РКС
  • SPI0_CSN
  • RGB_B5
  • I8080_D2
  • ЦОМ2
  • I2S2_SYNC
35 П44 И/О
  • ЦАН_ТКС
  • СПИ0_СЦК
  • RGB_B6
  • I8080_D3
  • ЦОМ3
  • I2S2_SCK
36 РКСД И/О
  • DL_UART_RX
  • СДИО_ДАТА2
  • CLK_AUXS_CIS
  • УАРТ0_РКС
  • Flash firmware and authorize modules
37 ТКСД И/О
  • DL_UART_TX
  • УАРТ0_ТКС
  • СДИО_ДАТА3
  • Flash firmware and authorize modules
38 П43 И/О
  • И2Ц1_СДА
  • И2С1_ДОУТ
  • SC_VCC
  • RGB_B7
  • I8080_D4
  • СЕГ0
39 П42 И/О
  • И2Ц1_СЦЛ
  • И2С1_ДИН
  • LIN_SLEEP
  • SC_RSTN
  • RGB_G2
  • I8080_D5
  • СЕГ1
40 ГНД P Пин за уземљење
41 П27 И/О
  • CIS_MCLK
  • CLK_AUXS_CIS
  • ENET_PHY_INT
  • КСПИ0_ИО3
  • СЕГ17
42 П29 И/О
  • CIS_PCLK
  • ЕНЕТ_МДЦ
  • ТОУЦХ3
  • СЕГ19
43 ГНД P Пин за уземљење
44 ГНД P Пин за уземљење
45 П41 И/О
  • УАРТ2_ТКС
  • I2S1_SYNC
  • LIN_TXD
  • SC_IO
  • RGB_G3
  • I8080_D6
  • СЕГ2
46 П31 И/О
  • CIS_VSYNC
  • УАРТ2_ТКС
  • LIN_TXD
  • ТОУЦХ5
  • SC_IO
  • СЕГ21
47 П30 И/О
  • CIS_HSYNC
  • УАРТ2_РКС
  • LIN_RXD
  • ТОУЦХ4
  • СЦ_ЦЛК
  • СЕГ20
48 П33 И/О
  • CIS_PXD1
  • ЕНЕТ_РКСД0
  • ТОУЦХ7
  • СЕГ23
49 П32 И/О
  • CIS_PXD0
  • PWMG1_PWM0
  • ЕНЕТ_МДИО
  • ТОУЦХ6
  • SC_RSTN
  • СЕГ22
50 ГНД P Пин за уземљење
51 П34 И/О
  • CIS_PXD2
  • PWMG1_PWM2
  • ЕНЕТ_РКСД1
  • ТОУЦХ8
  • SPI0_CSN
  • СЕГ24
52 П35 И/О
  • CIS_PXD3
  • ENET_RXDV
  • ТОУЦХ9
  • СПИ0_МОСИ
  • СЕГ25
53 ГНД P Пин за уземљење
54 ГНД P Пин за уземљење
55 ГНД P Пин за уземљење
56 П36 И/О
  • CIS_PXD4
  • PWMG1_PWM4
  • ENET_TXD0
  • ТОУЦХ10
  • СПИ0_МИСО
  • СЕГ26
57 П37 И/О
  • CIS_PXD5
  • ENET_TXD1
  • ТОУЦХ11
  • СЕГ27
58 ГНД P Пин за уземљење
59 ГНД P Пин за уземљење
60 ВИО AO GPIO LDO output
61 LN AO Audio left channel negative output
62 LP AO Позитивни излаз аудио левог канала
63 П38 И/О
  • CIS_PXD6
  • И2Ц1_СЦЛ
  • ЕНЕТ_ТКСЕН
  • ТОУЦХ12
  • ЦОМ4
  • СЕГ28
64 П39 И/О
  • CIS_PXD7
  • И2Ц1_СДА
  • ЕНЕТ_РЕФ_ЦЛК
  • ТОУЦХ13
  • ЦОМ5
  • СЕГ29
65 П40 И/О
  • УАРТ2_РКС
  • I2S1_SCK
  • LIN_RXD
  • СЦ_ЦЛК
  • RGB_G4
  • I8080_D7
  • СЕГ3
66 МП1 AO Microphone 1 positive input
67 МН1 AO Microphone 1 negative input
68 МН2 AO Microphone 2 negative input
69 МП2 AO Microphone 2 positive input
70 МБС AO Излаз за пристрасност микрофона

НАПОМЕНА:

  • 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

УАРТ Пин Десцриптион

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.
Пин Но. Сигнал Феатуре
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 УАРТ1_РКС UART 1 to receive data.
15 УАРТ1_ТКС UART 1 to transmit data.
45 УАРТ2_ТКС UART 2 to transmit data.
65 УАРТ2_РКС 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.

Дизајн кола

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

УСБ

Пин опис

  • The USB interface conforms to USB 2.0 specifications.
  • It is recommended to reserve a USB port for program download and debugging.
Пин Но. Сигнал Феатуре
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.

Апликације

  • MCU solutionstuya-T5-Module-Developer-Platform-FIG-7
  • Микро-УСБ каблtuya-T5-Module-Developer-Platform-FIG-8

Дизајн кола

  • 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.

СПИ

  • The T5-E1 module has two sets of SPI interfaces, and the following table details the pins.
Пин Но. Сигнал Феатуре
26 SPI0_CSN GPIO15, SPI0 chip select signal
28 СПИ0_МОСИ GPIO16, SPI0 controller out and agent in
29 СПИ0_МИСО GPIO17, SPI0 controller in and agent out
27 СПИ0_СЦК GPIO14, SPI0 clock signal
22 SPI1_CSN GPIO3, SPI1 chip select signal
21 СПИ1_МОСИ GPIO4, SPI1 controller out and agent in
20 СПИ1_МИСО GPIO5, SPI1 controller in and agent out
23 СПИ1_СЦК GPIO2, SPI1 clock signal

Electrical specifications and applications

Волtage 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

КСПИ

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

Пин Но. Сигнал Феатуре
6 КСПИ0_СЦК GPIO22, QSPI0 clock signal
7 КСПИ0_ЦС GPIO23, QSPI0 enable signal
8 КСПИ0_ИО0 GPIO24, QSPI0 data bit 0
9 КСПИ0_ИО1 GPIO25, QSPI0 data bit 1
10 КСПИ0_ИО2 GPIO26, QSPI0 data bit 2
41 КСПИ0_ИО3 GPIO27, QSPI0 data bit 3
18 КСПИ1_ИО3 GPIO7, QSPI1 data bit 3
19 КСПИ1_ИО2 GPIO6, QSPI1 data bit 2
20 КСПИ1_ИО1 GPIO5, QSPI1 data bit 1
21 КСПИ1_ИО0 GPIO4, QSPI1 data bit 0
22 КСПИ1_ЦС GPIO3, QSPI1 enable signal
23 КСПИ1_СЦК GPIO2, QSPI1 clock signal

И2Ц

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

Пин Но. Сигнал Феатуре
4 И2Ц0_СЦЛ GPIO20, I2C0 clock signal
5 И2Ц0_СДА GPIO21, I2C0 data signal
15 И2Ц1_СЦЛ GPIO0, I2C1 clock signal
12 И2Ц1_СДА 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.

Апликације

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

ИКСНУМКСС

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

Пин Но. Сигнал Феатуре
11 И2С_МЦЛК GPIO28, main clock signal
16 И2С0_ДОУТ GPIO9, I2S0 output signal
17 И2С0_ДИН GPIO8, I2S0 input signal
18 I2S0_SYNC GPIO7, I2S0 sync signal
19 I2S0_SCK GPIO6, I2S0 clock signal
32 И2С2_ДОУТ GPIO47, I2S2 output signal
33 И2С2_ДИН GPIO46, I2S2 input signal
34 I2S2_SYNC GPIO45, I2S2 sync signal
35 I2S2_SCK GPIO44, I2S2 clock signal
38 И2С1_ДОУТ GPIO43, I2S1 output signal
39 И2С1_ДИН GPIO42, I2S1 input signal
45 I2S1_SYNC GPIO41, I2S1 sync signal
65 I2S1_SCK GPIO40, I2S1 clock signal

СДИО

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

Пин Но. Сигнал Феатуре
20/29 СДИО_ДАТА1 GPIO5/GPIO17, SDIO data bit 1
21/28 СДИО_ДАТА0 GPIO4/GPIO16, SDIO data bit 0
22/26 СДИО_ЦМД GPIO3/GPIO15, SDIO command
23/27 СДИО_ЦЛК GPIO2/GPIO14, SDIO clock
36/30 СДИО_ДАТА2 UART0_RX/GPIO18, SDIO data bit 2
37/31 СДИО_ДАТА3 UART0_TX/GPIO19, SDIO data bit 3

Апликацијеtuya-T5-Module-Developer-Platform-FIG-11

Дизајн кола

  • 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] и SD_CMD have reserved pull-up resistors to increase bus stability.
  • Тхе 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], и 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], и SD_CMD. Make sure the SIM card signal lines go through the ESD protection device first and then to the module.

Камера

Пин опис

Пин Но. Сигнал Феатуре
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.

Апликацијеtuya-T5-Module-Developer-Platform-FIG-12

РГБ565

Пин опис

Пин Но. Сигнал Феатуре
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 РГБ_ДЕ GPIO16, data enable signal

Етхернет

Пин опис

Пин Но. Сигнал Феатуре
41 ENET_PHY_INT GPIO27, interrupt signal
42 ЕНЕТ_МДЦ GPIO29, bus clock signal
48 ЕНЕТ_РКСД0 GPIO33, data receiving signal, bit 0
49 ЕНЕТ_МДИО GPIO32, management data input and output signals
51 ЕНЕТ_РКСД1 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 ЕНЕТ_ТКСЕН GPIO38, data sending enable signal
64 ЕНЕТ_РЕФ_ЦЛК GPIO39, reference clock signal

Апликацијеtuya-T5-Module-Developer-Platform-FIG-13

Додирните

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

Пин Но. Сигнал Феатуре
11 П28 ТОУЦХ2
24 П12 ТОУЦХ0
25 П13 ТОУЦХ1
32 П47 ТОУЦХ15
33 П46 ТОУЦХ14
42 П29 ТОУЦХ3
46 П31 ТОУЦХ5
47 П30 ТОУЦХ4
48 П33 ТОУЦХ7
49 П32 ТОУЦХ6
51 П34 ТОУЦХ8
52 П35 ТОУЦХ9
56 П36 ТОУЦХ10
57 П37 ТОУЦХ11
63 П38 ТОУЦХ12
64 П39 ТОУЦХ13
  • 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

Спеакер

Пин опис

Пин Но. Сигнал Феатуре
61 LN AUDL_N, audio negative output
62 LP AUDL_P, audio positive output

Апликацијеtuya-T5-Module-Developer-Platform-FIG-15

МИЦ

Пин опис

Пин Но. Сигнал Феатуре
66 МП1 MIC1_P, positive input of microphone 1
67 МН1 MIC1_N, negative input of microphone 1
68 МН2 MIC2_N, negative input of microphone 2
69 МП2 MIC2_P, positive input of microphone 2
70 МБС MICBIAS, microphone bias voltage

Апликацијеtuya-T5-Module-Developer-Platform-FIG-16

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

Напајање

  • Оперативни волtage 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 и волtage 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.

Као што је приказано на следећој слици:tuya-T5-Module-Developer-Platform-FIG-17

  • If t2 је мање од 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.

Дизајн мале снаге

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
  • Како то ради: 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.

Дисадванtages:

  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. Када прекидач S1 is turned on next time, t2 it will be less than t1, which can cause the module to freeze.

Решење 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. Окрените прекидач S1 off to power off the module.
  3. This way, when the MCU has data to report, it turns  S1 на првом.
  4. Then, it configures the TXD and RXD pins as the UART to establish communication with the module for data transmission.

Важно

  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.
    • Решење 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
  • Како то ради: 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.
  • Дисадванtage: 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.

Тест ставка Test metric
Инцреasing indoor distance ≥ 50м
Инцреasing outdoor distance ≥ 75м
Total radiated power (TRP) in the signaling mode of end devices (test mode of 11B 11 Mbit/s). ≥ 10 дБм
Total isotropic sensitivity (TIS) in the signaling mode of end devices (test mode of 11B 11 Mbit/s). ≤ -83 дБм
  • 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.

Антена

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.

Често постављана питања

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.

Документи / Ресурси

tuya T5 Module Developer Platform [пдфУпутства
T5-E1, T5-E1-IPEX, T5 Module Developer Platform, T5, Module Developer Platform, Developer Platform, Platform

Референце

Оставите коментар

Ваша емаил адреса неће бити објављена. Обавезна поља су означена *