IFREEQ Docs
  • Introduction
  • Update Log
  • General Knowledge
    • About IoT
    • Electricity
      • Plug & socket types around the world
        • Power plug & outlet Types A & B
        • Power plug & outlet Type C
        • Power plug & outlet Type D
        • Power plug & outlet Type E
        • Power plug & outlet Type F (Schuko)
        • Power plug & outlet Type G
        • Power plug & outlet Type H
        • Power plug & outlet Type I
        • Power plug & outlet Type J
        • Power plug & outlet Type K
        • Power plug & outlet Type L
        • Power plug & outlet Type M
        • Power plug & outlet Type N
        • Power plug & outlet Type O
      • Full list: Plug, socket & voltage by country
      • Map showing the spread of the different plug types worldwide
      • Useful information for travellers
      • History of domestic electricity
        • Why isn’t there a universal standard electric plug?
        • Why isn’t there a standard voltage around the world?
      • Three-phase electric power (industrial applications only)
    • Certifications
    • Home Automation Brand
    • Home Automation Catalog
    • Industry Term
    • Network Term
    • The Third-party Control
      • AliGenie
      • Amazon Alexa
        • FAQs About Amazon Alexa
      • DuerOS
        • FAQs About DuerOS
      • Google Assistant
        • FAQs About Google Assistant
      • Home Assistant
        • FAQs About Home Assistant
      • HomeKit
        • FAQs About Homekit
      • IFTTT
      • Xiao AI
      • Yandex Alice
        • FAQs About Yandex Alice
  • Developer
    • Introduction
      • What is Tuya Smart?
      • What does Tuya do?
      • Tuya Smart Cloud Platform Overview
      • Advantages
      • Terms
      • Limits
    • Quick Start
    • Configure in Platform
      • Create Products
      • Function Definition
        • Overview
        • Standard Functions
        • Custom Functions
        • Cloud Functions
      • Design App UI
      • Configure Hardware
      • Cloud Configuration
        • Introduction
        • Upgrade Firmwares
        • Set up Multilingual UI
        • Manage Alarms
        • Configure Network for Devices
        • Enable Toggles on App
        • Automate the Smart Devices
      • Mass Production
    • Device Development
      • Access Mode MCU
        • MCU Access Guide
        • Wi-Fi General Solution
          • Wi-Fi Module MCU Development Overview
          • Hardware Design Reference Wi-Fi
          • Software Reference Wi-Fi
            • Tuya Cloud Universal Serial Port Access Protocol
            • Overview of migrating Tuya's MCU SDK
        • Wi-Fi Power Off Fast Connect Device Solution
          • Overview
        • Zigbee General Solution
          • Overview
          • Software development
            • Tuya Zigbee module UART communication protocol
          • Hardware Design
        • BLE General Solution
          • BLE Module MCU Development Overview
          • BLE Hardware Design
        • NB-IoT General Solution
          • NB-IoT Development Guide
          • Introduction to NB Module - NM1
      • Access Mode SoC
        • SoC Development Overview
        • Lighting
          • Guidance
          • Design
          • Test
        • Electrician
          • Guidance
          • Design
          • Test
      • Access Mode Link
        • Wi-Fi Chip SDK
          • Tuya Wi-Fi SDK Reference
          • Development Environment Setup When Using Tuya Wi-Fi SDK
        • BLE Chip SDK
          • TUYA BLE SDK User Guide
        • Zigbee Chip SDK
          • TUYA Zigbee SDK Document
      • Cloud Mode
        • Wi-Fi&BT Dual Mode Module
        • Wi-Fi Module
        • Bluetooth Module
        • Zigbee Module
        • Sub-G Module
      • Tuya Development Boards
      • Access Mode Simmulator
        • Module Debugging Assistant Instruction
      • Embedded License
        • Embedded open source license
    • Smart Product Solution
      • Gateway
        • MCU Access
        • Link SDK Access
        • PCB Details
      • HouseHold
        • Cleaner Robot
        • Air Conditioner
      • IPC
      • Lock
        • BLE Lock
        • Wi-Fi Lock
        • Zigbee Lock
      • Remote Control
      • Voice Product
        • Domestic Voice Speaker Solution
        • Domestic Voice Infrared SoC Solution
        • Overseas Voice Solution
        • Design Reference Materials - Alexa Module
        • Design Reference Materials - Domestic Voice Module
    • Firmware
      • S8E
  • FAQs
    • Device Development
      • Cloud Module
        • Wi-Fi Module
        • Zigbee Module
        • BLE Module
        • GPRS Module
        • NB-IoT Module
        • Dual-mode Module
        • Other Module Issues
      • Access Mode SoC
      • MCU Access Mode
        • Wi-Fi General Solution
        • Zigbee General Solution
        • BLE General Solution
          • BLE Single-point Solution
          • BLE Mesh General Solution
          • Other Issues of BLE Solution
        • NB-IoT General Solution
        • Other Issues of MCU Access Mode
      • Module SDK Development
        • BLE Chip SDK(single point)
        • Linux General SDK
        • NB-IoT Chip SDK
        • Wi-Fi Chip SDK
        • Others about Module SDK
      • Other Issues of Device Development
    • Smart Product Solution
      • Electrical
        • Outlet
        • Scenario Switch
        • Switch
      • Lighting
        • Wi-Fi Lighting
        • Zigbee Lighting
        • Bluetooth Lighting
        • Other Issues of Lighting
      • Lock
        • BLE Lock
        • NB-IoT Lock
        • Wi-Fi Lock
        • Zigbee Lock
        • Other Issues of Lock
      • Sensor
      • Gateway
        • BLE Gateway
        • Wireless Gateway
        • Zigbee Gateway
        • Other Issues of Gateway
      • IPC
      • Infrared Products
        • Infrared remote control
        • Infrared Capability Introduction
        • Infrared Code Library
      • Sweeper
      • Household Appliances
      • Pet Supplier
      • BLE Mesh Typical Solution
        • BLE Mesh Lighting Solution
        • BLE Mesh Electrical Solution
        • BLE Mesh Sensor Solution
        • BLE Mesh General Solution
    • Products
      • Electric
        • Smart Switch
        • Smart Plug
        • Curtain Controller
      • Lighting
      • Security
        • E202/203 Smart Lock
    • More
  • Links
    • ifreeq.cn
    • ifreeq.com
    • AIoT Expo
    • Official Store
Powered by GitBook
On this page
  • Overview
  • Materials list
  • Hardware
  • Software
  • Instructions
  • Create product
  • Use Tutorial
  • Interface introduction
  • Configure the network
  • DP functional test
  • Appendix: Detailed Development and Debugging Platform Features
  • Interface composition
  • Language Settings
  • Other Instructions

Was this helpful?

  1. Developer
  2. Device Development
  3. Access Mode Simmulator

Module Debugging Assistant Instruction

PreviousAccess Mode SimmulatorNextEmbedded License

Last updated 4 years ago

Was this helpful?

Overview

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

Hardware

  • Tuya module or MCU*1

  • USB to TTL convert*1

  • Jumper wire/ Dupont line/connect wire

Software

Tuya module debugging assistant

Instructions

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.

Login Tuya IoT platform, click create to create product