Docs

SoC Development Overview

Last Updated on : 2020-09-10 09:55:32download

System on a Chip (SoC) solution consists of SoC plug and play solution and SoC custom firmware solution. This solution integrates with more than 10,000 smart product development experience of Tuya Smart, and it is suitable for electrician, lighting, and other products.

Overview

SoC solution is a low-cost and high-efficiency development method for you to quickly develop a smart product and put it into mass production. At present, SoC products support switches, sockets, bulb lights in the categories of electrician and lighting, and some products in the category of security and sensors. If you have higher requirements for the development and configuration of products in the above categories, you can select MCU development method.

Tuya Smart provides two development solutions: SoC plug and play solution and SoC custom firmware solution.

SoC Development Overview
  • SoC plug and play solution: According to common functions and device types of electrician and lighting categories, Tuya Smart provides dozens of mature plug and play solutions. You only need to select your desired solution online. Tuya will send you the modules according to the information you configure. Connect the received module to your product, and realize the functional parameters of your online configuration.

  • SoC custom firmware solution: If the plug and play solution does not meet your functional requirements, you can choose the SoC custom firmware solution. You just need to enter the requirements in hardware commission. The professional Tuya development team can develop the firmware and send you modules with custom functions. Custom panel and cloud configuration belong to such requirements.

SoC plug and play development process

The following figure describes the operation process of the SoC plug and play solution.

SoC Development Overview

Step 1: Create a product

  1. Log in to IoT Console.

  2. On the homepage, click Create.

  3. On the Create new product page, select your product category.

    • If your product is a switch or socket, select Electrician.
    • If your product is a bulb light, select Lighting.
  4. Then, select Plug and Play Solution, and select one Protocol type.

    Note: After you select Plug and Play Solution during product creation, the system will automatically configure Protocol type of your module. Be sure to confirm.

    SoC Development Overview

  5. Click the target product icon to configure basic product information.

    Item Description Required Example
    Product name The custom name of the product. Format: XXX (brand) + XXX (product) + XXX (module model). Yes Tuya Smart switch A100
    Product model The custom model of the product. Format: XXX (AE1123). No AE1123
  6. Go to the product configuration page. You can operate as follows.

    Name Description
    Follow up product development progress It indicates the current product development progress. Follow the steps to set the product for the plug and play solution.
    View product information
    • Thumbnail: The created product type.
    • PID: the unique product ID and one of the most important information of the product. PID covers your information on product configuration, app, module and so on. It is recommended that you keep this information well, which is equivalent to the ID card of the product.
    • Edit product information: You can further supplement product information and edit product name, product model, product remarks and so on. After editing, remember to save.

    SoC Development Overview

Step 2: Configure product functions

  1. On the Function Definition page, configure product functions, confirm and click Next: App Panel Design.

    Tuya Smart has defined the function solutions for the products, such as smart switch, smart socket and smart bulb light. You confirm your product functions. If you think the product function does not meet your product requirements, it is recommended that you create a custom product.

  2. On the App Panel Design page, select a panel template.

    1. On the Select UI template page, select the target template, and click Apply.

    2. Test the adaptation between the app and the product.

      1. Scan the QR code to download Tuya Smart app or Smart Life app.

        SoC Development Overview

      2. Use the downloaded and installed app to scan the product QR code, and experience the real effect of your selected app interface.

        • If you are not satisfied, you can click Previous: Function Definition to configure again.

        • If you are satisfied, you can click Next: Hardware Commission.

          SoC Development Overview

  3. If you have development capabilities, you can select a module and refer to the circuit diagram to configure the I/O information online. The module firmware will be automatically created.

    After you place an order, the module will be burned with the configured firmware, and sent to you.

    1. Select a module. You can view Module Details or Change Module in this step. You can choose one from the recommended modules. If they cannot meet your requirements, you can change the module.

    2. View the circuit diagram. The circuit diagram shows the circuit design diagram of the selected module and the product that you want to create, for your reference.

      SoC Development Overview

    3. Configure the module firmware I/O port. The correspondence between the I/O ports is provided for your reference. The I/O configuration information varies in products. It consists of power statistics version, power strip version, panel switch version, and bulb light version. Fill in the information according to different versions.

      SoC Development Overview

      Note: 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 information in this section, and the modules can not be changed after being sent. If you change the module after the module is sent, the two modules will be inconsistent. The old product cannot be upgraded online.

    4. Purchase a module 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.

      SoC Development Overview

