M1 (VWXR2) Module Datasheet

Last Updated on : 2023-12-21 07:22:27download

Product overview

Tuya IoT voice module M1 is an IoT application WI-FI module based on XR872AT and equipped with a voice wake-up-noise reduction algorithm. It supports WLAN 802.11 b/g/n + ARM Cortex-M4F, with built-in 416KB SRAM and 4MB PSRAM, matching cloud voice skills + IoT platform, and can help customers realize voice portal empowerment of IoT products and deployment of distributed voice portals in the home environment.

Features

  • Built-in low power 32-bit CPU, can also be used as a processor, with the main frequency of up to 380MHz.
  • Operating voltage: 2.7-5.5 V
  • Peripherals: 9*GPIO, 2*Uart, 2*ADC
  • Antenna support: onboard + optional ipex
  • Sampling rate: 16K/16bit
  • Voice input: built-in 2 audio ADC, can directly simulate mic
  • Audio output: 1
  • On-board Audio Power Amplifier: Maximum Support for 2.6 W
  • Recommended wake-up distance: < = 3m
  • Recommended working floor noise: < = 60dbC
  • Default voice skills: weather, encyclopedia, calendar, calculator, idioms, translation, default does not support music content on demand.

Main application fields

  • Smart Home, Large and Small Household Appliances

  • Voice Panel Switch

Module interface

Dimensional package

  • M1 has three rows of pins with a pin spacing of 1.5 mm.

  • M1 Size: 20mm (W) * 30mm (L) * 3.6 mm (H). The size diagram is shown in Figure:

    M1 (VWXR2) Module Datasheet

Pin definitions

As shown in the following figure, M1 needs an external MIC and speaker to complete voice interaction, which is required by default for voice modules.

We recommend the following processing methods for some peripherals:

  • Microphone (required): MIC pins are fixed and must be externally connected with two MICs. MIC spacing is recommended to be 40-80mm. TUYA technicians can be consulted for specific MIC specifications.

  • Horn (optional): For customers who need sound interaction, M1 has a built-in power amplifier and decoder, and a 1-2.6 W horn can be externally connected according to requirements. If no horn is needed, the following light interaction mode can also be selected.

  • Voice status indicator (optional): For customers who are cost-sensitive, cannot install speakers due to limited product space, or do not need voice feedback interaction, M1 also supports two-color indicator interaction, and users can not connect speakers or roots.

According to the feedback of the indicator light, the user is prompted for the result of voice control IoT.

The specific interface pins for M1 are shown in Table :

Pin sequence number Functions Description
1 GPIO GPIOA0
2 GPIOA1
3 GPIOA2
4 GPIOA3
5 GPIOB16
6 GPIOB17(Default is Distribution Network & Wheat Prohibition Key)
11 RST System Reset, Low Reset
12 PWM0 PWM dimming interface (default is voice status indicator, red is recommended)
13 PWM1 PWM dimming interface (default is voice status indicator, blue is recommended)
14 PWM3 PWM dimming interface
15 PWM5 PWM dimming interface
16 PWM6 PWM dimming interface
18 SPK+ SPK+
19 SPK- SPK-
21 MIC1- MIC1-
22 MIC1+ MIC1+
23 MIC2+ MIC2+
24 MIC2- MIC2-
27 ADC_CH5 External Analog Signal Detection
28 ADC_CH0 ADC Key Interface
30 TWI0-SCL I2C
31 TWI0-SDA
32 IR_RX Infrared Receive Pin
33 IR_TX Infrared emitting pin
34 UART0-TX Log serial port
35 UART0-RX
36 UART1_RTS Serial port 1, for MCU docking communication, full serial port for flow control
37 UART1_CTS
38 UART1_RX
39 UART1_TX
7, 10, 17, 20, 25, 26, 29 GND GND
8, 9 5V 5V power supply

Electrical parameters

Absolute electrical parameter

Parameters Description Minimum value Maximum Unit
Ts Storage Temperature -40 70
VCC Supply Voltage 3.3V 5.5 V
Electrostatic discharge voltage (mannequin) TAMB-25℃ - ±2000 KV
Electrostatic discharge voltage (machine model) TAMB-25℃ - - KV

Recommended Supply Voltage 5V

Working conditions

Parameters Description Minimum value Typical Value Maximum Unit
Ta Operating Temperature -5 25 45
VCC Operating Voltage 3.3 5 5.5 V
Vil IO Low Input -0.3 - 1.32 V
Vih IO High Input 2.06 - 3.6 V
Vol IO Low Output -0.3 - 0.4 V
Voh IO High Output 2.9 - 3.6 V
Imax IO Drive Current -35 - 35 mA

Wi-Fi transmit power consumption

Wi-Fi TX Parameters Typical value Unit
Mode Rate Transmit Power
11b 11Mbps 17dBm 267.2 mA
11g 54Mbps 15dBm 272.0 mA
11n MCS7 15dBm 246.0 mA

Note:VBAT=3.6V,VDD_ANA=1.8V, internal TOP LDO supply。

Wi-Fi power consumption of the receiving

WI-FI RX Parameter model rate Typical value Unit
ACTIVE 1M DSSS 72 mA
54M OFDM 84 mA
DEEP SLEEP 11b 55 mA
11g - mA

Note:VBAT=3.6V

Power consumption in operating mode

Working mode Working state, Ta=25℃, VCC=5V PA output power is 0.5W and SPK is 4 ohms Mean Maximum value Unit
Fast connection network state The module is in the state of fast connection distribution network 157 418.9 mA
Idle network connection status The module is networked 88.2 288.6 mA
Voice-controlled state The module is connected to the Internet while the voice wakes up 120 370 mA

Radiofrequency characteristics

basic RF characteristics

Parameters Detailed instructions
Working frequency 2.400~2.484GHz
Wi-fi standard IEEE802.11b/g/n(channel 1-14)
Data transmission rate 11b:1,2,5.5,11(Mbps)
11g:6,9,12,18,24,36,48,54(Mbps)
11n:HT20MCS0~7
Type of antenna PCB antenna

Wi-Fi output power (TX continuous transmission power, VBAT=5V)

Parameters Minimum value Typical value Maximum value Unit
RF Average output,802.11bCCKMode—11M 20.2 21.7 - dBm
RF Average output,802.11gOFDMMode—54M 16.6 18.1 - dBm
RF Average output,802.11nOFDMMode——MCS7 15.8 17.3 - dBm
The frequency error -20 - 20 ppm

Wi-Fi receiver sensitivity (VBAT=3.6V)

Parameters Minimum value Typical value Maximum value Unit
RF Average output,802.11bCCKMode—11M -87.8 -89.8 - dBm
RF Average output,802.11gOFDMMode—54M -74.4 -76.4 - dBm
RF Average output,802.11nOFDMMode—MCS7 -72.3 -74.3 - dBm

Antenna

Type of antenna

The default PCB antenna for M1 is the MIFA onboard antenna in the 2.4G Wi-Fi band.

Reduced antenna interference

In order to ensure the optimization of RF performance, it is recommended that the distance between the module antenna and other metal parts should be at least 15mm. Since M1 is used by the SMT process, it is pasted to the main control board and applied together with other components. Then the placement position and way of PCB antenna will directly affect RF performance. Here are the places we recommend and the places we don’t. It is recommended to use the placement position of scheme 1 and scheme 2.

The antenna is hollowed out outside the plate frame or near the antenna. The performance and individual module RF test performance is basically the same. If the design is limited, the PCB antenna must be placed on the bottom plate, you can refer to the placement method of plan 3. The antenna is in the plate frame, but there is no copper coating and wiring near the antenna. However, there is some loss of rf performance, which is about 1-2dbm attenuation. It is not recommended to use the placement position of plan 4, the antenna is in the plate frame, and the antenna is coated with copper or wire. The rf signal will be significantly attenuated.

  • Scheme 1: the antenna is outside the frame.
  • Scheme 2: the antenna is placed along the edge of the plate, and the bottom is hollowed out.

Scheme 3: the antenna is placed along the edge of the plate, and the bottom is not clad with copper Scheme 4: the antenna plate is placed in the frame, and the bottom is hollowed out.

PCB recommended package

M1 (VWXR2) Module Datasheet

Note: the unit of value in [] in mm, and the unit of value outside [] is an inch.

Production instructions

  • Preferentially use the wave soldering machine to solder the module, which is recommended for Tuya-developed modules that are vertically inserted into PCBs. Use hand soldering only when there is no operational wave soldering machine. Complete soldering within 24 hours after the module is unpacked. If not, vacuum pack the module again.
  • Required materials for soldering:
    • Wave soldering machine
    • Wave soldering fixture
    • Constant-temperature iron
    • Wave solder bar, wire, and flux
    • Oven temperature tester
  • Baking equipment:
    • Cabinet oven
    • Anti-static heat-resistant trays
    • Anti-static heat-resistant gloves
  • Bake the module if any of the following conditions are met:
    • The vacuum package is damaged before the module is unpacked.
    • The package does not contain a humidity indicator card (HIC).
    • After the module is unpacked, the HIC shows that 30% and higher rate circles are pink.
    • Production is not completed within 72 hours after the module is unpacked.
  • Baking settings:
    • Baking temperature: 65±5°C in reel pack mode and 125±5°C in tray pack mode
    • Baking time: 48 hours in reel pack mode and 12 hours in tray pack mode
    • Alarm temperature: 70°C in reel pack mode and 130°C in tray pack mode
    • Production-ready temperature after natural cooling: < 36°C
    • Number of baking times: 1
    • Rebaking condition: Production is not completed within 72 hours after baking.
  • Do not wave solder modules that have been unpacked for over three months. Electroless nickel immersion gold (ENIG) is used for the PCBs. If the solder pads are exposed to the air for over three months, they will be oxidized severely and dry joints or solder skips may occur. Tuya is not liable for such problems and consequences.
  • Throughout the production process, take electrostatic discharge (ESD) protective measures.
  • For good product quality, ensure that the following items meet requirements:
    • Flux amount
    • Wave height
    • Amount of tin dross and copper in the solder pot
    • Wave soldering fixture window and thickness
    • Oven temperature curve for wave soldering

Recommended Oven temperature curve

Set the oven temperature to a value recommended for wave soldering. The peak temperature is 260±5°C. Figure 6-6 shows the oven temperature curve for wave soldering.
M1 (VWXR2) Module Datasheet

Storage conditions

M1 (VWXR2) Module Datasheet