1. Product Overview WRG1 User Manual WRG1 is a low power-consuming built-in Wi-Fi module developed by Hangzhou Tuya Information Technology Co., Ltd. It consists of a highly integrated radio frequency chip
(RTL8711AM) and an external flash chip, with a built-in Wi-Fi network protocol stack and robust library functions. WRG1 also contains a low power-consuming ARM-Cortex M3 MCU a WLAN MAC, a 1T1R WLAN, and the maximum basic frequency of 166 MHz, and is embedded with a 2MB SDRAM 4Mbyte flash, and robust peripheral resources. WRG1 is an RTOS platform that integrates all the function libraries of the Wi-Fi MAC and TCP/IP protocols. You can develop built-in Wi-Fi products as required. 1.1 Features Built-in low power-consuming 32-bit CPU functioning as an application processor Basic frequency: 166 MHz Working voltage: 3 V to 3.6 V Peripherals: ten GPIOs, two UARTs, and one ADC Wi-Fi connectivity 802.11 B/G/N20/N40 Channels 1-11@2.4GHz Supports WPA/WPA2 safe modes SmartConfig mode (for Android and iOS devices) Passing the CE, FCC, and SRRC certification Working temperature: 20C to +85C 1.2 Major Application Fields Intelligent building Intelligent home and household appliances Healthcare Industrial wireless control Baby monitors Network camera Intelligent bus Version1.0.2 WRG1 User Manual 2. Module Interfaces 2.1 Dimensions and Pin Layout WRG1 provides three rows of pins with the distance of 1.5 mm between every two pins. WRG1 dimensions: 190.25 mm (W) x 25.70.25 mm (L) x 3.60.2 mm (H) Version1.0.2 2.2 Pin definition Table 2.1 describes the common pins. WRG1 User Manual Table 2.1WRG1 pins description I/OType Function No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Symbol GND SWD_TMS E_2 SWD_CLK I2C2_SDA P AI I I/O I/O I2C2_SCL I/O ADC EN GND Rts Rx Cts Tx C_3 C_2 GND 3.3V C_1 C_0 I2C1_SDA I2C1_SCL Log_Tx Log_Rx I2C3_SCL I2C3_SDA AI P P I/O I/O I/O I/O I/O I/O P P I/O I/O I/O I/O I/O I/O I/O I/O Power Reference Ground GPIOE_3JTAG_TMS,used as JLink Burning foot GPIOE_2if E3/E4 configured to JTAGthe foot is not configurable to GPIO GPIOE_4JTAG_CLKused as JLink Burning foot GPIOE_1if E3/E4 configured to JTAGthe foot is not configurable to GPIO GPIOE_0if E3/E4 configured to JTAGthe foot is not configurable to GPIO ADCport116-bit accuracy ADC Module enabling foot, normal use needs to be connected to 3.3V, module has been pulled up Power Reference Ground GPIOA_3, Flow control send request foot, if A6/A7 is configured as UART0the foot is not configurable to GPIO GPIOA_6,UART0_RxUser docking serial port GPIOA_5, Flow control sending allowable footif A6/A7 configured to UART0he foot is not configurable to GPIO GPIOA_7,UART0_TxUser docking serial port GPIOC_3hardware PWM3 GPIOC_2hardware PWM2 Power Reference Ground Power pin of module3.3V GPIOC_1hardware PWM1 GPIOC_0hardware PWM0 GPIOC_4the foot is not configurable to I2C or GPIO GPIOC_5 can be configurable to I2C or GPIO GPIOB_0Log TxSerial port print information pin, can not connect high level GPIOB_1Log RxSerial port printing information pin GPIOB_2can be configurable to I2C or GPIO GPIOB_3can be configurable to I2C or GPIO Note: P indicates power-supply pins, I/O indicates input/output pins
(1)The pin can only be used as ADC port, not ordinary IO port. When not in use, it needs to be suspended. As the input port of ADC, the range of input voltage is limited to 0-3.3V.
(2)UART0 is the user serial port. When the module is powered on and started, the serial port has information output, which can be ignored by the user. 3. Electrical Parameters 3.1 Absolute electrical parameters Table 3.1,Absolute Parameters Parameters Ts VDD Static electricity voltage
(human model) Description Minimu m value Storage temperature Power-supply voltage TAMB 25C 40 0.3
-
-
Static electricity voltage
(machine model) TAMB 25C 3.2 Electrical Conditions WRG1 User Manual Maximu m value Unit 105 3.6 2 0.5 C V kV kV Table 3.2 Normal electrical conditions Paramet ers Description Min Typ Max Unit Ta Working temperature 20
-
85 C VDD Working voltage 3.0 3.3 3.6 VIL I/O low-level input VIH I/O high-level input VOL I/O low-level output VOH I/O high-level output Imax I/O drive current Cpad Input pin capacitance 2.0
-
2.4
-
-
-
-
-
-
-
2 0.8
-
0.4
-
16
-
V V V V V mA pF Version1.0.2 WRG1 User Manual 3.3 Wi-Fi TX power consumption Table 3.3 TX power during constant emission Symbol Mode Power Typ Unit IRF IRF IRF IRF 11b 11 Mbit/s 22.13dBm 11g 54 Mbit/s 11n BW20 MCS7 25.18dBm 25.38 dBm 11n BW40 MCS7 23.56dBm 287 255 244 230 mA mA mA mA 3.4 Wi-Fi RX power consumption Table 3.4 RX power during constant receiving Symbol Mode Typ Unit IRF IRF 11b 11M Pin=-60dBm 11n Mcs7 BW20 Pin=-60dBm 68 74 mA mA Version1.0.2 WRG1 User Manual 3.5 Power consumption in operating mode Table 3.5, Module operating current Operation Mode EZ mode Operating condition, TA=25 Typ Peak Unit The module is in the EZ state and the Wi-Fi indicator fast flashes. 135 170 mA Idle mode The module is in the connected state and the Wi-Fi indicator is steady on. 70 140 mA Working mode The module is in the connected state and the Wi-Fi indicator is steady on. 143 295 mA Disconnection mode The module is in the disconnected state and the Wi-Fi indicator is steady off. 52 115 mA Notes: The peak period is approx. 5us. The preceding parameter values vary depending on the firmware functions. 4. RF Characteristics 4.1 Basic RF characteristics Table 4.1,Basic RF characteristics Parameter Description Frequency band 2.412 GHz to 2.462 GHz Wi-Fi standard Data transmission rate Antenna type IEEE 802.11b/g/n20/n40 (channels 1 to 11) 11b:1,2,5.5, 11 (Mbps) 11g:6,9,12,18,24,36,48,54(Mbps) 11n:HT20 MCS0~7 11n:HT40 MCS0~7 PCB Antenna (default) Version1.0.2 WRG1 User Manual 4.2 Wi-Fi Output Performance Table 4.2 TX power during constant emission Min Parameter RF average output power, 802.11b CCK mode RF average output power, 802.11g OFDM mode RF average output power, 802.11n20 OFDM mode RF average output power, 802.11n40 OFDM mode 4 Frequency error Mbit/s 11 54 Mbit/s MCS7 MCS7
-
-
-
-20 Typ Max Unit 22.13 dBm
-
25.18 25.38 23.56
-
-
20 dBm dBm dBm ppm 4.3 Wi-Fi RX sensitivity Table 4.3,RX Sensitivity Parameter PER < 8%, RX sensitivity, 802.11b CCK mode PER < 10%, RX sensitivity, 802.11g OFDM mode PER < 10%, RX sensitivity, 802.11n OFDM mode 5. Antenna Information 5.1 Antenna types PCB board antenna . Mbit/s 11 54 Mbit/s MCS7 Min Typ Max Unit
-
-
-
93 76 73
-
-
-
dBm dBm dBm Figure 5.1 On-board antenna equipped with resistance position 5.2 Antenna interference reduction When using an onboard PCB antenna on a Wi-Fi module, make sure that the antenna on the module is at least 15 mm away from other metal parts to ensure optimal wireless performance. 6. Packaging information and production guidance 6.1 Mechanical dimensions Figure 6.1 Module dimensions Version1.0.2 Figure 6.1 Module elevation WRG1 User Manual 6.2 Production Instructions Storage conditions of a delivered module are as follows:
1.The anti-moisture bag must be placed in an environment where the temperature is under 30C and the relative humidity is under 85%. 2. The shelf life of a dry-packaged product is six months from the date when the product is packaged and sealed. Note:
1.Throughout the production process, each involved operator must wear an electrostatic ring. 2. During the operation, strictly protect the module from water and strains. 6.3 Recommended Oven Temperature Profile Version1.0.2 WRG1 User Manual Regulatory Module Integration Instructions 2.2 List of applicable FCC rules This device complies with part 15.247 of the FCC Rules. 2.3 Summarize the specific operational use conditions This module can be used in household electrical appliances as well as lighting equipments. The input voltage to the module should be nominally 3.0~3.6 VDC ,typical value 3.3VDC and the ambient temperature of the module should not exceed 85. This module using only one kind of antennas with maximum gain is 2.5 dBi .Other antenna arrangement is not covered by this certification. The antenna is not field replaceable. If the antenna needs to be changed, the certification should be re-applied. 2.4 Limited module procedures Not applicable 2.5 Trace antenna designs Not applicable 2.6 RF exposure considerations This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment .This equipment should be installed and operated with minimum distance 20cm between the radiator& your body. If the device built into a host as a portable usage, the additional RF exposure evaluation may be required as specified by 2.1093. WRG1 User Manual 2.7 Antennas Module only contains one PCB antenna. No additional external connectors. 2.8 Label and compliance information The outside of final products that contains this module device must display a label referring to the enclosed module. This exterior label can use wording such as: Contains Transmitter Module FCC ID: 2ANDL-WRG1 ,or Contains FCC ID: 2ANDL-WRG1 , Any similar wording that expresses the same meaning may be used. 2.9 Information on test modes and additional testing requirements a) The modular transmitter has been fully tested by the module grantee on the required number of channels, modulation types, and modes, it should not be necessary for the host installer to re-test all the available transmitter modes or settings. It is recommended that the host product manufacturer, installing the modular transmitter, perform some investigative measurements to confirm that the resulting composite system does not exceed the spurious emissions limits or band edge limits (e.g., where a different antenna may be causing additional emissions). b) The testing should check for emissions that may occur due to the intermixing of emissions with the other transmitters, digital circuitry, or due to physical properties of the host product (enclosure). This investigation is especially important when integrating multiple modular transmitters where the certification is based on testing each of them in a stand-alone configuration. It is important to note that host product manufacturers should not assume that because the modular transmitter is certified that they do not WRG1 User Manual have any responsibility for final product compliance. c) If the investigation indicates a compliance concern the host product manufacturer is obligated to mitigate the issue. Host products using a modular transmitter are subject to all the applicable individual technical rules as well as to the general conditions of operation in Sections 15.5, 15.15, and 15.29 to not cause interference. The operator of the host product will be obligated to stop operating the device until the interference has been corrected Below are steps for TX verification wpriv mp_start //enter MP mode iwpriv mp_channel 1 //set channel to 1 . 2, 3, 4~11 etc. iwpriv mp_bandwidth 40M=0,shortGI=0 //40M=0 set 20M mode and long GI 40M=1 set 40M mode iwpriv mp_ant_tx a //select antenna A for operation iwpriv mp_txpower patha=44,pathb=44 //set path A and path B Tx power level iwpriv mp_rate 108 //set OFDM data rate to 54Mbps,ex:
CCK 1M = 2, CCK 5.5M = 11, KK, OFDM54M = 108 N Mode: MCS0 = 128, MCS1
= 129..etc. iwpriv mp_ctx background,pkt //start packet continuous Tx iwpriv mp_ctx stop //stop continuous Tx 2.10 Additional testing, Part 15 subpart B disclaimer The final host / module combination need to be evaluated against the FCC Part 15B criteria for unintentional radiators in order to be properly authorized for operation as a Part 15 digital device. WRG1 User Manual The host integrator installing this module into their product must ensure that the final composite product complies with the FCC requirements by a technical assessment or evaluation to the FCC rules, including the transmitter operation and should refer to guidance in KDB 996369. Frequency spectrum to be investigated For host products with certified modular transmitter, the frequency range of investigation of the composite system is specified by rule in Sections 15.33(a)(1) through (a)(3), or the range applicable to the digital device, as shown in Section 15.33(b)(1), whichever is the higher frequency range of investigation. Operating the host product When testing the host product, all the transmitters must be operating.The transmitters can be enabled by using publicly-available drivers and turned on, so the transmitters are active. In certain conditions it might be appropriate to use a technology-specific call box
(test set) where accessory devices or drivers are not available. When testing for emissions from the unintentional radiator, the transmitter shall be placed in the receive mode or idle mode, if possible. If receive mode only is not possible then, the radio shall be passive (preferred) and/or active scanning. In these cases, this would need to enable activity on the communication BUS (i.e., PCIe, SDIO, USB) to ensure the unintentional radiator circuitry is enabled. Testing laboratories may need to add attenuation or filters depending on the signal strength of any active beacons (if applicable) from the enabled radio(s). See ANSI C63.4, ANSI C63.10 and ANSI C63.26 for further WRG1 User Manual general testing details. The product under test is placed into a normal paired mode with another ZigBee device, as per the normal intended use of the product (for example, transferring data). FCC Statement Any Changes or modifications not expressly approved by the party responsible for compliance could void the users authority to operate the equipment. This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation.