Module Debugging Assistant Instruction


Tuya module debugging assistant can be used as a serial port tool to simulate module and MCU by selecting different communication protocols. This demo will show you how to use this assistant to simulate MCU to connect to Wi-Fi module and use your phone to configure the network.

Materials list


  • Tuya module or MCU*1

  • USB to TTL convert*1

  • Jumper wire/ Dupont line/connect wire


Tuya module debugging assistant


Create product

Login Tuya IoT platform, click create to create product

Use Tutorial

Developers can choose different protocol types according to the modules in their hands. Here we take Wi-Fi General Protocol as an example: Click the page Protocol Switching-> Wi-Fi-> Wi-Fi General Protocol to enter the main interface of the Wi-Fi MCU debugging assistant.

Interface introduction

Black marked area is to change the simulate side. In MCU Simulation, the tool will simulate the MCU and computer serial port will connect to the Wi-Fi module. In Module Simulation, the tool will simulate the Wi-Fi module and computer serial port will connect to the serial port of MCU. Red marked area is showing the messages sent and received Yellow marked area is showing the setting before you initiate a debug test. Green marked area is showing the testing functions, which will be available after clicking START button.

Configure the network

1.Use the USB to TTL convert, connect Wi-Fi module to computer.

2.Select the right port of serial and baud rate, then click OPEN. 3.Click BROWSE button to import function point debugging file(.json).

You can find Function Point Debugging File on the platform, clicking to download MCU SDK or just single file. 4.After clicking START button, you can find message on the left side.

If nothing Appears, please check the hardware connection, whether the TX and RX are reversed, or whether the power supply is normal. After confirming that there is no error, power on again. 5.Click RESET MODULE, you can also choose AP mode or EZ mode manually o make the module enter the network configuration mode.

6.Run Tuya App to configure the network

DP functional test

DP point report

After the network is configured, you can select a DP point to report it on the reporting interface. The App panel will receive the corresponding data and change it. This function can be used to test panel display problems and view the correct DP report data format. It is one of the most commonly used functions.

Click the reported tab to enter the reported test page:

  1. The name shown in the DP command is the name in the imported schema file

  2. The value shown in Value is optional or writable for the DP command

  3. Click the Add button, the selected DP command and value will be written to the list box on the right

  4. Click Clear to delete the contents of the right list box

  5. Click Report. The DP data displayed on the right will be reported according to the configuration on the configuration page.

Appendix: Detailed Development and Debugging Platform Features

Interface composition

The development and debugging platform mainly includes three functions: file, page switching and help center.

  • The file section mainly contains language and setting functions.

  • The page switching section categorizes them according to the role of the debugging assistant, which is convenient for users to find the corresponding debugging assistant.

  • The help center contains the software's auxiliary functions, which is convenient for users to find the cause of the problem and feedback the improvement of the software.

Language Settings

Click File-> Language and select the corresponding language pack to switch the software language.

Other Instructions

Software deployment instructions:

  1. The software is made using wpf technology

  2. The software requires the .NET Framework version 4.6.1, specifically:

  3. Does not support XP systems

  4. WIN4.6 requires NET4.6.1

  5. WIN10 supports kernel version 1511 and later. NET4.6.1 must be installed in the previous version.

Last updated