🏆 Join the TuyaOpen AI Hardware Contest! 100 days to build the future of AI devicesLearn More →
Skip to main content

T5AI-CORE Development Kit

T5-AI Core DevKit
T5-AI Core DevKit

Software Build Configuration​

The board-level configuration file defines parameters for core functional components such as peripheral drivers, pin mapping, BSP packages, and third-party libraries. By using the pre-configured board-level configuration file provided with the development board, you can significantly reduce the workload of hardware adaptation and driver development, thus improving development efficiency.

Want to develop new peripherals?

Config Features:

  • If you need to add new peripherals, you can write drivers directly at the application layer. BSP drivers are mainly for onboard fixed peripherals.
  • Peripheral requirements may vary between applications, so you may need to adjust the config file according to your specific needs.
  • Different application requirements may require configuring different third-party library parameters.
  • It is recommended to use the provided initial Config file as the basis for board-level configuration, and then perform secondary development and feature expansion on this basis.

How to enable board-level config? See: TOS Tool Guide - Config Choice​

Build FlagTUYA_T5AI_CORE.configT5AI-Core + Onboard Mic/Speaker BSP board configuration - 🚧 Config File
BSP Driver Source🚧T5AI-Core BSP Driver Source

Overview​

The Tuya T5AI-Core development kit is a highly integrated voice core development board based on the T5-E1 module. The T5-E1 module is independently developed by Tuya Smart, integrating embedded Wi-Fi and Bluetooth, and is suitable for a variety of smart hardware scenarios. The T5AI-Core board comes with one microphone and one speaker, supporting local voice recognition and audio playback to meet voice interaction application needs.

The board is equipped with a 44-pin header, making it easy for users to quickly develop and prototype AIoT projects. It features onboard lithium battery power management circuitry, supports low-power design, and is suitable for mobile and portable smart device development.

This development board provides developers with rich hardware interfaces and comprehensive voice features, making it an ideal choice for AIoT voice interaction application development.


Development Kit Highlights​

  • Tuya T5 MCU module (Wi-Fi 2.4G + BLE 5.4)
  • ARMv8-M Star (M33F) processor, up to 480 MHz
  • 8 MB Flash (internal to the module chip)
  • 16 MB RAM (internal to the module chip)
  • Serial firmware download and debug log
  • 1 microphone channel
  • 1 echo sampling channel
  • 1 speaker channel
  • Module pin breakout
  • Onboard 2.4 GHz Wi-Fi antenna
  • USB power supply + dual-channel serial chip
  • Board dimensions: 73mm × 29mm × 11mm (without pin header) / 17mm (with pin header)
    (Approx. 2.87" × 1.14" × 0.43" / 0.67" with pin header)

Hardware Architecture Diagram​

T5-AI Core Hardware Diagram
T5-AI Core Hardware Diagram

Design Philosophy & Pin Availability​

The T5AI-Core development board was designed with both portability and development flexibility in mind. Only core functional modules such as battery power supply, firmware burning and debugging, and audio input/output are integrated onboard, ensuring the board is ready to use out of the box and meets the needs of main voice interaction scenarios.

Except for these core functions, all other functional pins are fully broken out via the 44-pin header, greatly enhancing hardware expandability and accessibility. Developers can flexibly connect various external sensors, actuators, or other peripherals according to project needs, making prototyping and feature validation much easier. This design not only ensures a simple and efficient board structure but also provides a solid hardware foundation for future feature expansion and custom development. For more IO requirements, the PCB also reserves pad test points, giving the board comprehensive expansion capabilities while maintaining a compact size.

Hardware Details​

Power Management System​

Power Input​

  • Type-C USB 2.0 Port: Provides 5V main power input, and supports USB dual-channel serial for firmware burning and log debugging.

  • JST PH 1.25mm Battery Connector: Supports 3.7V lithium battery power supply for portable applications.

Power Switch​

A toggle switch serves as the main power switch for the system, with upstream power supplied from either the USB or the lithium battery.

warning

Please make sure the power switch is turned on before performing firmware flashing.

Power Management IC​

  • ETA6003 Battery Management IC:
    • Receives 5V from Type-C USB and 3.7V from the battery connector
    • Manages battery charging and power distribution
    • Outputs 5V to the power switch
    • Controls the power indicator (PW LED) and charge indicator (Charge LED)

Power Switch and Regulation​

  • Power Switch: Controls the main system voltage (VSYS), receives 5V from ETA6003
  • LN2220PAR Boost Module: Boosts VSYS to a stable 5V power domain, supplying high-power components such as the audio amplifier
  • RY3408 3.3V Regulator: Steps down the boosted 5V to a 3.3V power domain for the T5-E1 module and digital circuits

Power Features​

  • Dual power input: USB 5V and lithium battery 3.7V
  • Intelligent power management, supports battery charging and power switching
  • Multi-stage regulation, provides stable 5V and 3.3V power domains
  • Low-power design, suitable for portable applications
Battery Requirements
  • Battery Type: It is recommended to use a 3.7V lithium battery with a discharge rate of at least 1C to ensure stable system power supply.
  • Capacity Recommendation: Choose an appropriate capacity according to your application, common capacities are 500mAh~2000mAh.
  • Polarity Warning: When connecting the battery, strictly follow the positive and negative markings to avoid reverse connection and device damage.
  • Protection Circuit: It is recommended to use lithium batteries with overcharge, over-discharge, and short-circuit protection for improved safety.

Charge Indicator Logic​

The ETA6003 battery management IC controls the charge indicator (Charge LED) to show the current charging status. The logic is as follows:

  • When the switch is set to "On", the Power LED lights up, indicating the system is powered.
  • Charging: When the lithium battery is charging, the Charge LED lights up, indicating charging is in progress.
  • Fully Charged: When the battery is fully charged, the Charge LED turns off automatically, indicating charging is complete.
  • No Battery Connected or Not Charging: The Charge LED blinks.

Note: To check the charging status, observe whether the Charge LED on the board is lit.

Core Processing Unit​

T5-E1 Wi-Fi+BT Module​

  • Processor: ARMv8-M Star (M33F) architecture, up to 480 MHz
  • Memory: Built-in 8MB Flash and 16MB RAM
  • Wireless Communication: Integrated 2.4GHz Wi-Fi and Bluetooth 5.4
  • Power Supply: Powered by 3.3V domain
  • Function: Acts as the core processing unit, handling all computation, communication, and system control

Communication Interfaces​

USB Serial Communication​

  • CP2105 Dual-Channel Serial Chip:
    • Connects to the DP/DN signal lines of the Type-C USB
    • Provides dual UART download/debug functions
    • Supports firmware burning and debug log output
  • Driver installation: Driver.

User Interaction Components​

User Input/Output​

ComponentPinDescription
User LEDP9User indicator controlled by T5-E1 module, connected to GPIO P9
User ButtonP29User input button, connected to T5-E1 module GPIO P29
Reset ButtonRSTDedicated reset button, sends reset signal to T5-E1 module

Audio System​

Audio Sampling Specs​

  • Standard Sampling Rate: 16KHz
  • Sampling Bit Depth: 16 bits

The T5-AI Core audio system uses a default 16KHz sampling rate and 16-bit precision, suitable for voice recognition, audio processing, and compatible with mainstream audio algorithms and protocols.

Audio Input​

The T5 module supports two analog microphone inputs for convenient audio capture and loopback. The audio input channels on this board are assigned as follows:

ChannelDescription
CH1Microphone audio input
CH2Speaker loopback signal input (supports interruption)
  • Onboard Analog Microphone: Integrated microphone providing analog audio input to the T5-E1 module

  • Loopback Circuit: Audio loopback circuit for audio testing and processing, supports AEC (echo cancellation) and echo suppression, connected to the T5-E1 module.

Audio Output​

  • 1W Audio Amplifier:
    • Powered by the 5V domain
    • Receives audio signals from the T5-E1 module
    • Outputs amplified audio to the speaker connector
  • JST PH 1.25mm Speaker Connector: External speaker output interface, supports 4Ί 3W speakers

Speaker Selection
  • It is recommended to use speakers with 4Ί impedance and 1W~3W power. Please ensure the selected speaker has good echo cancellation and noise suppression performance to meet the audio system requirements.

Expansion Interfaces​

44Pin 2.54mm Header​

  • Power Pins: Provides 5V and 3.3V power output
  • Signal Pins: Breaks out various signals from the T5-E1 module, including GPIO, UART, SPI, I2C, etc.
  • Function: Convenient for external circuit connection and feature expansion, supports rapid prototyping

Below are the pin multiplexing and function definitions:

USB Host Interface (USB Host Expansion)​

The T5 module supports one USB Host, which can connect to various USB devices such as USB cameras, USB serial (CDC), etc., meeting rich peripheral expansion needs.

T5 USB Host Interface Diagram

Firmware Download UART (Multiplexed)​

The T5 UART pins are shared with the onboard serial chip. After firmware burning is complete, the UART port can be reassigned for other device use, enabling flexible serial resource management.

T5 UART Interface Diagram

Antenna System​

  • Onboard 2.4GHz Wi-Fi + BLE Antenna: Integrated antenna providing wireless communication for the T5-E1 module

Download Resources​

T5AI-Core Development Board​

T5 MCU Datasheets​

USB-to-Serial Driver Installation​

T5AI-CORE uses the onboard CH343 USB-to-serial chip for firmware burning and debugging. Download the driver suitable for your operating system: