Designing a universal remote control (SoC, development free)

Last Updated on2020-08-06 06:19:18

Overview

Technology is constantly progressing, and more and more smart homes are entering our daily life. Universal remote control are commonly used at home and the workplace. Perhaps you experienced the situation that the remote control cannot be found, the universal remote control is perfect to solve this problem.

With a universal remote control, there is no need to find a remote control one by one to control the electrical appliances at home. You can control it by opening the mobile APP, also you can associate the smart speaker for voice control.

This tutorial describes how to use the Tuya sandwich development board to devise a universal remote control product prototype.

Materials

Hardware (4)
  • Tuya sandwich infrared remote control function board

    Count:1

    more

  • Tuya Sandwich DC power supply board

    Count:1

    more

  • 5V Micro USB shìpèiqì huò 12V shìpèiqì 27/5000 5V Micro USB adapter or 12V adapter

    Count:1

  • Tuya Sandwich Wi-Fi SoC main control board (E3S)

    Count:1

    more

Steps

  • Step 1: Creating a product

    1. Log on to Tuya IoT Platform.

    2. Create a Wi-Fi universal remote control (upgraded version) product, select the product function and display panel, and check the firmware information according to the hardware circuit of the sandwich development board, the operation flow is shown in the figure.

      image.png

      For more information, see SoC Product Creation Guide.

    The sandwich development board (TYWE3S Wi-Fi Module) is used in this example, and the firmware information is configured as follows.

    Configruation Setting
    reset button GPIOA_19
    Wi-Fi indicator GPIOA_22
    Others The default

    image.png

  • Step 2: Downloading the firmware

    To make the device have the configuration function of the first step, you must downloading the relevant configuration information into the module and attach it to the Tuya Sandwich Development Board Management Platform.

    1. Set the development board and apply for the authorization software and account for downloading.

    2. Select the product authorization code created in the first step, log in to the authorization software, enter the authorization code to download. The operation process is shown in the following picture.

      image.png

      image.png

      For more information, see Download firmware and authorization code process.

  • Step 3: Network configuration test for App

    According to the network configuration during the first step, the control device has entered the network configuration state.

    In this step, press and hold the button on the Tuya sandwich Wi-Fi SoC main control board (E3S) for more than 3 seconds, if the indicator flashes quickly, the device enters the network configuration state.

    Next, you can use the Tuya smart APP to add the device. Select the universal remote control category, follow the prompts to connect the device to the cloud.

    Now, you can use the App to add the remote control and controls the home appliances via your mobile phone.

  • Step 4: Smart speaker test for extended function

    Tuya supports the popular smart speaker control devices in the market, for example, Amazon Alexa.

    1. Visit the Tuya Value-added Service.

    2. Apply for and activate the speaker service. Later, you can see the corresponding speaker icon on the information page of the product. Refer to Quick Guide of Using Amazon Echo to Control Smart Devices to associate the device to the smart speaker platform. Now you can use the smart speaker to control the device. For more information, see Third-party Access.

      image.png

Summary

Based on the Tuya platform and the Tuya sandwich development board, it is very convenient to complete the prototype setup of a universal remote control product, which greatly accelerated the development of the product.