Introduction to Wi-Fi Module--TYWE2L

Wi-Fi module introduction–TYWE2L

1. Product Overview

​ TYWE2L is a low power-consuming built-in Wi-Fi module developed by Hangzhou Tuya Information Technology Co., Ltd. It consists of a highly integrated wireless radio chip (ESP8285) and several peripherals, with a built-in Wi-Fi network protocol stack and robust library functions. TYWE2L also provides a low power-consuming 32-bit CPU, 1 MB flash, 50 KB SRAM, and various peripheral resources. TYWE2L is an RTOS platform that integrates all the function libraries of the Wi-Fi MAC and TCP/IP protocols. Users can develop embedded Wi-Fi products as required based on the function libraries.

​ Figure 1 shows the schematic diagram of TYWE2L.

Figure 1 TYWE2L schematic diagram

1.1 Features

Built-in low power-consuming 32-bit CPU, which can also be used as an application processor

  • Basic frequency: 80 MHz and 160 MHz supported

Working voltage:3.0 V to 3.6 V

Peripherals: five GPIOs

Wi-Fi connectivity

  • 802.11 b/g/n

  • Channel 1–14@2.4 GHz

  • WPA/WPA2 security mode supported

  • Up to +20 dBm output power in 802.11b mode

  • STA/AP/STA+AP working mode supported

  • SmartConfig and AP network configuration modes supported (for Android and iOS devices)

  • Onboard PCB antenna

  • Working temperature: –20°C to +105°C

1.2 Major Application Fields

  • Intelligent building
  • Intelligent home and household applications
  • Intelligent socket and light
  • Industrial wireless control
  • Baby monitor
  • Network camera
  • Intelligent bus

2. Module Interfaces

2.1 Dimensions and Footprint

TYWE2L provides two rows of pins with the distance of 2.0 mm between every two pins.

TYWE2L dimensions: 3 mm (W) x 15 mm (L) x 17.3 mm (H) (see figure 2)

2.2 Pin Definition

Table 1 describes the interface pins.

​ Table 1 TYWE2L interface pins

No. Symbol I/O Type Function
1 14 I/O GPIO_14
2 12 I/O GPIO_12
3 13 I/O GPIO_13
4 5 I/O GPIO_05
5 4 I/O GPIO_04
6 GND P Power supply reference ground pin
7 3V3 P Module power supply pin (3.3 V)

Note: P indicates power-supply pins and I/O indicates input/output pins.

2.3 Test Pin Definition

Table 2 describes the test pins.

​ Table 2 TYWE2L test pins

No. Symbol I/O Type Function
- IO2 I/O UART1_TXD (module information recording pin)
- RST I/O Reset pin
- IO0 I/O IO0 is involved in module startup. If IO0 is disconnected, the module enters the normal running state.

Note: I/O indicates input/output pins.
If IO0 is disconnected, the module enters the normal running state. If IO0 is in low level, the module enters the firmware programming state.
Test pins are not recommended.

3. Electrical Characteristics

3.1 Absolute Electrical Characteristics

Table 3,Absolute electrical characteristics

Parameters Description Minimum value Maximum value Unit
Ts Storage temperature -20 85
VCC Power supply voltage -0.3 3.6 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,Normal electrical conditions

Parameters Description Min Typ Max Unit
Ta Working temperature -20 - 85
VCC Working 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 WI-Fi TX Power Consumption

​ Table 5 TX power consumption during constant emission

Parameter Mode Rate Tx power Typ Unit
IRF 11b 11 Mbit/s +17 dBm 220 mA
IRF 11g 54 Mbit/s +15 dBm 110 mA
IRF 11n MCS7 +13 dBm 100 mA

3.4 WI-Fi RX Power Consumption

​ Table 6 RX power consumption during constant emission

Parameter Mode Rate Typ Unit
IRF 11b 11 Mbit/s 76 mA
IRF 11g 54 Mbit/s 76 mA
IRF 11n MCS7 76 mA

3.5 Power Consumption in Operating Mode

​ Table 7 TYWE2L working current

Working Mode Working Status(Ta=25°C) Value Max Unit
EZ mode The module is in EZ status and the Wi-Fi indicator quickly flashes. 80 151 mA
AP mode The module is in AP status and the Wi-Fi indicator slowly flashes. 90 451 mA
Operation mode The module is in connected status and the Wi-Fi indicator is steady on. 58.5 411 mA
Disconnection mode The module is in disconnected status and the Wi-Fi indicator is steady off. 80 430 mA

4. RF Features

4.1 Basic RF Features

​ Table 8,Basic RF features

Parameter Description
Frequency band 2.412–2.484 GHz
Wi-Fi standard IEEE 802.11b/g/n (channel 1–14)
Data transmitting rate 11b: 1, 2, 5.5, 11 (Mbit/s)11g: 6, 9, 12, 18, 24, 36, 48, 54 (Mbit/s)11n: HT20 MCS0–MCS7
Antenna type PCB antenna (default)

4.2 WI-FI Output Power

​ Table 9 TX power during constant emission

Parameter Min Typ Max Unit
RF average output power, 802.11b CCK mode 1 M - 20 - dBm
RF average output power, 802.11g OFDM mode 54 M - 17 - dBm
RF average output power, 802.11n OFDM mode MCS7 - 14 - dBm
Frequency error -10 - 10 ppm

4.3 RF RX sensitivity

​ Table 10 RX Sensitivity

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

5. Antenna Information

5.1 Antenna type

​ TYWE2L uses the onboard PCB antenna.

5.2 Antenna Interference Reduction

​ To ensure optimal Wi-Fi performance when the Wi-Fi module uses the onboard PCB antenna, it is recommended that there be a space of at least 15 mm between the module antenna and other metal parts.

6. Packaging Information and Poduction Instructions

6.1 Mechanical Dimensions

Note: PCB frame tolerance ±0.15 mm, PCB depth tolerance ±0.1 mm

6.2 Production Instructions

Storage conditions of a delivered module are as follows:

  1. The anti-moisture bag is placed in an environment where the temperature is under 30°C and the relative humidity is under 85%.
  2. The shelf life of a dry-packaged product is six months from the date when the product is packaged and sealed.

Precautions:

  1. Throughout the production process, each involved operator must wear an electrostatic ring.
  2. During the operation, strictly protect the module from water and strains.

400 Call

Consult

400-881-8611