Last Updated on : 2024-08-20 02:33:24download
WRG1 is a low power-consuming built-in Wi-Fi module developed by Hangzhou Tuya Inc. It consists of a highly integrated RF microchip 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, WLAN MAC, 1T1R WLAN, and the maximum basic frequency of 166 MHz, and is embedded with a 2MB SDRAM, a 4 MB flash, and rich 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.
WRG1 has three rows of pins with a 1.5 mm pin pitch.
Dimensions (H x W x D) of WRG1 are as follows: 19±0.35 mm (W)×25.7±0.35 mm (L) ×3.6±0.1 mm (H) PCB thickness is 0.8mm±0.1 mm.
Pin No. | Symbol | I/O type | Function |
---|---|---|---|
1 | GND | P | Power supply reference ground pin. |
2 | SWD_TMS | AI | GPIOE_3, JTAG_TMS, used as JLink download pin. |
3 | E_2 | I | GPIOE_2, If E3/E4 is configured as JTAG. This pin can’t be configured as GPIO. |
4 | SWD_CLK | I/O | GPIOE_4, JTAG_CLK, used as JLink download pin. |
5 | I2C2_SDA | I/O | GPIOE_1. If E3/E4 is configured as JTAG, this pin can’t be configured as GPIO. |
6 | I2C2_SCL | I/O | GPIOE_0. If E3/E4 is configured as JTAG, this pin can’t be configured as GPIO. |
7 | ADC | AI | ADC pin (1), 16-bit precision ADC. |
8 | EN | P | Enable pin, which needs to be connected to 3.3V. The module has been pulled up internally. |
9 | GND | P | Power supply reference ground pin. |
10 | RTS | I/O | GPIOA_3, the request pin of data streaming. It can’t be configured as GPIO if A6/A7 is configured as UART0. |
11 | RX | I/O | GPIOA_6, UART0_Rx. Connect to the MCU TX. |
12 | CTS | I/O | GPIOA_5, the permission pin of data streaming. It can’t be configured as GPIO if A6/A7 is configured as UART0. |
13 | TX | I/O | GPIOA_7, UART0_Tx. Connect to the MCU RX. |
14 | C_3 | I/O | GPIOC_3, hardware PWM3. |
15 | C_2 | I/O | GPIOC_2, hardware PWM2. |
16 | GND | P | Power supply reference ground pin. |
17 | 3.3V | P | Module power supply pin (3.3V). |
18 | C_1 | I/O | GPIOC_1, hardware PWM1. |
19 | C_0 | I/O | GPIOC_0, hardware PWM0. |
20 | I2C1_SDA | I/O | GPIO_4, which can be configured as I2C or GPIO pin. |
21 | I2C1_SCL | I/O | GPIO_5, which can be configured as I2C or GPIO pin. |
22 | Log_Tx | I/O | GPIOB_0, Log Tx. Print the module log, which can’t be pulled up. |
23 | Log_Rx | I/O | GPIOB_1, Log Rx. Print the module log, which can’t be pulled up. |
24 | I2C3_SCL | I/O | GPIOB_2, which can be configured as I2C or GPIO pin. |
25 | I2C3_SDA | I/O | GPIOB_3, which can be configured as I2C or GPIO pin. |
1 | GPIOA_22 | I/O | GPIOA_22, hardware PWM (IC Pin31). |
2 | GND | P | Power supply reference ground pin. |
3 | VIN | P | Module power supply pin. |
4 | 3.3V | P | Module power output is 3.3V. |
5 | GPIOA_12 | I/O | GPIOA_12, hardware PWM (IC Pin17). |
6 | GPIOA_5 | I/O | GPIOA_5, hardware PWM (IC Pin28). |
7 | GPIOA_14 | I/O | GPIOA_14, hardware PWM (IC Pin13). |
8 | GPIOA_15 | I/O | GPIOA_15, hardware PWM (IC Pin14). |
Note: P indicates power-supply pins, I/O indicates input and output pins, and AI indicates analog input pins.
- This pin can only be used as an ADC interface and cannot be used as a common I/O pin. If this pin is not used, it must be disconnected. When this pin is used as the ADC input interface, the input voltage range is 0 V to 2.0 V.
- The UART pins are user-side serial interfaces, When the module is powered on and started, the serial port has information output, which can be ignored
Parameter | Description | Minimum Value | Maximum Value | Unit |
---|---|---|---|---|
Ts | Storage temperature | -40 | 125 | °C |
VCC | Power supply voltage | -0.3 | 40 | V |
ESD voltage (human body model) | Tamb = 25°C | N/A | 2 | kV |
ESD voltage (machine model) | Tamb = 25°C | N/A | 0.5 | kV |
Parameter | Description | Minimum value | Typical value | Maximum value | Unit |
---|---|---|---|---|---|
Ta | Operating temperature | -20 | N/A | 105 | °C |
VCC | Power supply voltage | 3.0 | 3.3 | 3.6 | V |
VIL | I/O low-level input | -0.3 | N/A | 0.8 | V |
VIH | I/O high-level input | 2.47 | N/A | 3.6 | V |
VOL | I/O low-level output | N/A | N/A | 0.34 | V |
VoH | I/O high-level output | 2.64 | N/A | 3.4 | V |
Imax | I/O drive current | N/A | - | 16 | mA |
Cpad | Input pin capacitance | - | 2 | - | pF |
|Working status| Mode| Rate | TX power| Typical value| Peak value (Typical)| Unit|
|—|—|—|—|—|—|—|------- |—|
|TX |11b| 11Mbps| +18dBm |343| - |mA
|TX |11g| 6Mbps| +18dBm |331| - |mA
|TX |11g| 54Mbps| +15dBm |282| - |mA
|TX |11n BW20 |MCS0 |+18dBm |337| - |mA
|TX |11n BW20 |MCS7 |+13dBm |267| - |mA
|TX |11n BW40 |MCS0 |+18dBm |337| - |mA
|TX |11n BW40 |MCS7 |+13dBm |267| - |mA
Working status | Mode | Rate | Receiving | Typical salue | Unit |
---|---|---|---|---|---|
RX | CPU Sleep | 11Mbps | Continuous RX | 90 | mA |
RX | CPU Active | MCS7 BW20 | Continuous RX | 120 | mA |
Working mode | Working status (Ta = 25°C) | Average Value | Peak value*(Typical value) | Unit |
---|---|---|---|---|
Quick configuration | Module in the quick net-pairing state, Wi-Fi indicator blinking | 135 | 170 | mA |
Network connection idle | Module connected to the network, Wi-Fi indicator constantly on | 70 | 140 | mA |
Network connection active | Module connected to the network, Wi-Fi indicator constantly on | 143 | 295 | mA |
Disconnected | Module not connected to the network, Wi-Fi indicator always off | 52 | 115 | mA |
Note: The preceding parameter values vary depending on the firmware functions.
Parameter | Description |
---|---|
Frequency band | 2.412 GHz to 2.484 GHz |
Wi-Fi standard | IEEE 802.11b/g/n (channels 1 to 14) |
Data transmission rate | 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 |
Antenna type | PCB On Board antenna (default) |
Parameter | Minimum Value | Typical Value | Maximum Value | Unit |
---|---|---|---|---|
Average RF output power, 802.11b CCK mode 11 Mbit/s | N/A | 17.5 | N/A | dBm |
Average RF output power, 802.11g OFDM mode 54 Mbit/s | N/A | 14.5 | N/A | dBm |
Average RF output power, 802.11n OFDM mode MCS7 | N/A | 13.5 | N/A | dBm |
Frequency error | -20 | N/A | +20 | ppm |
Parameter | Minimum Value | Typical Value | Maximum Value | Unit |
---|---|---|---|---|
PER < 8%, 802.11b CCK mode 1 Mbit/s | N/A | -91 | N/A | dBm |
PER < 10%, 802.11g OFDM mode 54 Mbit/s | N/A | -76 | N/A | dBm |
PER < 10%, 802.11n OFDM mode MCS7 | N/A | -73 | N/A | dBm |
By default, the module uses an onboard PCB antenna.
The resistance position of the onboard antenna is shown in the figure below:
To ensure optimal Wi-Fi performance when the Wi-Fi module uses an onboard PCB antenna, it is recommended that the antenna be at least 15 mm away from other metal parts. To prevent an adverse impact on the antenna radiation performance, avoid copper or traces along the antenna area on the PCB.
U.FL RF connector parameter as below:
PCB Size: 19±0.35mm (W)×25.7±0.35mm (L) ×0.8±0.15mm (H).
Note: PCB outer frame tolerance ±0.35mm, PCB thickness tolerance ±0.1mm.
Use an SMT placement machine to mount the stamp hole module that Tuya produces onto the PCB within 24 hours after the module is unpacked and the firmware is burned. If not, vacuum pack the module again. Bake the module before mounting it onto the PCB.
Storage conditions for a delivered module are as follows:
Bake a module based on HIC status as follows when you unpack the module package:
Baking settings:
Do not use SMT to process 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.
Before SMT placement, take electrostatic discharge (ESD) protective measures.
To reduce the reflow defect rate, draw 10% of the products for visual inspection and AOI before the first SMT placement to determine a proper oven temperature and component placement method. Draw 5 to 10 modules every hour from subsequent batches for visual inspection and AOI.
Perform SMT placement based on the following reflow oven temperature curve. The highest temperature is 245°C.
Product model | MOQ (pcs) | Shipping packaging method | Modules per reel | Packaging reels per box |
---|---|---|---|---|
WRG1 | 3600 | Tape reel | 900 | 4 |
FCC Caution: Any changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate this device.
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.
Note: This device has been tested and found to comply with the limits for a Class B digital device, according to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This device generates, uses, and can radiate radio frequency energy and, if not installed and used following the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation.
If this device does cause harmful interference to radio or television reception, which can be determined by turning the device off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Radiation Exposure Statement
This device complies with FCC radiation exposure limits set forth for an uncontrolled rolled environment. This device should be installed and operated with a minimum distance of 20cm between the radiator and your body.
Important Note
This radio module must not be installed to co-locate and operating simultaneously with other radios in the host system except following FCC multi-transmitter product procedures. Additional testing and device authorization may be required to operate simultaneously with other radios.
The availability of some specific channels and/or operational frequency bands are country dependent and are firmware programmed at the factory to match the intended destination. The firmware setting is not accessible by the end-user.
The host product manufacturer is responsible for compliance with any other FCC rules that apply to the host not covered by the modular transmitter grant of certification. The final host product still requires Part 15 Subpart B compliance testing with the modular transmitter installed.
The end-user manual shall include all required regulatory information/warnings as shown in this manual, including “This product must be installed and operated with a minimum distance of 20 cm between the radiator and user body”.
This device has got an FCC ID: 2ANDL-WRG1. The end product must be labelled in a visible area with the following: “Contains Transmitter Module FCC ID: 2ANDL-WRG1”.
This device is intended only for OEM integrators under the following conditions:
The antenna must be installed such that 20cm is maintained between the antenna and users, and the transmitter module may not be co-located with any other transmitter or antenna.
As long as the 2 conditions above are met, further transmitter tests will not be required. However, the OEM integrator is still responsible for testing their end-product for any additional compliance requirements required with this module installed.
Declaration of Conformity European Notice
Hereby, Hangzhou Tuya Information Technology Co., Ltd declares that this module product is in compliance with essential requirements and other relevant provisions of Directive 2014/53/EU,2011/65/EU. A copy of the Declaration of conformity can be found at https://www.tuya.com.
This product must not be disposed of as normal household waste, in accordance with the EU directive for waste electrical and electronic equipment (WEEE-2012/19/EU). Instead, it should be disposed of by returning it to the point of sale, or to a municipal recycling collection point.
The device could be used with a separation distance of 20cm to the human body.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback