Wi-Fi Module - WRG1 - Tuya Smart - Docs
Wi-Fi Module - WRG1 - Tuya Smart - Docs
Wi-Fi Module - WRG1 - Tuya Smart - Docs
Version: 20200218
Online Version
Wi-Fi Module — WRG1 Contents
Contents
1 Product Overview 1
1.1 Dimensions and Pin Layout . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Pin Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Pin Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Electrical Parameters 10
2.1 Absolute Electrical Parameters . . . . . . . . . . . . . . . . . . . . . 10
2.2 Electrical Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3 Basic RF Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4 Antenna Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.5 Antenna Interference Reduction . . . . . . . . . . . . . . . . . . . . . 12
2.6 U.FL RF Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
i
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
1 Product Overview
Module interface
WRG1 provides three rows of pins with the distance of 1.5 mm between every two
pins. WRG1 size: 19 mm (W) x 25.7 mm (L) x 3.3 mm (H) Figure 2.1 Top view of
WRG1
1 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
Figure 1: 2.png
2 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
Figure 2: 3.png
3 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
Figure 2.3 and Figure 2.4 illustrate the interface pin layout.
4 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
Figure 3: 4.png
5 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
Figure 4: 5.png
6 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
I/O
No. Symbol
Type Functions
2 SWD_TMS
AI GPIOE_3 and JTAG_TMS, which can be used as a JLINK
programming pin
4 SWD_CLK
I/O GPIOE_4 and JTAG_CLK, which can be used as a JLINK
programming pin
5 I2C2_SDA
I/O GPIOE_1. If E3 or E4 is configured as a JTAG pin, this pin cannot
be configured as a GPIO.
6 I2C2_SCL
I/O GPIOE_0. If E3 or E4 is configured as a JTAG pin, this pin cannot
be configured as a GPIO.
7 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
I/O
No. Symbol
Type Functions
20 I2C1_SDA
I/O GPIOC_4, which can be configured as an I2C or a GPIO
21 I2C1_SCL
I/O GPIOC_5, which can be configured as an I2C or a GPIO
22 Log_Tx
I/O GPIOB_0 and Log Tx, which is used to print serial port
information
23 Log_Rx
I/O GPIOB_1 and Log Rx, which is used to print serial port
information
24 I2C3_SCL
I/O GPIOB_2, which can be configured as an I2C or a GPIO
25 I2C3_SDA
I/O GPIOB_3, which can be configured as an I2C or a GPIO
Note: P indicates power-supply pins, I/O indicates input/output pins, and AI indicates
analog input pins.
(1): 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 must be
0 V to 3.3 V.
(2): UART0 is a user serial port. When WRG1 is powered on, information is displayed
through the serial port, and the information can be ignored.
8 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW
9 / 13
Wi-Fi Module — WRG1 2 ELECTRICAL PARAMETERS
2 Electrical Parameters
Minimum Maximum
Parameter Description Value Value Unit
Ta Working -20 - 85 ℃
temperature
10 / 13
Wi-Fi Module — WRG1 2 ELECTRICAL PARAMETERS
Parameter Description
Data trans- 802.11b: 1, 2, 5.5, and 11 (Mbit/s) 802.11g: 6, 9, 12, 18, 24, 36,
mission 48, and 54(Mbit/s) 802.11n: HT20 MCS0-7 802.11n: HT40 MCS0-7
rate
Antenna Information
WRG1 supports onboard PCB antenna and external antenna. By default, the onboard
PCB antenna is used.
11 / 13
Wi-Fi Module — WRG1 2 ELECTRICAL PARAMETERS
When you use an onboard PCB antenna on a Wi-Fi module, make sure that the an-
tenna on the module is at least 15 mm away from other metal parts to ensure
optimal wireless performance.
12 / 13
Wi-Fi Module — WRG1 2 ELECTRICAL PARAMETERS
13 / 13