Step 3: Extended function

After completing the basic definition of the product function, you can also polish the details of the product. Here, you can further carry out multilingual management, firmware update, network connection, scenario connection settings, and quick toggle settings. For more information, see Introduction.

SoC Development Overview

  • Multilingual management: The entrance to the device language settings displayed on the app.

    SoC Development Overview

  • Firmware Updates Center: It only applies to MCU update of MCU connection development. SoC solutions do not need this operation.

  • Network connection information: At present, custom network connection guides only apply to OEM apps. Tuya general guides are used if you select Tuya public version apps, or if your OEM app does not configure the network connection guides. Be sure to synchronize the network configuration information you finally confirmed to your paper guides, so as to guide your users to use the product.

  • Scenario connection settings: You can customize whether data points support smart scenario trigger condition and implementation task. After these functions are enabled, you can configure them in the smart scenario of the app.

  • Quick toggle settings: On the Quick toggle settings page, after you select the Switch, the product will not only display the switch key on the app homepage, but also support display and control operations in widgets.

Step 4: Arrange production

If your product has been debugged, you can click Sample test completed on the page and enter the trial production stage. For more information, see Arrange Production.

Note: The firmware, DP, panel, and module of the product in the trial production phase cannot be modified. If you need to modify them, you can click Return to development in the In trial production section.

  1. Click Purchase module.

    SoC Development Overview

  2. On the Purchase module page, select a module and place an order.

  3. After entering your corresponding receiving information, production and delivery requirements, click Submit to submit the order.

Experience products of plug and play solution

Tuya SoC solution is a plug and play solution that has accumulated the successful intelligent experience of tens of thousands of customers. The SoC solution is currently only for electrician and lighting products.

The following is a summary of the functions of the plug and play solution:

  • Electrician category:
    • Power statistics socket: Switch, timer, countdown, power statistics, and overcurrent protection.
    • Multi-way power strip: Each switch, each timer, each countdown, all on, and all off.
    • Multi-way socket: Each switch, each timer, each countdown, all on, and all off.
    • Single socket: On, off, timer, and countdown.
  • Lighting category:
    • Single-way dimmable light ©: On/off, timer, and brightness adjustment of white bead.
    • Two-way white light (CW): On/off, timer, brightness adjustment and color temperature adjustment of cold and warm bead.
    • Three-way multicolor light (RGB): On/off, timer, color disk selection 256*256*256, brightness adjustment and saturation adjustment of RGB bead.
    • Four-way multicolor light (RGB): On/off, timer, brightness adjustment of white bead, color disk selection 256*256*256, brightness adjustment and saturation adjustment of RGB bead.
    • Five-way multicolor light (RGB): On/off, timer, brightness adjustment and color temperature adjustment of cold and warm bead, color disk selection 256*256*256, brightness adjustment and saturation adjustment of RGB bead.

You can use Tuya Smart app or Smart Life app to scan the QR code to experience some of the product solutions:

  • Scan the QR code to experience the power statistics socket:

    SoC Development Overview

  • Scan the QR code to experience the Zigbee socket:

    SoC Development Overview

  • Scan the QR code to experience the multicolor light (RGBCW):

    SoC Development Overview

SoC custom firmware process

Step 1: Create a product

Note: After you select Plug and Play Solution during product creation, the system will automatically configure Protocol type of your module. Be sure to confirm.

  1. Log in to IoT Console.

  2. On the homepage, click Create.

  3. On the Create new product page, select your product category.

    • If your product is a switch or socket, select Electrician.
    • If your product is a bulb light, select Lighting.
  4. Select Custom.

    SoC Development Overview

  5. Click the target product icon to configure basic product information.

    Item Description Required Example
    Product name The custom name of the product. Format: XXX (brand) + XXX (product) + XXX (module model). Yes Tuya Smart switch A100
    Product model The custom model of the product. Format: XXX (AE1123). No AE1123
    Communication type Select the communication type of your product, which will affect the networking method of the final product and the communication method of the module sent to you. Be sure to confirm. Yes Bluetooth

Step 2: Configure product functions

  1. On the Function Definition page, configure product functions, confirm and click Next.

    SoC Development Overview

    • Standard function: Click Create Functions, and you can add the standard functions that are not selected yet. You can also edit or delete a single data point.

    • Custom function: You can customize functions that are not supported by standard function. Data point (DP) is the abstract representation of function, and each function can be defined by different function types. Currently, the IoT Console provides: Six data types, namely Boolean, Integer, Enum, Fault, Char type and RAW type.

    • Cloud function: You can only configure cloud functions on the app control interface that is configured with cloud function controls.

      • Timer: You can configure the timer and weekly cycle. Embedded hardware development is not needed to achieve this function.

      • Jumping page: You can configure the micro-mall and product instructions.

        The effect of enabling the cloud function is as follows:

        SoC Development Overview

  2. On the App Panel Design page, select a panel template.

    1. On the Select UI template page, select the target template, and click Apply.

    2. Test the adaptation between the app and the product.

      1. Scan the QR code to download Tuya Smart app or Smart Life app.

        SoC Development Overview

      2. Use the downloaded and installed app to scan the product QR code, and experience the real effect of your selected app interface.

        • If you are not satisfied, you can click Previous: Function Definition to configure again.

        • If you are satisfied, you can click Next: Hardware Commission.

        SoC Development Overview

  3. If you have development capabilities, you can select a module and refer to the circuit diagram to configure the I/O information online. The module firmware will be automatically created.

    After you place an order, the module will be burned with the configured firmware, and sent to you.

    1. Select a module. You can view Module Details or Change Module in this step. You can choose one from the recommended modules. If they cannot meet your requirements, you can change the module.

    2. Click Select Firmware. In the pop-up window, click Select Customize Firmware, and follow the interface prompts.

      SoC Development Overview

    3. After waiting for a period of time, it will enter offline communication. Tuya Smart Expert Team will evaluate your product requirements and selected solutions, and develop customized firmware until production test and mass production.

Step 3: Extended function

After completing the basic definition of the product function, you can also polish the details of the product. Here, you can further carry out multilingual management, firmware update, network connection, scenario connection settings, and quick toggle settings. For more information, see Introduction.

SoC Development Overview

  • Multilingual management: The entrance to the device language settings displayed on the app.

  • Firmware Updates Center: It only applies to MCU update of MCU connection development. SoC solutions do not need operations.

  • Network connection information: At present, custom network connection guides only apply to OEM apps. Tuya general guides are used if you select Tuya public version apps, or if your OEM app does not configure the network connection guides. Be sure to synchronize the network configuration information you finally confirmed to your paper guides, so as to guide your users to use the product.

  • Scenario connection settings: You can customize whether data points support smart scenario trigger condition and implementation task. After these functions are enabled, you can configure them in the smart scenario of the app.

  • Quick toggle settings: On the Quick toggle settings page, after you select the Switch, the product will not only display the switch key on the app homepage, but also support display and control operations in widgets.

Step 4: Arrange production

If your product has been debugged, you can click Sample test completed on the page and enter the trial production stage. For more information, see Arrange Production.

Note: The firmware, DP, panel, and module of the product in the trial production phase cannot be modified. If you need to modify them, you can click Return to development in the In trial production section.

  1. Click Purchase module.

    SoC Development Overview

  2. On the Purchase module page, select a module and place an order.

  3. After entering your corresponding receiving information, production and delivery requirements, click Submit to submit the order.

    Note: Before mass production, click Apply on the page to submit an application for product testing assistance, and send samples to Tuya according to the address on the page. Tuya will provide a professional test team to check for you and output a professional test report to you. After the test is passed, click Trial production testing completed. After the product is released, you can also click to purchase the mass production module. Your product can be put into mass production.

Click for services and help