Tuya TYWE1S

Contents

TYWE1S Low-Power Embedded Wi-Fi Module

Instruction Manual

1. Introduction

The TYWE1S is a sophisticated low-power embedded Wi-Fi module developed by Tuya. It integrates a highly efficient wireless RF chip (ESP8266EX) and an external flash chip, providing a complete Wi-Fi network protocol stack and extensive library functions. This module is designed to facilitate the development of embedded Wi-Fi products.

Operating on an RTOS platform, TYWE1S seamlessly integrates all necessary function libraries for Wi-Fi MAC and TCP/IP protocols, enabling flexible development of various embedded Wi-Fi applications. It features a low-power 32-bit CPU, 2-MB flash memory, 36-KB static random-access memory (SRAM), and a rich set of peripherals.

Front view of the TYWE1S Wi-Fi module, showing its model number and certifications.
Figure 1: Front view of the TYWE1S Wi-Fi module.
Back view of the TYWE1S Wi-Fi module, showing pin labels.
Figure 2: Back view of the TYWE1S Wi-Fi module.

2. Specifications

2.1. Key Features

  • Embedded low-power 32-bit CPU, capable of functioning as an application processor.
  • Clock rate support: 80 MHz and 160 MHz.
  • Working voltage: 3.0 V to 3.6 V.
  • Peripherals: 6 GPIOs, 2 Universal Asynchronous Receiver/Transmitters (UART), and 1 Analog-to-Digital Converter (ADC).
  • Wi-Fi Connectivity:
    • Standards: 802.11 b/g/n.
    • Frequency: Channels 1 to 14 at 2.4 GHz (channels 1 to 11 for US/CA, channels 1 to 13 for EU/CN).
    • Security: Supports WEP/WPA/WPA2/WPA2 PSK (AES) security modes.
    • Output Power: Up to +20 dBm in 802.11b mode.
    • Working Modes: Supports STA/AP/STA+AP modes.
    • Configuration: Supports SmartConfig functions for Android and iOS devices.
  • Power Consumption: Less than 0.1 mW in standby state (DTIM3).
  • Antenna: Onboard PCB antenna with 3 dBi gain and an internal IPEX connector.
  • Certifications: CE and FCC certified.
  • Working Temperature: -20℃ to 85℃.

2.2. Physical Dimensions

The TYWE1S module features two rows of pins with a 1.5 mm pin spacing, with 9 pins per row. The module's dimensions are 18±0.35 mm (Width) × 23.5±0.35 mm (Length) × 3.1±0.15 mm (Height). The PCB thickness is 1.0 mm±0.1 mm.

Diagram showing the dimensions of the TYWE1S module: 18mm width and 23.5mm length.
Figure 3: TYWE1S Module Dimensions.

2.3. General Properties

PropertyValue
TypeModule
OriginMainland China
ConditionNew
Package Weight0.05 kg
Package Dimensions (L x W x H)5 cm x 2 cm x 2 cm

3. Module Interfaces and Pinout

The TYWE1S module provides various pins for power, communication, and general-purpose input/output (GPIO). Understanding the pinout is crucial for proper integration and development.

Pinout diagram of the TYWE1S module, showing labels for each pin.
Figure 4: TYWE1S Module Pinout Diagram.

3.1. Pin Description

Pin NameDescription
GNDGround
TOUTTemperature Output (or Test Output)
RSTReset Pin
IO4General Purpose Input/Output 4
IO1General Purpose Input/Output 1
U0RXUART0 Receive Pin
IO5General Purpose Input/Output 5
VinVoltage Input
U1TXUART1 Transmit Pin
U1RXUART1 Receive Pin
3V33.3V Power Supply Output
IO14General Purpose Input/Output 14
IO12General Purpose Input/Output 12
U0TXUART0 Transmit Pin
IO0General Purpose Input/Output 0

4. Setup Instructions

To integrate and use the TYWE1S module, follow these general setup guidelines:

  1. Power Supply: Connect the module to a stable power supply within the specified working voltage range of 3.0 V to 3.6 V. Ensure proper grounding (GND).
  2. Pin Connections: Identify the necessary pins for your application (e.g., UART for communication, GPIOs for control). Solder or connect these pins securely to your host microcontroller or development board.
  3. Antenna: The module comes with an onboard PCB antenna. If an external antenna is required, use the internal IPEX connector.
  4. Firmware Development: Develop or load your application firmware onto the module. This typically involves using a compatible development environment and a programmer connected via UART or other programming interfaces.
  5. Initial Testing: After connecting, perform basic power-on and communication tests to ensure the module is functioning correctly.

5. Operating Instructions

The TYWE1S module supports various operating modes for Wi-Fi connectivity and application execution:

  • Wi-Fi Modes: The module can operate in Station (STA), Access Point (AP), or a combination of both (STA+AP) modes. Configure the desired mode through your firmware.
  • Network Provisioning: For easy network setup, the module supports SmartConfig functions, compatible with Android and iOS devices. This allows for simplified Wi-Fi credential provisioning.
  • Application Execution: Utilize the embedded 32-bit CPU, flash memory, and SRAM to run your custom applications. The RTOS platform provides a robust environment for managing tasks and resources.
  • Communication: Use the UART interfaces for serial communication with a host controller or for debugging purposes. GPIOs can be configured for various digital input/output functions.

6. Maintenance

To ensure the longevity and reliable operation of your TYWE1S module, consider the following maintenance tips:

  • Environmental Conditions: Operate the module within the specified temperature range of -20℃ to 85℃. Avoid exposure to extreme humidity, dust, or corrosive environments.
  • Handling: Always handle the module with care, preferably using anti-static precautions, to prevent electrostatic discharge (ESD) damage.
  • Power Stability: Ensure a clean and stable power supply. Fluctuations or incorrect voltage can damage the module.
  • Firmware Updates: Periodically check for and apply any available firmware updates from Tuya or your solution provider to benefit from performance improvements and security patches.

7. Troubleshooting

If you encounter issues with your TYWE1S module, refer to the following troubleshooting steps:

  • Module Not Powering On:
    • Verify the power supply voltage is between 3.0 V and 3.6 V.
    • Check all power connections (Vin, 3V3, GND) for proper contact and polarity.
  • Wi-Fi Connectivity Issues:
    • Ensure the Wi-Fi network (SSID and password) is correct and within range.
    • Confirm the module is configured for the correct Wi-Fi channel (1-14, depending on region).
    • If using SmartConfig, ensure your mobile device is on the same 2.4 GHz network.
    • Check for potential interference from other 2.4 GHz devices.
  • Communication Errors (UART):
    • Verify UART connections (U0TX, U0RX, U1TX, U1RX) are correctly wired to your host controller.
    • Check baud rates and other serial port settings match between the module and host.
  • Module Unresponsive:
    • Try resetting the module using the RST pin.
    • Re-flash the firmware if you suspect corruption or an incorrect application load.
    • Ensure sufficient power is provided, especially during high-power operations like Wi-Fi transmission.

8. User Tips

  • Soldering: When soldering the module, ensure precise and clean connections to avoid shorts or poor contact. Use appropriate soldering temperatures and techniques.
  • Development Resources: For advanced development and integration, refer to the official Tuya development documentation and SDKs for the ESP8266EX chip.
  • Power Consumption: Optimize your application's power usage by utilizing the module's low-power modes, especially in battery-operated devices.
  • Antenna Placement: For optimal Wi-Fi performance, ensure the module's antenna area is clear of obstructions and metallic enclosures.

9. Warranty and Support

For specific warranty information and technical support, please contact your point of purchase or the manufacturer directly. Keep your purchase records handy when seeking support.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.