Wi-Fi Module

Does the TYWE3S module support 5G router distribution?

Not supported, TYWE3S module currently supports 2.4G mode, the distribution network can only use 2.4G routers, using 5G routers will fail

How long is the interval between frames sent by a Wi-Fi module?

About 50 ms.

What are the application fields of the M1 module?

Remote controls, table lamps, aroma diffusers, electric fans, air conditioners, 86-typed household switch socket panels

What is the docking procedure for the M1 project?

1. Communication with the customer to understand their needs

2. Evaluation by the vice PM

3. Evaluation by the project PMs (SoC and MCU)

4. Project charter in the project center 5. Project conclusion

How to test Wi-Fi module signals?

You can log into Wirelessmon to scan the signal strength on the PC, or use the Wi-Fi analyzer to scan the signal strength on the mobile phone.

What are the core features of the M1 module?

• Online Wi-Fi voice standardization module, support for Mandarin when used in China

• 3-meter far-field voice recognition, built-in wake-up words for Smart Housekeeper, wake-up word customization supported

• 20 mm × 30 mm ultra-small size for easy integration with various compact devices

• Diverse module interfaces targeting different types of products such as electrical engineering, lighting, and home appliances

• Tuya-developed IoT voice feature with full support for devices powered by Tuya and support for scene-based interaction

• Various skills, such as encyclopedia, answers, and weather

• Use the TuyaSmart app alone to pair the M1 module and PBT devices to the Internet, with no need to switch between two apps

• Built-in onboard antenna, M1-based SRRC certification report, SRRC test not required for the integrated device

• Music playback not supported

What is the hardware configuration of the M1 module?

• Single-core M4 master control, 380 MHz basic frequency, 8 MB flash, 4 MB RAM

• 2.4G Wi-Fi with support for IEEE 802.11 b/g/n

• Dual microphone array, built-in denoising and wake-up algorithms

• Embedded 3 W audio amplifier, support for 2 W speakers

• 5 V and 1 A power

• 4-channel GPIO, 5-channel PWM, 2-channel ADC, 1-channel infrared transceiver, 1-channel IIC, 2-channel LED, 1-channel current control UART, 1-channel debugging UART

What are the Wi-Fi module models?

Espressif TYWE series, WR series, and WSV series.

What are the certification modes for Wi-Fi modules?

The following certification services are available for Wi-Fi modules: SRRC, FCC, IC, CE, TELEC, KCC, REACH, RoHS, and California Proposition 65.

What is the connection status of a device if the function returns the Wi-Fi status value of 00?

The device is in smart configuration mode.

Is an E2L module surface mounted or through-hole mounted onto a PCB?

An E2L module can be surface mounted onto a PCB, through-hole mounted onto a PCB, or connected to a PCB through a pin header.

What if the temperature of the sphere lamp exceeds that of the Wi-Fi module?

It may cause your device to go offline abnormally and damage the Wi-Fi module permanently.

Do E2L and E2S use the same encapsulation method?

No. E2L and E2S use different encapsulation methods and are not interchangeable.

Can E2L and E2S be through-hole mounted onto a PCB?

Yes. When the two modules are not pin-to-pin capable, they are not interchangeable.

Can I connect a 5 V MCU to a Wi-Fi module?

Yes. However, you need a level converter circuit because a 5 V MCU has a 5 V serial port, and a Wi-Fi module has a 3.3 V serial port.

Can an E2L module interwork with an MCU over a serial port?

Yes. A module's serial port is used for firmware burning. If the module is surface mounted onto the PCB, the module can interwork with the MCU over a serial port.

Do E3L and E3S use the same encapsulation method?

An E3L module can replace an E3S module because an E3L module's encapsulation is compatible with that of an E3S module. An E3L module can be connected to a PCB through a pin header.

Can an E2S module be surface mounted onto a PCB?

Yes. It can also be through-hole mounted onto a PCB.

Can an E2L module be surface mounted onto a PCB?

Yes.

What is WR2?

WR2 is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated radio frequency (RF) chip (RTL8710BN) and an external flash chip, with an embedded Wi-Fi network protocol stack and robust library functions. WR2 also contains a low-power Arm Cortex-M4F processor, WLAN MAC, 1T1R WLAN, 256 KB static random-access memory (SRAM), 2 MB flash memory, and extensive peripherals. Its clock rate can reach up to 125 MHz.

Must the EN pin on an E3L module be connected?

Yes. The EN pin must be connected to a high level.

What is a TYWE1S Wi-Fi module?

TYWE1S is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated RF chip (ESP8266EX) and an external flash chip, with an embedded Wi-Fi network protocol stack and robust library functions. It also contains a low-power 32-bit CPU, 1 MB flash memory, 36 KB SRAM, and extensive peripherals. TYWE1S is an RTOS that integrates all function libraries of the Wi-Fi MAC and TCP/IP protocols. You can develop embedded Wi-Fi products as required.

What is the WR4?

WR4 is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated radio frequency (RF) chip (RTL8710BN) and an external flash chip, with an embedded Wi-Fi network protocol stack and robust library functions. WR4 also contains a low-power Arm Cortex-M4F processor, WLAN MAC, 1T1R WLAN, 256 KB static random-access memory (SRAM), 1 MB flash memory, and extensive peripherals. Its clock rate can reach up to 125 MHz.

What is WR2L?

WR2L is a low power-consuming built-in Wi-Fi module developed by Hangzhou Tuya Information Technology Co., Ltd. It consists of a highly integrated radio frequency chip (RTL8710BX) and an external flash chip, with a built-in Wi-Fi network protocol stack and robust library functions. WR2L also contains a low power-consuming ARM CM4F, a WLAN MAC, a 1T1R WLAN, and the maximum basic frequency of 62.5 MHz, and is embedded with a 256 KB SRAM, a 2 MB flash, and robust peripheral resources.

What is WR2E?

WR2E is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated radio frequency (RF) chip (RTL8710BN) and an external flash chip, with an embedded Wi-Fi network protocol stack and robust library functions. WR2E also contains a low-power Arm Cortex-M4F processor, WLAN MAC, 1T1R WLAN, 256 KB static random-access memory (SRAM), 2 MB flash memory, and extensive peripherals. Its clock rate can reach up to 125 MHz.

Check whether the module switches between the EZ and AP modes and whether the pins are at a low level. If IO15 is used for key control but is not pulled up, this problem may occur.

How is the E1S module different from the E1S I-PEX module?

The E1S and E1S I-PEX modules have the same specifications. The only difference is that E1S I-PEX has a base to connect to external antennas but E1S does not.

What is the ultimate voltage value of the chip for an E3S module?

The ultimate voltage value of the chip for an E3S module is 3.6 V. To ensure normal communications, we recommended that the value do not exceed 3.3 V.

Does the TYWE1S module's 36 KB SRAM contain the RTOS memory?

Yes. The available SRAM space is about 20 KB.

How many outputs does an LC5 module support?

An LC5 module has three I/O pins. Theoretically, it supports up to three PWM outputs for RGB. Due to the module's driver limitations, you are advised to use the I2C pin for RGB control.

You are advised to connect a 3.3-kiloohm pull-down resistor to the output I/O pin on the module to make the output at a low level and prevent the lamp blinking.

Can the E2S module be used on a 4-channel SoC switch?

No, the E2S module does not have enough I/O pins.

Can the PWM frequency of a light adjustment I/O pin on a Wi-Fi module for lighting products be adjusted in linear mode?

Yes.

How many pins does a Wi-Fi module have?

A Wi-Fi module may have 18, 16, or 12 pins, which are determined by module encapsulation mode.

How do I stop the heartbeat of a Wi-Fi module?

You can read the product agreement carefully, if support is indicated in the agreement.

Which Wi-Fi mode do Tuya's Wi-Fi modules use? 802.11b, 802.11g, 802.11n HT20, or 802.11n HT40?

RAD modules do not support 802.11n HT40, whereas other Wi-Fi modules work in 802.11n HT40 mode.

How many pins does a Wi-Fi module have?

A Wi-Fi module may have 12, 16, or 18 pins, depending on module packaging.

What are the dimensions of a Wi-Fi module?

Wi-Fi modules' dimensions vary depending on the model. You are advised to view the module information on the Hardware Debug page during product development.

How many gangs can a switch that uses a TYWE3S Wi-Fi module have?

Up to nine.

What is the RF output power of a Wi-Fi module?

The RF output power is 17.5 dBm in 802.11b mode, 15.5 dBm in 802.11g mode, and 14 dBm in 802.11n (20 MHz) mode.

What is the default PWM frequency of a light adjustment I/O pin on a Wi-Fi module for lighting products?

The default PWM frequency is 1 kHz. On the Tuya Smart platform's Hardware Debug page, you can modify the PWM frequency to up to 10 kHz, which will be expanded to 20 kHz.

What are the net pairing modes for Wi-Fi modules?

There are two configuration modes: Smart Config and AP.

What are the dimensions of a Wi-Fi module?

Generally speaking, the Wi-Fi module dimensions are subject to the module encapsulation mode. Sample dimension (H x W x D): 3.5 mm x 16 mm x 24 mm.

Do Wi-Fi modules use different channels in different countries?

By default, Tuya Wi-Fi modules work in channels 1 through 14 in all countries. If you want to specify available channels for your product, contact Tuya personnel and tell them your product sales regions. The channels can be specified by changing the firmware settings.

No.

At what intervals does a Wi-Fi module send data frames?

A Wi-Fi module sends data frames at intervals of about 50 ms.

What is the antenna gain of a Wi-Fi module?

The antenna gain of a Wi-Fi module is 2.5 dBi.

What is the frequency band of Tuya Wi-Fi modules?

The frequency band of a Wi-Fi module is subject to that set for the router, which can be 20 MHz or 40 MHz. If 40 MHz is set for the router, the frequency band of the Wi-Fi module is 40 MHz. If no frequency band is set for the router, the frequency band of the Wi-Fi module may be 20 MHz or 40 MHz.

What can I do if my Wi-Fi module continues to heat up in the network pairing state?

During network pairing, a Tuya Wi-Fi module typically stays in the network pairing state for 2 minutes and then enters the sleep state. If your Wi-Fi module keeps being hot, analyze the overall hardware power consumption to locate the cause.

What is WR1?

WR1 is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated radio frequency (RF) chip (RTL8710BN) and an external flash chip, with an embedded Wi-Fi network protocol stack and robust library functions. WR1 also contains a low-power Arm Cortex-M4F processor, WLAN MAC, 1T1R WLAN, 256 KB static random-access memory (SRAM), 1 MB flash memory, and extensive peripherals. Its clock rate can reach up to 125 MHz. WR1 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.

What is TYWE3S?

TYWE3S is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated radio frequency (RF) chip (ESP8266) and several peripheral components, with an embedded Wi-Fi network protocol stack and robust library functions. TYWE3S is embedded with a low-power 32-bit CPU, 2 MB flash memory, and 50 KB static random-access memory (SRAM), and has extensive peripherals.

What is TYWE3L?

TYWE3L is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated radio frequency (RF) chip (ESP8266) and several peripheral components, with an embedded Wi-Fi network protocol stack and robust library functions. TYWE3L is embedded with a low-power 32-bit CPU, 1 MB flash memory, and 50 KB static random-access memory (SRAM), and has extensive peripherals.

What is TYWE1S?

TYWE1S is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated radio frequency (RF) chip (ESP8266EX) and an external flash chip, with an embedded Wi-Fi network protocol stack and robust library functions. TYWE1S also contains a low-power 32-bit CPU, 1 MB flash memory, 36 KB static random-access memory (SRAM), and extensive peripherals.

What is TWYE1S-IPEX?

TWYE1S-IPEX is a Tuya module with a base for connection with an external antenna. It has the same specifications as the TWYE1S module.

How does the Wi-Fi temperature and humidity sensor achieve low power consumption?

The power supply of the Wi-Fi module is controlled by an MCU. When you want the sensor to report temperature and humidity values, turn on the Wi-Fi power supply. The sensor then reports the temperature and humidity value changes at the scheduled time. If the temperature and humidity values obtained are the same as those obtained last time, the Wi-Fi module does not report the values.

Can I use a Wi-Fi module to remotely open or close the lid of a smart trash bin?

Remote control requires the Wi-Fi module to keep online, which consumes much power. You are advised to use a low-power module.

What is the relationship between Tuya modules and the ESP-12S module?

ESP-12S is an Ai-Thinker public module, which is pin-to-pin compatible with the Tuya E3S module. Tuya used the ESP-12S module in an early phase and does not use it now.

What do I do if network pairing fails?

1. Check whether the module has entered the network pairing mode.

2. Check whether you have selected the correct network pairing mode in the app.

3. Check whether the Wi-Fi network is a 2.4 GHz network and whether you have entered the correct Wi-Fi password.

1. Check whether the module's power voltage is at the correct level. During network pairing, the current through the module may reach over 100 mA.

2. Check the module's hardware circuit connection. Check whether the EN pin is at a high level and whether the IO0, IO2, IO15, and RST pins are connected correctly. It is recommended that IO15 be connected to a pull-down resistor and that other pins be disconnected. To use IO0 and IO2, connect a pull-up resistor to each of them.

3. Check whether the module is powered off completely during each power cycling. Use a DC constant-voltage power supply to test the module independently. Connect the RST pin to the ground three times to simulate three power cyclings.

4. Check the module's firmware information. Use a serial port debugging assistant to display the IO2 pin information, baud rate (74880 kbit/s), and character string mode, and send the information to Tuya to confirm it.

Why can't I find the IO1 and IO3 pins on an E2S Wi-Fi module?

The TX and RX pins on an E2S module are the IO1 and IO3 pins, respectively.

How do I check whether a module I receive has been programmed?

Test functions of the module or check the module logs. Function testing is recommended because it is simpler.

Can a module's reset pin be disconnected?

When the module communicates with the MCU, the reset pin can be disconnected. You can also reserve an I/O pin for proactive reset if the program crashes.

What is the highest temperature that the TYWE3L module can bear?

The TYWE3L module can bear temperature as high as 105°C.

Why doesn't the TYWE1S module work after I connected its pin 1 to pin 4?

For serial communication, connect pin 1 to pin 5, where pin 1 is the TX pin. If you use a 5 V serial interface, connect pin 1 to 5 V power. If you use a 3.3 V serial interface, connect pin 1 to a 3.3 V power. Ensure that the pin is not hanging.

Why is no data found for the TX pin of the TYWE1S module?

For serial communication, connect pin 1 to pin 5, where pin 1 is the TX pin. If you use a 5 V serial interface, connect pin 1 to 5 V power. If you use a 3.3 V serial interface, connect pin 1 to a 3.3 V power. Ensure that the pin is not hanging.

Is the pin of a TYBT1 module compatible with that of an E2S module?

No. The two modules are not interchangeable because their power supply is positioned differently.

Does the TYWE3S module have a wake up GPIO pin?

No. However, the TYWE3S module has an EN pin. When the EN pin is at a high level, the module works. When the EN pin is at a low level, the module does not work.

What is the highest temperature that the TYWE3S module can bear?

The TYWE3S module can bear temperature as high as 85°C.

What level can I connect to the EN pin of the TYWE3S module?

You must connect the EN pin to a high level.

Must I connect the EN pin of the TYWE3S module?

Yes. You must connect the EN pin to a high level.

How do I connect the EN pin of the TYWE3S module?

Connect the EN pin to a high level.

How do I connect the EN pin of the TYWE3L module?

Connect the EN pin to a high level.

What level can I connect to the EN pin of the TYWE3L module?

You must connect the EN pin to a high level.

Which command word is used by the Wi-Fi module to query product information?

Command word 01 is used to query product information.

Can devices not respond to the command word 01 from the Wi-Fi module?

No.

What is the function of command word 04 sent over a common standard protocol of the Wi-Fi module?

Command word 04 is used to reset network pairing mode.

What is the function of command word 02 sent over a common standard protocol of the Wi-Fi module?

Command word 02 is used to query the Wi-Fi module's network pairing mode, including processing by the Wi-Fi module and cooperative processing by the MCU and Wi-Fi module.

What is the function of command word 00 of the Wi-Fi module?

Command word 00 is used to send heartbeat packets.

What are the advantages of a Wi-Fi module?

A Wi-Fi module has a high transmission rate, requires no gateways, and popular on the market.

What are the disadvantages of a Wi-Fi module?

The Wi-Fi module has high power consumption and a limited number of connected devices. The module must be deployed close to the router.

Does a Wi-Fi module consume more power than a Bluetooth module?

Yes. Remote control requires the Wi-Fi module to keep online, which consumes much power. We recommend that you use a low-power module.

Can I remotely monitor a Wi-Fi module without an NMS?

Yes.

Can the MCU proactively obtain the network status over a common standard protocol of the Wi-Fi module?

Yes. The protocol in the latest version allows the MCU to proactively obtain the network status. For details about the firmware version, contact related personnel. However, command word 03 can only be sent by the Wi-Fi module when the network status is changed.

What is the function of command word 0e sent over a common standard protocol of the Wi-Fi module?

Command word 0e is used to send product test commands.

What is the function of command word 08 sent over a common standard protocol of the Wi-Fi module?

Command word 08 is used to synchronize DP status.

What is the function of command word 07 sent over a common standard protocol of the Wi-Fi module?

Command word 07 is used to report DP data.

What is the function of command word 06 sent over a common standard protocol of the Wi-Fi module?

Command word 06 is used to report DPs.

What is the network pairing process of a Wi-Fi module?

EZ mode:

1. Connect your mobile phone to a Wi-Fi network, open the app, and tap the plus sign (+) in the upper right corner. Enter the Wi-Fi password to request the network pairing token.

2. Initialize the hardware device and ensure that the Wi-Fi indicator blinks quickly.

3. Enable the mobile phone to send the SSID, password, or token in broadcast or multicast mode.

4. The hardware device obtains the SSID, password, or token in the configuration information based on the UDP packet length in broadcast mode and IP address in multicast mode, and the Wi-Fi indicator is off. Connect the hardware device to the router. After successful connection, the Wi-Fi indicator is on. Send the token and register with the server. After successful registration, log in to the MQTT server.

5. Based on the token, the mobile phone searches for the device on the server and returns the device information.

AP mode:

1. Connect your mobile phone to a Wi-Fi network, open the app, and tap the plus sign (+) in the upper right corner. Enter the Wi-Fi password to request the network pairing token.

2. Initialize the hardware device, enable it to enter the AP mode, and ensure that the Wi-Fi indicator blinks slowly.

3. Connect the mobile phone to the hardware device's hotspot (SSID). After successful connection, use UDP packets to send the AES-encrypted SSID, password, or token.

4. After the device obtains configuration information in the UDP packets, connect the device to the Wi-Fi network and disconnect its hotspot. Send the token, register with the server, and log in to the MQTT server.

5. Connect the mobile phone to the Wi-Fi network and search for the device on the server based on the token.

6. The server returns the device information.

What is the baud rate for a Wi-Fi module to connect to the firmware over the MCU serial interface?

Common baud rates for Tuya modules to connect to general firmware are 9600 bit/s and 115200 bit/s.

Can a Wi-Fi module obtain the local time?

Yes. The Wi-Fi module can obtain either the GMT or local time.

Can I set power-off memory for a Wi-Fi power statistics socket?

Yes. On the Hardware Commission page, select a module and click Configure Firmware. In the dialog box that is displayed, set Default power state to Power-off memory and click OK.

How do I test a Wi-Fi module's signal strength?

You can use WirelessMon on a PC or the Wi-Fi analyzer on a mobile phone to scan the signals and analyze the signal strength.

Why can't a product using a TYBT3L module, which previously used a TYWE3L module and could enter the network pairing mode after three power cyclings, enter the network pairing mode after three power cyclings now?

The TYBT3L module has low power consumption. Check whether the module powers off completely during each power cycling. The number of power-offs will be cleared if the period of a single power-on exceeds 8s.

Can Wi-Fi lamps with earlier and later DP versions be controlled in the same group?

No, because they use different protocols.

What are the features of a TYWE2S Wi-Fi module?

TYWE2S is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated RF chip (ESP8285) and several peripheral components, with an embedded Wi-Fi network protocol stack and robust library functions. TYWE2S is embedded with a low-power 32-bit CPU, 1 MB flash memory, 50 KB SRAM, and extensive peripherals. TYWE2S is an RTOS that integrates all function libraries of the Wi-Fi MAC and TCP/IP protocols. You can develop embedded Wi-Fi products as required.

What are the features of a TYWE3S Wi-Fi module?

TYWE3S is a low-power embedded Wi-Fi module that Tuya has developed. It consists of a highly integrated RF chip (ESP8266) and several peripheral components, with an embedded Wi-Fi network protocol stack and robust library functions. TYWE3S is embedded with a low-power 32-bit CPU, 1 MB flash memory, 50 KB SRAM, and extensive peripherals. TYWE3S is an RTOS that integrates all function libraries of the Wi-Fi MAC and TCP/IP protocols. You can develop embedded Wi-Fi products as required.

What security technologies does a Wi-Fi module support?

Tuya Wi-Fi modules support the WPA and WPA2 security modes.

Last updated