Module Debugging Assistant Instruction
Last Updated on：2020-04-25 03:31:57
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.
Tuya module debugging assistant
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.
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.
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
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:
The name shown in the DP command is the name in the imported schema file
The value shown in Value is optional or writable for the DP command
Click the Add button, the selected DP command and value will be written to the list box on the right
Click Clear to delete the contents of the right list box
Click Report. The DP data displayed on the right will be reported according to the configuration on the configuration page.
The development and debugging platform mainly includes three functions: file, page switching and help center.
Click File-> Language and select the corresponding language pack to switch the software language.
Software deployment instructions:
How helpful was this page?