TUYA WB2L User manual

Contents
Contents
1 Product overview 2
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Change history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Module interfaces 3
2.1 Dimensions and footprint . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Interface pin definition . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Test pin definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Electrical parameters 8
3.1 Absolute electrical parameters . . . . . . . . . . . . . . . . . . . . . 8
3.2 Working conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.3 Current consumption during constant transmission and receiving . . . 9
3.4 Working current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 RF features 11
4.1 Basic RF features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.2 TX performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.3 RX performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 Antenna 14
5.1 Antenna type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.2 Antenna interference reduction . . . . . . . . . . . . . . . . . . . . . 14
6 Packaging Information and Production Instructions 17
6.1 Mechanical Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.2 Side view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.3 Recommended schematic encapsulation . . . . . . . . . . . . . . . . 18
6.4 Recommended PCB Encapsulation-Pin header . . . . . . . . . . . . . . 18
6.5 Recommended PCB Encapsulation-SMT . . . . . . . . . . . . . . . . . 19
6.6 Production instructions . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.7 Recommended oven temperature curve . . . . . . . . . . . . . . . . . 21
6.8 Storage conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
i

Contents
WB2L is a low-power embedded Wi-Fi and BLE module that Tuya has developed.
It consists of a highly integrated RF chip (BK7231T) and several peripheral com-
ponents, with an embedded Wi-Fi network protocol stack and robust library func-
tions.
1 / 26

1 PRODUCT OVERVIEW
1 Product overview
WB2L is embedded with a low-power 32-bit microcontroller unit (MCU), 2 MB flash
memory, 256 KB static random-access memory (SRAM), and extensive peripher-
als.
WB2L is an RTOS platform that integrates all function libraries of the Wi-Fi MAC and
TCP/IP protocols. You can develop embedded Wi-Fi products as required.
1.1 Features
• Embedded low-power 32-bit CPU, which can also function as an application
processor
• Dominant frequency: 120 MHz
• Working voltage: 3.0 V to 3.6 V
• Peripherals: 5 GPIOs
• Wi-Fi connectivity
–802.11 b/g/n
–Channels 1 to 14 at 2.4 GHz
–Support WEP,WPA/WPA2,WPA/WPA2 PSK (AES) security modes
–Up to +17 dBm output power in 802.11b mode
–EZ and AP net pairing modes for Android and iOS devices
–Onboard PCB antenna with a gain of 1 dBi
–Working temperature: –20°C to +105°C
• BLE connectivity
–Support for BLE 4.2
–Maximum output power of +7 dBm
–Onboard PCB antenna with a gain of 1 dBi
1.2 Applications
• Intelligent building
• Smart household and home appliances
• Smart socket and light
• Industrial wireless control
2 / 26

2 MODULE INTERFACES
• Baby monitor
• Network camera
• Intelligent bus
1.3 Change history
Date Description Version after change
2019-11-07 This is the first release. V1.0.0
2019-11-23 Update antenna gain. V1.0.1
2019-12-04 Update power
consumption of
distribution network.
V1.0.2
2019-12-10 Update Bluetooth
related parameters.
V1.0.3
2 Module interfaces
2.1 Dimensions and footprint
WB2L has one row of pins with a 2±0.1 mm pin spacing.
The WB2L dimensions (Lx Wx H) are 17.3±0.35 mm x 15±0.35 mm x 2.8±0.15 mm.
The following figure shows the WB2L front and rear views.
3 / 26

2 MODULE INTERFACES
4 / 26

2 MODULE INTERFACES
2.2 Interface pin denition
Pin No. Symbol I/O type Function
1 PWM2 I/O Hardware PWM
pin,which is
connected to the
P8/BT_ACTIVE/PWM2
(Pin24)
2 PWM1 I/O Hardware PWM
pin,which is
connected to the
P7/WIFI_ACTIVE/PWM1
(Pin23)
5 / 26

2 MODULE INTERFACES
Pin No. Symbol I/O type Function
3 PWM0 I/O Hardware PWM
pin,which is
connected to the
P6/CLK13M/PWM0
(Pin22)
4 PWM5 I/O Hardware PWM
pin, which is
connected to the
P26/IRDA/PWM5
(Pin15)
5 PWM4 I/O Hardware PWM
pin,which is
connected to the
P24/LPO_CLK/PWM4
(Pin16)
6 GND P Ground pin
7 3V3 P Power supply pin
(3.3 V)
2.3 Test pin denition
Pin No. Symbol I/O type Function
- GND P Ground pin
- RST I Reset pin, Default
high level, pull
down effective
- U1_TXD I/O UART1_TX, User
serial port
- U1_RXD I/O UART1_RX, User
serial port
6 / 26

2 MODULE INTERFACES
Pin No. Symbol I/O type Function
- U2_TXD I/O UART2_TX, LOG
serial port
- U2_RXD I/O UART2_RX, LOG
serial port
- F_SCK I/O Clock pin when
data is
downloaded from
the flash memory,
which is
connected to the
P20 pin on the
internal IC
- F_CSN I/O Command
enabling pin
when data is
downloaded from
the flash memory,
which is
connected to the
P21 pin on the
internal IC
- F_SI I/O Data input pin
when data is
downloaded from
the flash memory,
which is
connected to the
P22 pin on the
internal IC
7 / 26

3 ELECTRICAL PARAMETERS
Pin No. Symbol I/O type Function
- F_SO I/O Data output pin
when data is
downloaded from
the flash memory,
which is
connected to the
P23 pin on the
internal IC
3 Electrical parameters
3.1 Absolute electrical parameters
Parameter Description
Minimum
value
Maximum
value Unit
Ts Storage
temperature
-40 105 ℃
VBAT Power supply
voltage
3.0 3.6 V
Static
electricity
voltage
(human body
model)
TAMB-25℃ - 2 KV
Static
electricity
voltage
(machine
model)
TAMB-25℃ - 0.5 KV
8 / 26

3 ELECTRICAL PARAMETERS
3.2 Working conditions
Parameter Description
Minimum
value
Typical
value
Maximum
value Unit
Ta Working
tempera-
ture
-20 - 105 ℃
VBAT Power
supply
voltage
3.0 3.3 3.6 V
VIL I/O
low-level
input
-0.3 - VCC*0.25 V
VIH I/O
high-level
input
VCC*0.75 - VCC V
VOL I/O
low-level
output
- - VCC*0.1 V
VoH I/O
high-level
output
VCC*0.8 - VCC V
Imax I/O drive
current
- - 12 mA
3.3 Current consumption during constant transmission and receiving
Working
status Mode Rate
TX Power/
Receiving
Typical
value
Maximum
value Unit
TX 11b 11Mbps +17dBm 295 354 mA
TX 11g 54Mbps +13.5dBm 266 300 mA
TX 11n MCS7 +12dBm 260 290 mA
9 / 26

3 ELECTRICAL PARAMETERS
Working
status Mode Rate
TX Power/
Receiving
Typical
value
Maximum
value Unit
RX 11b 11Mbps Constant
receiving
98 100 mA
RX 11g 54Mbps Constant
receiving
98 100 mA
RX 11n MCS7 Constant
receiving
98 100 mA
3.4 Working current
Working
mode
Working
status (Ta =
25°C)
Average
value
Maximum
value Unit
EZ The module is
in EZ mode,
and the Wi-Fi
indicator
blinks quickly.
70 312 mA
AP The module is
in AP mode,
and the Wi-Fi
indicator
blinks slowly.
70 364 mA
Connected The module is
connected to
the network,
and the Wi-Fi
indicator is
steady on.
40 244 mA
10 / 26

4 RF FEATURES
Working
mode
Working
status (Ta =
25°C)
Average
value
Maximum
value Unit
Disconnected The module is
disconnected
from the
network, and
the Wi-Fi
indicator is
steady off.
100 232 mA
4 RF features
4.1 Basic RF features
Parameter Description
Frequency band 2.412~2.484GHz
Wi-Fi standard IEEE 802.11b/g/n(channels1-14)
Data transmission rate 11b:1,2,5.5, 11 (Mbps)
11g:6,9,12,18,24,36,48,54(Mbps)
11n: HT20 MCS0~7
Antenna type PCB antenna with a gain of 1dBi
4.2 TX performance
Performance during constant transmission.
11 / 26

4 RF FEATURES
Parameter
Minimum
Value Typical Value
Maximum
Value Unit
Average RF
output
power,802.11b
CCK Mode
11M
- 17 - dBm
Average RF
output
power,802.11g
OFDM Mode
54M
- 13.5 - dBm
Average RF
output
power,802.11n
OFDM Mode
MCS7
- 12 - dBm
CCK 11Mbps
Mode 17dBm
- -23 - dB
OFDM
54Mbps Mode
13.5dBm
- -27 - dB
OFDM MCS7
Mode 12dBm
- -28 - dB
Frequency
error
-15 - 15 ppm
4.3 RX performance
RX sensitivity
12 / 26

4 RF FEATURES
Parameter
Minimum
value Typical value
Maximum
value Unit
PER<8%, RX
sensitivity,
802.11b
DSSS Mode
11M
- -81 - dBm
PER<10%, RX
sensitivity,
802.11g
OFDM Mode
54M
- -72 - dBm
PER<10%, RX
sensitivity,
802.11n
OFDM Mode
MCS7
- -68 - dBm
13 / 26

5 ANTENNA
5 Antenna
5.1 Antenna type
WB2L uses an onboard PCB antenna or Ipex antenna.
5.2 Antenna interference reduction
To ensure optimal Wi-Fi performance when the Wi-Fi module uses an onboard PCB
antenna, it is recommended that the antenna be at least 15mm away from other
metal parts.
To prevent an adverse impact on the antenna radiation performance, avoid copper
or traces along the antenna area on the PCB. The following describes three antenna
placement solutions:
1. Place the antenna outside the PCB frame.
2. Place the antenna along with the PCB frame without copper nearby.
3. Place the antenna in a carved area on the PCB.
The preceding solutions ensure that there are no substrate media above or be-
low the antenna and that copper is at a certain distance away from the antenna
to maximize the antenna radiation performance.
14 / 26

5 ANTENNA
15 / 26

5 ANTENNA
16 / 26

6 PACKAGING INFORMATION AND PRODUCTION INSTRUCTIONS
6 Packaging Information and Production Instructions
6.1 Mechanical Dimensions
The PCB dimensions (L x Wx H) are 17.3±0.35mm (L)×15±0.35mm (W)
×2.8±0.15mm (H).
6.2 Side view
17 / 26
Other manuals for WB2L
2
Table of contents
Other TUYA Control Unit manuals
Popular Control Unit manuals by other brands

Siemens
Siemens MLC installation instructions

schmersal
schmersal SRB NA-R-C.39/ST2 operating instructions

Cooper Menvier
Cooper Menvier Scantronic 9651 user guide

Sygonix
Sygonix 1780538 operating instructions

Comunello
Comunello CU-110V-1M Installation and user manual

Wey
Wey Sistag Sluice gate valve 3 instruction manual