Introduction to WiFi Module--TYJW2

WiFi module introduction–TYJW2

1. Product Overview

​ TYJW2 is a Wi-Fi module with 5V TTL UART series port interface designed by Hangzhou Tuya Information Technology Co., Ltd.,. The module consist a highly integrated wireless radio chip ESP8266EX and extra flash which has been programmed with Wi-Fi network protocol and plenty of software examples. TYJW2 also has a 32-bit CPU, 1M byte flash and 36k SRAM.

​ TYJW2 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.

​ Figure 1 shows the block diagram of the TYJW2:

1.1 Feature

  • Integrated low power consumption 32-bit CPU, also known as application processor

​ Basic frequency can support 80MHz and 160MHz

  • Supply voltage range: 4.5V-5.5V
  • Peripherals: 1*UART (5V TTL)
  • Wi-Fi connectivity:

​ 802.11 b/g/n

​ Channel 1-14@2.4GHz

​ Support WPA/WPA2

​ +20dBm output power in 802.11b mode

​ Support STA/AP/STA+AP operation mode

​ Support SmartConfig function for both Android and IOS devices

​ On-board PCB antenna, or IPEX connect for external antenna

​ Operating temperature range: -20℃ to 85℃

1.2 Main Application Fields

  • Intelligent Building
  • Intelligent home, Intelligent household applications
  • Health care
  • Industrial wireless control

2. Dimensions and Footprint

2.1 Dimensions

​ TYJW2 has an interface of PHS connection port. The distance between each Pin is 2mm.

​ Size of TYJW2: 49.6mm(W)*31mm(L)*9.1mm(H)

​ Figure 2 shows the dimensions of TYJW2.

​ Figure 2. The dimensions of TYJW2

2.2 Pin Definition

Table 1 shows the general pin attributes of TYJW2

​ Table 1. The typical pin definition of TYJW2

PIN NO. NAME TYPE DESCRIPTION
1 RX I/O RX port, input 5V TTL
2 TX I/O TX port, output 5V TTL
3 GND P Ground
4 VCC P Supply Voltage 5V

​ Note: P: Power supply pins; I/O: Digital input or output pins;

2.3 Test Point Definition

​ The test point pin definition is shown as table 2:

​ Table 2. The typical pin definition of TYJW2

PIN NO. NAME TYPE DESCRIPTION
5 3.3V P Internal 3.3V voltage pin
6 GND P Ground
7 BOOT I/O IO0 pin, firmware burning selection pin
8 TXD1 I/O Information print pin
9 RXD0 I/O Firmware burning pin
10 TXD0 I/O Firmware burning pin
11 RST I/O Reset pin

Note: P: Power supply pins; I/O: Digital input or output pins

If IO0 is unconnected, module in normal working mode; If IO0 is in negative level, module is in firmware burning mode.

RST is used for module hardware reset, can not clear Wi-Fi connection information.

These test point is not recommended for regular usage.

3. Electrical Characteristics

3.1 Absolute Maximum Ratings

​ Table 3. Absolute Maximum Ratings

PARAMETERS DESCRIPTION MIN MAX UNIT
Ts Storage temperature -20 85
VCC Supply voltage -0.3 5.5 V
Static electricity voltage (human model) TAMB-25℃ - 2 KV
Static electricity voltage (machine model) TAMB-25℃ - 0.5 KV

3.2 Electrical Conditions

​ Table 4. Electrical Conditions

PARAMETERS DESCRIPTION MIN TYPICAL MAX UNIT
Ta Working temperature -20 - 85
VCC Working voltage 4.5 5 5.5 V
VIL IO negative level input -0.3 - VCC*0.25 V
VIH IO positive level input VCC*0.75 - VCC V
VOL IO negative level output - - VCC*0.1 V
VoH IO positive level output VCC*0.8 - VCC V
Imax IO drive current - - 5 mA

3.3 Wi-Fi Transmitting Current Consumptions

​ Table 5. Wi-Fi TX current consumption

PARAMETERS MODE RATE TYPICAL UNIT
IRF 11b 11Mbps 260 mA
IRF 11g 54Mbps 100 mA
IRF 11n MCS7 100 mA

3.4 Wi-Fi Receiving Current Consumptions

​ Table 6. Wi-Fi RX current consumption

PARAMETERS MODE RATE TYPICAL UNIT
IRF 11b 11Mbps 70 mA
IRF 11g 54Mbps 70 mA
IRF 11n MCS7 70 mA

3.5 Working Mode Current Consumptions

​ Table 7. MCU working current consumption

WORK MODE AT TA=25℃ TYPICAL MAX* UNIT
EZ Mode Module is under EZ paring mode, wifi indicator light flashes quickly 90 151 mA
AP Mode Module is under AP paring mode, wifi indicator light flashes slowly 101 451 mA
Operation Mode Module is connected, wifi indicator light is on 58.5 411 mA
Disconnection Mode Modules is disconnected, wifi indicator light is off 156 430 mA

4. WLAN Radio Specification

4.1 Basic Radio Frequency Characteristics

​ Table 8. Basic Radio frequency characteristic

PARAMETERS DESCRIPTION
Frequency band 2.4GHz to 2.5GHz
Wi-Fi standard IEEE 802.11n/g/b (Terminal 1-14)
Data transmitting rate 11b:1,2,5.5,11(Mbps)
11g:6,9,12,18,24,36,48,54(Mbps)
11n:HT20,MCS0~7
Antenna type On-board PCB Antenna (Default)
UF.L RF external antenna (optinal)

4.2 Wi-Fi Transmitting Power

​ Table 9. Wi-Fi transmitting power

PARAMETERS MIN TYPICAL MAX UNIT
RF average output power, 802.11b CCK Mode 11M - 20 - dBm
RF average output power, 802.11g OFDM Mode 54M - 17 - dBm
RF average output power, 802.11n OFDM Mode MCS7 - 14 - dBm
The Frequency error -10 - 10 ppm

4.3 Wi-Fi Receiving Sensitivity

​ Table 10. Wi-Fi Receiving sensitivity

PARAMETERS MIN TYPICAL MAX UNIT
PER<8%, Receiving sensitivity, 802.11b CCK Mode 11M - -91 - dBm
PER<10%, Receiving sensitivity, 802.11g OFDM Mode 54M - -75 - dBm
PER<10%, Receiving sensitivity, 802.11n OFDM Mode MCS7 - -72 - dBm

5. Antenna Information

5.1 Antenna Type

​ Antenna can be connected using On-board PCB antenna or an external antenna, the default way is using the On-board PCB antenna.

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 minimum 15mm distance between the antenna part and the other metal pieces.

5.3 U.FL RF Connector

Figure 3 shows the physical parameter of the U.FL RF connector.

​ Figure 3. The physical parameter of the U.FL RF connector

6. Packaging Information And Production Guide

6.1 Mechanical Dimensions

​ Figure 4. Top view of the module

6.2 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 ring in the whole process of production.
  2. While operating, water and dirt should not have any contact with the modules.
400-881-8611