Last Updated on : 2022-09-21 03:51:42download
The Tuya IoT Development Platform supports multiple connection methods for devices. It provides device SDK which meets the need of various devices and scenes. You can select a desired development method for a specific product category. To develop products efficiently and correctly, please read the following content carefully.
We have released a new version for the third step in product development—hardware development on September 13, 2021. The self-developed module SDK and Tuya standard module MCU SDK have been merged into TuyaOS. During hardware development, you can select a chip or a module to generate firmware.
The cloud connection method is the firmware development method for devices to be connected to the cloud. It is hereinafter referred to as the development method. The Tuya IoT Development Platform has initiated no-code development and provides three development methods—TuyaOS, Link SDK, and MCU SDK.
Development methods | Main features |
---|---|
No-code development | Tuya provides configurable firmware. You can connect your devices to the cloud without firmware development. |
MCU SDK | You can implement protocol adaptation with a few lines of code on the MCU. This allows you to focus on device functions only without worrying about the complex cloud protocols. The original development method is called Tuya standard module MCU SDK. |
TuyaOS | Use a chip or a module that has been adapted to the ecosystem, based on the self-developed firmware of TuyaOS. It is a connection method merged by the two methods based on self-developed module SDK and Tuya standard module MCU SDK. |
Link SDK | Link SDK is independent of a specific chip, device platform, and operating system. As long as the device supports the C programming language, you can connect it to the cloud simply through interface adaption. Core capabilities such as device connection, upstream and downstream communication, and OTA updates are provided. |
You have created at least one product. For details, see Create Products.
The following steps describe how to develop a product in a general way. Some steps might vary depending on the development method.
Log in to the Tuya IoT Development Platform, and click Product > Production in the left navigation bar.
Select a product in the developing status, and click Continue to Develop.
In the 3rd step—Hardware Development, confirm the Selected Cloud Access Mode. Tuya has preset the most suitable one according to the solution. The development method is divided into no-code development and custom firmware development.
The following steps describe how to configure hardware development based on a no-code solution. For more information, see Create Electrical Products and Create Smart Light.
Log in to the Tuya IoT Development Platform, and click Create on the homepage.
Select a product and click No-Code Development. According to the protocol and function attributes, select a product.
Complete product information and click Create to create the product.
After you complete function definition and device panel configuration, in the field of Selected Cloud Access Hardware on the page of Hardware Development, select a module for your product.
The modules can meet your development requirements. We recommend that you select modules in front rows.
(Optional) You can click Hardware Details to view the module information. Click Select to select a module. You can change it as needed.
In the area of Generate firmware, you can configure the firmware setting and click Generate Firmware below the page. The firmware will be generated for the selected hardware.
During the process of configuring firmware, on the right of the page, you can see the I/O port table of the module. Check firmware configuration information, change the parameters based on your actual requirements, and keep the information securely.
All modules will be burned according to the firmware configuration information. The modules cannot be changed after being sent. If you change the firmware configuration information after the module is sent, the two versions will be inconsistent. The previous product cannot be updated online. The I/O configuration information varies depending on the product.
Enter information according to the specific version.
In the area of Development and Debugging, you can view the circuit diagram, download the Tuya Cloud Test app, and read the document for test.
(Optional) In the Operation bar in the section of Selected Cloud Access Hardware, click Buy Now to purchase the module online for debugging.
The above firmware configuration is burned to the module. It can be directly used to debug the product after you place an order.
If you connect your devices to the cloud by the firmware developed by MCU SDK, TuyaOS, and Link SDK, you are using a custom solution. It is also called custom firmware development.
Select one connection method from MCU SDK, TuyaOS, and Link SDK. For the differences in development methods, see Development methods in this document.
After you complete function definition and device panel configuration, in the field of Selected Cloud Access Hardware on the page of Hardware Development, select a module for your product.
The modules can meet your development requirements. We recommend that you select modules in front rows.
(Optional) You can click Hardware Details to view the module information. Click Select to select a module. You can change it as needed.
After you select the hardware, click Generate Firmware, the firmware or SDK will be generated automatically.
In the area of Development and Debugging, you can view the circuit diagram, download the Tuya Cloud Test app, and read the document for the test.
(Optional) In the Operation column of the selected firmware, click Buy Now to purchase firmware for debugging.
The above firmware configuration is burned to the module. It can be directly used to debug the product after you place an order.
After completing the hardware development, you can select and manage the firmware for the product. For more information, see Select and Change the Firmware Version.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback