TYWE3S Module outlet general procedure circuit instructions

TYWE3S Module outlet general procedure circuit instructions

1.Typical application diagram

Diagram 1 TYWE3S Module outlet typical circuit

In Diagram 1,S1 represents WiFi module reset button, D2 represents WiFi module status indicator. The relationship between D2 status(default by Tuya) and WiFi module working status is as below.

D2 status D2 display WiFi module working status
Rapid flashing Bright extinguishing interval 250ms Quick connection mode (Smartconfig)
Slow flashing Bright extinguishing interval 1500ms Compatibility mode (AP distribution network mode)
Be bright Be bright WiFi module connects to the router
Be extinguishing Be extinguishing WiFi module is disconnected from the router

2.Design specification

  1. Module power supply consumption:3.3V/100mA, instantaneous current(5us) 450mA. Proposed supply current≥300mA.
  2. Power filter capacitor C21 & C20 should be distributed as close to VCC pin as possible.
  3. Serial port TXD & RXD defalut to serial port mode. If you need to use serial port as a common IO port, please contact with the technician.
  4. ADC pin is voltage collection pin, can’t be used as normal IO function. If idle, it needs to be suspended.
  5. IO 0 participates in the module for normal startup, when the power is on, this pin’s level needs the high level for normal startup. For the export, a pull-up resistor is recommended. For the import, the input level should be considered. If idle, it can be suspended processing.
  6. IO 2 participates in the module for normal startup, when the power is on, this pin’s level needs the high level for normal startup. The default mode is module debugging port, and data output is available on the upper current. If idle, it can be suspended processing.
  7. IO 15 participates in the module for normal startup, When the power is on, the pin’s level needs the low level for normal startup. You need to add a pull-down resistor to your pin.
  8. RST pin is module hardware reset pin, reset under the low level.
  9. Please note that there is no pull-up resistor inside of IO16 when used.
  10. LED2 pin is the relay status indicator.
  11. LED1 pin is WiFi status indicator.
  12. Reset is button, effective under the low level. The button is effective to switch the relay when pressed in short time. The button is effective to clear the WIFI configuration function when pressed in long time(5s).
  13. RELAY control coil of the relay, module IO port drive capacity is 12mA, please pay attention to the difference between module IO drive capability and the relay required drive current.
  14. The pins 9-14 need to be suspended, and other idle pins also need to be suspended.
  15. Diagram 2 the ANTENNA part is the position of antenna, which is forbidden to cover the copper & wire. It’s better to empty this area of PCB, so as not to affect the antenna performance.

3.Packaging instructions

Diagram 2 TYWE3S boundary dimension

Note:if need recommended packaging, download from Internet or contact with the business.

400-881-8611