Wi-Fi Module - WRG1 - Tuya Smart - Docs

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Wi-Fi Module — WRG1

Device Development > Module > Wi-Fi Module

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

1.1 Dimensions and Pin Layout

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

Figure 2.2 Bottom view of WRG1

2 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW

Figure 2: 3.png

3 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW

1.2 Pin Definition

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

1.3 Pin Definition

Table 1 describes the interface pins. Table 1 WRG1 interface pins

I/O
No. Symbol
Type Functions

1 GND P Power supply reference ground pin

2 SWD_TMS
AI GPIOE_3 and JTAG_TMS, which can be used as a JLINK
programming pin

3 E_2 I GPIOE_2. If E3 or E4 is configured as a JTAG pin, this pin cannot


be configured as a GPIO.

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 ADC AI 16-bit precision ADC

8 EN P Module enablement pin. For normal use, this pin needs to be


connected to 3.3 V power supply. Pull-up resistors have been
added to the module, and therefore, there is no need to increase
the pull-up resistors.

9 GND P Power supply reference ground pin

10 Rts I/O GPIOA_3, a Require To Send pin. If A6 or A7 is configured as a


UART0, this pin cannot be configured as a GPIO.

11 Rx I/O GPIOA_6 and UART0_Rx, which is used for user communication

12 Cts I/O GPIOA_5, a Clear To Send pin. If A6 or A7 is configured as a


UART0, this pin cannot be configured as a GPIO.

13 Tx I/O GPIOA_7 and UART0_Tx, which is used for user communication

14 C_3 I/O GPIOC_3, hardware PWM3

15 C_2 I/O GPIOC_2, hardware PWM2

7 / 13
Wi-Fi Module — WRG1 1 PRODUCT OVERVIEW

I/O
No. Symbol
Type Functions

16 GND P Power supply reference ground pin

17 3.3V P Power-supply pin of WRG1 (typical power supply voltage: 3.3 V)

18 C_1 I/O GPIOC_1, hardware PWM1

19 C_0 I/O GPIOC_0, hardware PWM0

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

2.1 Absolute Electrical Parameters

Table 3.1 Absolute electrical parameters

Minimum Maximum
Parameter Description Value Value Unit

Ts Storage -40 105 ℃


temperature

VDD Power-supply -0.3 3.6 V


voltage

Static electricity voltage TAMB -25℃ - 2 kV


(human model)

Static electricity voltage TAMB -25℃ - 0.5 kV


(machine model)

2.2 Electrical Conditions

Table 3.2 Normal electrical conditions

Minimum Typical Maximum


Parameter Description Value Value Value Unit

Ta Working -20 - 85 ℃
temperature

VDD Working 3.0 - 3.6 V


voltage

VIL I/O low-level -0.3 - VDD x 0.25 V


input

VIH I/O high-level VDD x 0.75 - 3.6 V


input

VOL I/O low-level - - VDD x 0.1 V


output

10 / 13
Wi-Fi Module — WRG1 2 ELECTRICAL PARAMETERS

Minimum Typical Maximum


Parameter Description Value Value Value Unit

VOH I/O high-level VDD x 0.8 - VDD V


output

Imax I/O drive - - 16 mA


current

Cpad Input pin - 2 - pF


capacitance

2.3 Basic RF Features

Table 4.1 Basic RF features

Parameter Description

Frequency 2.400 GHz to 2.4835 GHz


band

Wi-Fi IEEE 802.11 b/g/n (channels 1 to 14)


standard

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 (Default) PCB antenna (Optional) External antenna of U.FL RF


type connector

Antenna Information

2.4 Antenna Types

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

2.5 Antenna Interference Reduction

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.

2.6 U.FL RF Connector

Figure 5.3 shows the U.FL RF connector parameters.

12 / 13
Wi-Fi Module — WRG1 2 ELECTRICAL PARAMETERS

13 / 13

You might also like