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
  • Voice IR creation process
  • Register and log in:iot.tuya.com
  • Create AI voice infrared remote control products
  • Configure App panel
  • Hardware debugging
  • Voice IR design guide
  • Structural design reference:
  • Test guide for Voice IR
  • Objective:
  • The scope of:
  • Solution platform installation:
  • Solution platform operation instructions:
  • Test rack manufacturing instructions:

Was this helpful?

  1. Developer
  2. Smart Product Solution
  3. Voice Product

Domestic Voice Infrared SoC Solution

This product just for China

PreviousDomestic Voice Speaker SolutionNextOverseas Voice Solution

Last updated 4 years ago

Was this helpful?

Voice IR creation process

Register and log in:iot.tuya.com

Voice IR creation process
  1. Register and log in the Tuya IoT platform (iot.tuya.com). 2. It is suggested to complete the enterprise certification at the same time.

Create AI voice infrared remote control products

  1. Click create product

  2. In the "other" category, select "AI voice universal remote control "in" universal remote control ".

  1. Fill in the product name, which will be displayed on the App control interface

  2. Product model. It is recommended to fill in the internal model name or customer product model to facilitate product maintenance and order management.

  3. The above information can be modified in "edit product information".

Configure App panel

  1. Select the App control panel;

  2. After confirming the control panel, you can experience the interaction of the control panel in the App through the function of scribbling intelligence or scanning code in the intelligent living App;

  3. Select the custom panel to enter the panel editing interface and modify the panel color matching and background.

Hardware debugging

Let's take the VWXR2 module as an example to explain the configuration instructions

  1. Click configure firmware information to configure firmware;

  2. Click the schematic diagram below to view the scheme reference schematic diagram;

  1. Infrared channel setting:

The module pins for infrared transmission and infrared reception are set here in The VWXR2 module has a special infrared transceiver pin, which is the default

Fixed as IR_TX and IR_RX pins, not configured as other pins.

  1. Network configuration

Configuration of MIC keys:

The voice infrared distribution network button is equipped with the anti-mic function. Short press the button to switch the MIC switch, and long press to enter the distribution network mode

b. distribution network length per second:

Configure the long button press time to enter the distribution mode;

c. indicator 1& indicator 2 configuration:

voice infrared scheme supports dual color indicator, dual color indicator is not only used for the distribution network prompt, but also for the voice control lamp

Light feedback, the following is the light feedback logic configured by default (indicator 1 is configured with red, indicator 2 is configured with blue) :

Product status light prompt

Default distribution network mode: red and blue alternate flash;

Compatible distribution network mode: red and blue alternating slow flash;

Off state: red light breathing;

It has been awakened and the network is working normally.

Has been awakened but the network is abnormal: from extinguished to red light on;

Recognition: blue light breathing;

No recording is allowed (press the distribution network button to switch the MIC switch) : the red light is always on

IoT device control success: the blue light stays on for 2S;

IoT device control failure: red light constantly on 2S

Normal standby mode: the indicator light is off

d. Trigger mode of the first distribution network

There are two ways for users to enter the distribution network when using the product for the first time: one is to enter the distribution network state when power is on, and the other is to enter the distribution network state when long press the distribution network button.

  1. Play control

Volume button configuration, this is an advanced option, do not need to use the volume of the product, select empty.

Note: click on the save the configuration and after sending module, has been sending module in IO and features shall not be able to modify. If you find the hardware schematic diagram and the IO you choose does not exist and you need to modify it, please re-save the configuration and send the module again. Send module IO and new features will work with new save configuration. Therefore, please before you choose the configuration and design circuit principle diagram of hardware engineer confirmed IO configuration information, in case of wrong configuration module failure.

Voice IR design guide

Structural design reference:

Special reminder: the opening spacing of the microphone is ≥40mm, and 60MM is recommended

##Hardware design reference:

2、The following figure is the speech infrared reference schematic diagram developed based on the VWXR2 module:

  1. The infrared transmitting tube is evenly distributed. It is recommended to put one perpendicular to the PCB and one at 60 ° intervals (45 ~ 60 ° from the PCB plane) on the periphery.

  2. It is recommended that the package of transmitting tube current-limiting resistance should be no less than 0805;

  3. The spherical part of the front receiving head should avoid direct light as far as possible, and the receiving head with strong anti-interference ability should be selected. LF0038KAHA of lanfeng is recommended.

  4. If you want to design light feedback as a voice state indicator, it is suggested to design LED array, otherwise a single LED can be designed to reduce the cost. The disadvantage is that there is no light feedback in voice control;

4, TX0, RX0 as production and test communication serial port to USB, avoid reuse and reserve test points, in addition, VCC and GND also reserve test points, convenient firmware burning and authorization;

  1. The projection area of the module antenna is recommended to be completely hollow out. The distance of the antenna from the shell is guaranteed to be > 1mm to guarantee the antenna performance.

  2. The infrared light transmittance of the shell directly affects the control distance of the whole machine. It is suggested that the infrared light transmittance of the shell material is > 80%;

Test guide for Voice IR

Objective:

Infrared remote control function test operation instructions, to facilitate customers to complete product testing.

The scope of:

Voice infrared remote control products

Solution platform installation:

  1. Test tool preparation:

Test tooling, test equipment

Wireless router

Computer (Internet connection required)

Test camera with camera obscure-box and infrared detection function (normal android phone is ok)

Special USB cable *2: production method [take the graffiti serial port board +USB cable (cut the USB head), then connect the serial port board 5V/GND/TX/RX with the USB cable, pay attention to TX, RX do not connect the reverse, the welding is completed]

Double-click the diagram to start the production test tool

Install the serial driver

According to the computer system and serial port installation, it is recommended to use CP2102 serial port, figure 1 is win10 64 system driver, figure 2 is win7 64 system driver.

Solution platform operation instructions:

1.Open the solution platform tool. Select debug mode and import the json file (test series file) to find the corresponding path.

2.Click start test and double click to establish the connection line. Set the serial port (the main serial port is set for the test). Double-click the wake up test to automatically import the audio file (note the audio file format wav format). The awakening words are: "little wise steward"

3.Enter the SN number and click "run" to power the device. The remote control enters the production and test mode automatically. Check the flashing indicator manually click ok, the indicator does not flash and click failed. Pass the test to the next step. Key test, touch the key test pass will automatically jump to the next step.

Wifi performance test: the router with SSID of tuya_mdev_test1 needs to be set and placed 3-5 meters away from the product under test. When the module receives the router's signal strength at -60db-10db, it is qualified. Test pass to automatically modulate the next step, and test fail to stop the test.

For infrared transmission and reception test, the distance between the two devices is suggested to be about 1m. Test pass automatically takes the next step, and test fail stops.

Manual awakening test: manual awakening of "little wisdom butler" to equipment

Automatic wake test: play the voice file to automatically wake the device.

MIC and trumpet test: manual recording and broadcasting, manual speaking a word casually, and loudspeaker playing a manual voice recording.

Test rack manufacturing instructions:

Production instructions for PCBA test rack:

  1. It is suggested that the button should face up to facilitate employees to test the button.

  2. PCBA power supply serial port power supply to USB interface to lamp board to PCBA motherboard for testing.

USB 5 v -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 5 v serial port

GND -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - GND

TX -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- RX

RX -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- the TX

  1. Test rack for the whole machine: connect the computer and the tested machine with the serial port to USB power supply line mentioned above

· infrared lamp test:

The observation of infrared lamp in production is not obvious and the testing efficiency is low. It is recommended that the finished product should be tested separately for aging test.

Use a camera to take pictures and observe in a dark environment.

  1. The router with the starting SSID of tuya_mdev_test1.

  2. Power on the finished product.

  3. When the module is swept to tuya_mdev_test1, it will automatically enter the finished product production test mode. At this point refers to the red and blue indicator light cycle flashing 6 times.

The infrared indicator continues to flash at intervals of 1 second.

  1. Use the camera to take pictures and observe whether the four infrared lights are flashing.

Voice IR creation process
Voice IR creation process
Voice IR creation process
Voice IR creation process
Voice IR creation process
Voice IR creation process
Voice IR creation process
Voice IR creation process

1. Select the VWXR2 module and enter the firmware configuration interface;

Voice IR creation process
Voice IR creation process

参考,

1、For design references such as power supply design, MIC selection and MIC circuit, SPK selection and SPK circuit, ESD and TDD protection design, and module antenna location, please refer to:

3. Place the filter capacitor as close to the IC power pin as possible;

2Solution platform installation

Test guide for Voice IR
Test guide for Voice IR
Test guide for Voice IR
Test guide for Voice IR
Test guide for Voice IR
语音模组声学结构设计参考
hardware design guide for voice module VWXR2
Voice IR creation process
Voice IR design guide
Voice IR design guide
Test guide for Voice IR