WR4DATASHEET Tuya Smart Wi-Fi Module 1. Product Overview WR4 is a low power consumption module with built-in 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 programed with Wi-Fi network protocol and plenty of software examples.WR4 includea ARM CM4F,WLAN MAC,1T1R WLAN,maximum frequency reaches 125MHz,256K SRAM,2M byte flash and various peripheral resources. WR4 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 : 3.3V Peripherals: 7 GPIO channels, 2 UART, 1 ADC Wi-Fi connectivity:
802.11 B/G/N20/N40 Channel 1 to 11 @ 2.4GHz Support WPA/WPA2
+24.5 dBm output power Support SmartConfig function for both Android and IOS devices WR4DATASHEET External IPEX connecter antenna Operating temperature range: -20 to 85 1.2 Main ApplicationFields Intelligent Building Intelligent home, Intelligent household applications Healthy devices Industrial wireless control Baby monitor Webcam Intelligent bus WR4DATASHEET 2. Dimensions and Footprint 2.1Dimensions WR4 has 2 columns of Pins (2*8).The distance between each Pin is 1.5 mm. Size of WR4: 13.8mm(W)*15.5mm(L)*3.3mm(H) Figure 2 shows the dimensions of WR4. Figure 2. The dimensions of WR4 2.2 Pin Definition Table 1 shows the generalpin attributes of WR4 Table 1. The typical pin definitionof WR4 NAME TYPE DISCREPTION NC ADC EN A_19 A_12 A_0 A_5 3.3V GND A_23 NCNo Connect ADCterminal(input5Vmaximally) Externalresetsingal(lowleveleffects)
/
AI I/O I/O GPIOA_19 I/O GPIOA_12 I/O GPIOA_0,cannotbepullupwhilebooting,canbeusedasGPIO whileinnormalworkingmode Supplyvoltage(3.3V) I/O GPIOA_15 I/O I/O Ground I/O UART0_TXD PIN NO. 1 2 3 4 5 6 7 8 9 10 WR4DATASHEET 11 12 13 14 15 16 A_18 A_22 A_15 A_14 A_29 A_30 I/O UART0_RXD I/O GPIOA_22 I/O GPIOA_15 I/O GPIOA_14 I/O UART_Log_RXD(usedtoprintmodule'sinternalinformation) I/O UART_Log_TXD(usedtoprintmodule'sinternalinformation) Note: S: Power supply pins; I/O: Digital input or output pins; AI: Analog input. WR4DATASHEET 3. Electrical Characteristics 3.1 Absolute Maximum Ratings Table 3.1. Absolute Maximum Ratings DESCRIPTION Storagetemperature Supplyvoltage TAMB25 TAMB25 MIN 40 0.3 MAX 105 3.6 2 UNIT V KV 0.5 KV PARAMETERS Ts VCC Staticelectricityvoltage
(humanmodel) Staticelectricityvoltage
(machinemodel) 3.2 Electrical Conditions Table 3.2. Electrical Conditions PARAMETERS DESCRIPTION Ta VCC VIL VIH VOL VoH Imax Cpad Workingtemperature Workingvoltage IOlowlevelinput IOhighlevelinput IOlowleveloutput IOhighleveloutput IOdrivecurrent Inputcapacitor MIN 20 3 0.3 VCC*0.75 VCC*0.8 TYPICAL MAX 2 85 3.6 VCC*0.25 VCC VCC*0.1 VCC 16 UNIT V V V V V mA pF 3.3 Wi-Fi Transmitting Current Consumptions Table 3.3. Wi-Fi TX current consumption PARAMETERS IRF IRF IRF IRF MODE 11b 11g 11 n-HT20 11n-HT40 RATE 1Mbps 6Mbps MCS0 MCS0 Transmittingpower TYPICAL
+20.18dBm
+24.17dBm
+23.30dBm
+22.97dBm 287 255 244 220 UNIT mA mA mA mA WR4DATASHEET 3.4 Wi-Fi Receiving CurrentConsumptions Table 3.4. Wi-Fi RX currentconsumption PARAMETERS IRF IRF MODE CPUsleep CPUactive TYPICAL 90 120 UNIT mA mA 3.5 Working Mode CurrentConsumptions WORKMODE ATTA=25 TYPICAL MAX* UNIT Table 3.5. The module working currentconsumption EZMode WR4isunderEZparingmode,WiFiindicator lightflashesquickly StandbyMode WR4isconnected,WiFiindicatorlightison OperationMode WR4isconnected,WiFiindicatorlightison Disconnection Mode WR4isdisconnected,WiFiindicatorlightisoff Note: peak continuous time is about 5us. 115 50 120 35 130 mA 110 mA 265 mA 90 mA The parameter shown above will vary dependingon different firmware functions. 4. WLAN Radio Specification 4.1 Basic Radio Frequency Characteristics Table 41.Basic Radio frequency characteristics PARAMETERS Frequencyband WiFistandard Datatransmittingrate Antennatype DESCRIPTION 2.412GHzto2.462GHz IEEE802.11n20/n40/g/b(Terminal111) 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 U.FLRFexternalconnector 4.2Wi-Fi TransmittingPower WR4DATASHEET Table 4.2. Wi-Fi transmitting power PARAMETERS RFpeak outputpower,802.11bCCKMode RFpeakoutputpower,802.11gOFDMMode RFpeakoutputpower,802.11n20OFDMMode RFpeakoutputpower,802.11n40OFDMMode 1M 6M MCS0 MCS0 TheFrequencyerror MIN 10 Table 4.3. Wi-Fi Receiving sensitivity 4.3Wi-Fi Receiving Sensitivity TheFrequencyerror RFpeakoutputpower,802.11nOFDMMode RFpeakoutputpower,802.11gOFDMMode RFpeakoutputpower,802.11bCCKMode MCS7 54M 11M PARAMETERS 10 MIN TYPICAL MAX UNI T dBm dBm dBm dBm ppm 20.18 21.41 22.30 21.45 10 10 13.5 14.5 17.5 ppm dBm dBm dBm T TYPICAL MAX UNI WR4DATASHEET 5. Antenna Information 5.1 Antenna Type External antenna and the FPC antenna is recommended. Figure 5.1. recommended antenna size 5.2 U.FL RF connector The parameter for U.FL RF connector is shown below:
WR4DATASHEET 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 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 withtemperature< 30 and WR4DATASHEET 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.3. PCB Package DrawingRecommended furnace temperature curve 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. 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-WR4,or Contains FCC ID: 2ANDL-WR4, Any similar wording that expresses the same meaning may be used.