Introduction to WiFi Module--WR1

Tuya Smart Wi-Fi Module–WR1

1. Product Overview

​ The WR1 is a low-power embedded Wi-Fi module developed by Hangzhou Tuya Information Technology Co., Ltd. The module consists of the highly integrated RTL8710BN chip and an external flash memory. It comes with a built-in Wi-Fi network protocol and a large number of library functions. The WR1 also includes low power ARM CM4F, WLAN MAC, 1T1R WLAN, a maximum frequency of 125MHz, built-in 256K SRAM, 1Mbyte flash, and a wealth of peripheral resources.

​ The WR1 is an RTOS platform that gathers all Wi-Fi MAC and TCP/IP libraries into one place. It enables users to build on the product and develop embedded Wi-Fi products that suit their individual needs.

​ The WR1 diagram is shown in Figure 1.1:

1.1 Features

A built-in low-power 32-bit CPU that doubles as an application processor.

  • Main frequency 125MHz

Operating voltage: 3V-3.6V

Peripherals: 6xGPIOs, 2xUARTs, 1xADC

Wi-Fi connectivity

  • 802.11 B/G/N20/N40

  • Channels 1-14@2.4GHz

  • Supports WPA/WPA2 security modes

  • +20dBm output in 802.11b mode

  • ​ Supports SmartConfig (for both Android and iOS devices)

  • ​ An onboard PCB antenna and an external antenna IPEX connector

  • CE, FCC, SRRC certified

  • Operating temperature: -20℃ to 85℃ ​

1.2 Primary application field

  • Smart buildings
  • Smart homes/appliances
  • Medical and health
  • Industrial wireless control
  • Baby monitors
  • Webcams
  • Smart public transportation

2. Module Interfaces

2.1 Package dimensions

​ The WR1 has 2 rows of pins (2x9) with a 1.5mm gap.

​ WR1 dimensions: 18 mm (W) x 23.5 mm (L) x 3.3 mm (H); package as shown in Figure 2.1: ​
Figure 2.1, WR1 dimensional drawing

2.2 Pin definition

Conventional pins are defined as shown in Table 1:

​ Table 2.1,WR1 pins description

Pin Symbol IO Type Function
1 VCC P UART0_TXD power conversion (5V or 3.3V)
2 UART0_TXD I/O UART0_TXD (user serial port)
3 UART0_RXD I/O UART0_RXD (user serial port)
4 VD33 P Module power supply pin (3.3V)
5 GND P Ground plane
6 GPIOA_14 I/O GPIOA_14
7 GPIOA_15 I/O GPIOA_15
8 LOG_TXD I/O UART_Log_TXD (for printing internal information of the module)
9 GPIOA_0 I/O GPIOA_0, can not be HIGH at the moment it is powered on, but can be after powering onConfiguration
10 GPIOA_5 I/O GPIOA_5
11 LOG_RXD I/O UART_Log_RXD (for printing internal information of the module)
12 GPIOA_19 I/O GPIOA_19
13 GPIOA_22 I/O GPIOA_22
14 GND P Ground plane
15 GND P Ground plane
16 CHIP_EN I/O External enable reset pin (active on LOW)
17 ADC AI ADC port, maximum input voltage 5V
18 GND P Ground plane

Description: P indicates the power pin, I/O indicates the input/output pin, and AI indicates the analog input pin

3. Electrical Parameters

3.1 Absolute electrical parameters

​ Table 3.1,Absolute Parameters

Parameters Description Minimum value Maximum value Unit
Ts Storage temperature -40 105
VDD Input voltage -0.3 3.6 V
Electrostatic discharge voltage (human-body model) TAMB-25℃ - 2 KV
Electrostatic discharge voltage (machine model) TAMB-25℃ - 0.5 KV

3.2 Operating conditions

​ Table 3.2,Normal operating conditions

Parameters Description Min Typ Max Unit
Ta Operating temperature -20 - 85
VDD Operating voltage 3.0 - 3.6 V
VIL IO low input -0.3 - VDD*0.25 V
VIH IO high input VDD*0.75 - 3.6 V
VOL IO low output - - VDD*0.1 V
VOH IO high output VDD*0.8 - VDD V
Imax IO drive current - - 16 mA
Cpad Input pin capacitance - 2 - pF

3.3 Wi-Fi TX power consumption

​ Table 3.3,Power consumption during continuous TX

Symbol Mode Power Typ Unit
IRF 11b11Mbps 17dBm 287 mA
IRF 11b11Mbps 18dBm 295 mA
IRF 11g54Mbps 15dBm 255 mA
IRF 11g54Mbps 17.5dBm 267 mA
IRF 11n BW20MCS7 13dBm 244 mA
IRF 11n BW20MCS7 16.5dBm 257 mA
IRF 11n BW40MCS7 13dBm 220 mA
IRF 11n BW40MCS7 16.5dBm 230 mA

3.4 Wi-Fi RX power consumption

​ Table 3.4, Power consumption during continuous RX

Symbol Mode Typ Unit
IRF CPU sleep 90 mA
IRF CPU active 120 mA

3.5 Power consumption in operating mode

​ Table 3.5, Module operating current

Operation Mode Operating condition, TA=25 Typ Peak* Unit
Quick configuration Module in quick net-pairing state, Wi-Fi indicator blinking 115 130 mA
Network connection idle Module connected to network, Wi-Fi indicator constantly on 50 110 mA
Network connection active Module connected to network, Wi-Fi indicator constantly on 120 265 mA
Disconnected Module not connected to network, Wi-Fi indicator always off 35 90 mA

Notes: The peak period is approx. 5us.

​ The parameters above may vary according to firmware.

4. RF Characteristics

4.1 Basic RF characteristics

​ Table 4.1,Basic RF characteristics

Parameter Description
Frequency range 2.400 to 2.4835GHz
Wi-Fi standard IEEE 802.11b/g/n (channels 1-14)
Data transfer rate 11b: 1, 2, 5.5, 11 (Mbps)11g: 6, 9, 12, 18, 24, 36, 48, 54 (Mbps)11n: HT20 MCS0-711n: HT40 MCS0-7
Antenna type PCB antenna (default)U.FL RF connector external antenna (optional)

4.2 Wi-Fi output power

​ Table 4.2,Continuous TX Power

Parameter Minimum value Typical value Maximum value Unit
RF average output power, 802.11b CCK Mode 11M - 17.5 - dBm
RF average output power, 802.11g OFDM Mode 54M - 14.5 - dBm
RF average output power, 802.11n OFDM Mode MCS7 - 13.5 - dBm
Frequency error -10 - 10 ppm

4.3 Wi-Fi RX sensitivity

​ Table 4.3,RX Sensitivity

Parameter Min Typ Max Unit
PER<8%, RX sensitivity, 802.11b CCK Mode 11M - -91 - dBm
PER<10%, RX sensitivity, 802.11g OFDM Mode 54M - -75 - dBm
PER<10%, RX sensitivity, 802.11n OFDM Mode MCS7 - -72 - dBm

5. Antenna Signal

5.1 Antenna type

​ There are two antenna access modes: PCB on-board antenna and external antenna. The default method is PCB onboard antenna.

1543202074842

5.2 Antenna interference reduction

​ To optimize the performance of the Wi-Fi module in combination with the PCB onboard antenna, it is recommended to keep the antenna at least 15mm from other metal parts.

5.3 U.FL RF connector

​ U.FL RF connector parameters are shown in the figure below:

1543202220106

6. Packaging information and production guidance

6.1 Mechanical dimensions

1543217914381

1543217916696

Notes: The PCB frame tolerance is ±0.15mm and the PCB thickness tolerance is ±0.1mm.

6.3 Production guide

The storage conditions for the module after it has been shipped are as follows:

  1. The moisture resistant bag must be stored at a temperature below 30℃ and under a relative humidity below 85%.
  2. The shelf life of dry packed products is six months following the packaged date.

Important information:

  1. All line workers must wear anti-static wrist straps throughout the entire production process.

  2. It is strictly prohibited to allow a module to come into contact with water or other contaminants during operations.

1543202669469

400-881-8611