Hangzhou Tuya Information Technology WR2 Wi-Fi Module User Manual
Hangzhou Tuya Information Technology Co.,Ltd Wi-Fi Module
User Manual
WR2DATASHEET
TuyaSmart Wi-Fi Module
1. Product Overview
WR2 is a low power consumption module with built-in Wi-Fi connectivity solution
designed by Hangzhou Tuya Information Technology Co., Ltd. The Wi-Fi Module consists of
a highly integrated wireless radio chip W302 12E77H2 and some extra flash that has been
programmed with Wi-Fi network protocol and plenty of software examples.WR2 include a
ARM CM4F, WLAN MAC, 1T1R WLAN, maximum frequency reaches 125MHz, 256K
SRAM, 1M byte flash and various peripheral resources.
WR2 is a RTOS platform, embedded with all the Wi-Fi MAC and TCP/IP protocol function
examples, users can customize their Wi-Fi product by using these software examples.
1.1 Features
Integrated low power consumption 32-bit CPU, also known as application processor
Basic frequency of the CPU can support 125 MHz
Supply voltage range: 3.3V DC
Peripherals: 5 GPIO channels, 1 UART, 1 ADC
Wi-Fi connectivity:
802.11 B/G/N20/N40
Channel 1 to 11@ 2.4GHz
Support WPA/WPA2
+20.11dBm output power in 802.11b mode
Support SmartConfig function for both Android and IOS devices
WR2DATASHEET
On-board PCB antenna
Operating temperature range: -20℃ to 85℃
1.2 Main Application Fields
Intelligent Building
Intelligent home, Intelligent household applications
Healthy devices
Industrial wireless control
Baby monitor
Webcam
Intelligent bus
WR2DATASHEET
2. Dimensions and Footprint
2.1Dimensions
WR2 has 2 columns of Pins. The distance between each Pin is 2 mm.
Size of WR2: 15mm(W)*18mm(L)*3.3mm(H)
Figure 2 shows the dimensions of WR2.
Figure 2. The dimensions of WR2
2.2 Pin Definition
Table 1 shows the general pin attributes of WR2
Table 2.1 The typical pin definition of WR2
PIN
NO.
NAMETYPEDISCREPTION
1VD33PSupplyvoltage(3.3V)
2GPIOA_12 I/O GPIOA_12
3GNDPGround
4GPIOA_0I/OGPIOA_0,cannotbepull‐upwhilebooting,canbeusedasGPIO
whileinnormalworkingmode
5 GPIOA_18 I/O UART0_RXD
6GPIOA_5 I/O GPIOA_5
7GPIOA_23 I/O UART0_TXD
8ADCAIADCterminal(input5Vmaximally)
9GPIOA_14 I/O GPIOA_14
10CHIP_ENI/OExternalresetsignal(lowleveleffects)
WR2DATASHEET
11GPIOA_15 I/O GPIOA_15
Note: S: Power supply pins; I/O: Digital input or output pins; AI: Analog input.
WR2DATASHEET
3. Electrical Characteristics
3.1 Absolute Maximum Ratings
Table 3.1 Absolute Maximum Ratings
PARAMETERSDESCRIPTIONMINMAXUNIT
TsStoragetemperature‐40105℃
VDDSupplyvoltage ‐0.33.6V
Staticelectricityvoltage
(humanmodel)
TAMB‐25℃‐ 2KV
Staticelectricityvoltage
(machinemodel)
TAMB‐25℃‐ 0.5KV
3.2 Electrical Conditions
Table 3.2. Electrical Conditions
PARAMETERSDESCRIPTIONMINTYPICAL MAXUNIT
TaWorkingtemperature ‐20 ‐85℃
VCCWorkingvoltage3‐3.6V
VILIOlowlevelinput ‐0.3‐ VCC*0.25V
VIHIOhighlevelinputVCC*0.75 ‐ VCCV
VOLIOlowleveloutput ‐‐VCC*0.1V
VoHIOhighleveloutputVCC*0.8‐ VCCV
ImaxIOdrivecurrent ‐‐16mA
CpadInputcapacitor ‐2‐pF
3.3 Wi-Fi Transmitting Current Consumptions
Table 3.3. Wi-Fi TX current consumption
PARAMETERSMODERATETransmittingpowerTYPICALUNIT
IRF11b1Mbps +20.11dBm287mA
IRF11g6Mbps +20.81dBm255mA
IRF11nHT20 MCS0+20.29dBm244mA
IRF11nHT40 MCS0+19.09dBm220mA
WR2DATASHEET
3.4 Wi-Fi Receiving Current Consumptions
Table 3.4. Wi-Fi RX current consumption
PARAMETERSMODETYPICALUNIT
IRFCPUsleep90mA
IRFCPUactive120mA
3.5 Working Mode CurrentConsumptions
Table 3.5 The module working current consumption
WORKMODEATTA =25℃TYPICALMAX*UNIT
EZModeWR2isunderEZparingmode,Wi‐Fiindicator
lightflashesquickly
115 130
mA
StandbyModeWR2isconnected,Wi‐Fiindicatorlightison50 110
mA
OperationModeWR2isconnected,Wi‐Fiindicatorlightison120 265
mA
Disconnection
Mode
WR2isdisconnected,Wi‐Fiindicatorlightisoff 35 90
mA
Note: peak continuous time is about 5us.
The parameter shown above will vary depending on different firmware functions.
WR2DATASHEET
4. WLAN Radio Specification
4.1 Basic Radio Frequency Characteristics
Table 41.Basic Radio frequency characteristics
PARAMETERSDESCRIPTION
Frequencyband2.412GHz to 2.462GHz
Wi‐FistandardIEEE 802.11n20/g/b (Terminal 1-11),802.11n40( Terminal 1-7)
Datatransmittingrate11b:1,2,5.5,11(Mbps)
11g:6,9,12,18,24,36,48,54(Mbps)
11n:HT20,MCS0~7
11n:HT40,MCS0~7
AntennatypeOn‐boardPCBAntenna
4.2Wi-Fi Receiving Sensitivity
Table 4.2. Wi-Fi Receiving sensitivity
PARAMETERSMIN TYPICALMAXUNI
T
PER<8%,Receivingsensitivity,802.11bCCKMode11M ‐ ‐91‐dBm
PER<10%,Receivingsensitivity,802.11gOFDMMode 54M ‐ ‐75‐dBm
PER<10%,Receivingsensitivity,802.11nOFDMMode MCS7 ‐ ‐72‐dBm
WR2DATASHEET
5. Antenna Information
5.1 Antenna Type
Antenna can be connected using On-board PCB antenna by default.
5.2 Reduce Antenna Interference
While using the On-board PCB antenna, in order to have the best Wi-Fi performance, it’s
recommended to keep a minimum15mm distance between the antenna part and the other metal
pieces.
User’s own PCBA design is recommended NOT to pass any wire, NOT do copper pour under
the region of the module’s antenna, to avoid interferences.
6. Packaging Information And Production Guide
6.1 Mechanical Dimensions
Figure 6.1 Top view of the module
6.2PCBRecommended Package
Figure 6.2 PCB schematic Drawing
WR2DATASHEET
6.3 Production Guide
The storage for the delivered module should meet the following condition:
1. The anti-moisture bag should be kept in the environment with temperature< 30℃ and
humidity< 85% RH.
2. The expiration date is 6 months since the dry packaging products was sealed.
Cautions:
1. All the operators should wear electrostatic ringin the whole process of production.
2. While operating, water and dirt should not have any contact with the modules.
6.4 Recommended furnace temperature curve
Figure 6.4. PCB Package Drawing Recommended furnace temperature curve
WR2DATASHEET
Hereby,HangzhouTuyaInformationTechnologyCo.,Ltd,declaresthatthisWi‐FiModuleis
IncompliancewiththeessentialrequirementsandotherrelevantprovisionsofDirective
2014/53/EU.
Thisequipmentshouldbeinstalledandoperatedwithaminimumdistanceof20cmbetweenthe
radiatorandyourbody.
Environmentfriendlydisposal
Youcanhelpprotecttheenvironment!
Pleaseremembertorespectthelocalregulations:handin
thenon‐workingelectricalequipmentstoanappropriate
wastedisposalcentre.
FCC Statement
Any Changes or modifications not expressly approved by the party responsible for compliance
could void the user’s 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.
FCC Radiation Exposure Statement:
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.
FCC Label Instructions:
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-WR2”,or “Contains FCC ID:2ANDL-WR2”, Any similar
wording that expresses the same meaning may be used.