TYWE3S Module & MCU serial communication instructions

TYWE3S Module & MCU serial communication instructions

1.Typical application diagram

Diagram 1 Module self-processing mode

Diagram 2 MCU & Module cooperative processing mode

2.Design specification

  1. Module power supply consumption:3.3V/100mA, instantaneous current(5us) 450mA. Proposed supply current≥300mA.
  2. Power filter capacitor C1 & C2 should be distributed as close to VCC pin as possible.
  3. Serial port TXD & RXD are communication ports. At startup, there will be a lot of module information data output. Default setting Baud rate: 9600, Data level: 8 bit, Stop bit: 1 bit, No check bit, No flow control.
  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. For use, it can be directly connected to MCU’s IO port without external circuit.
  9. Please note that there is no pull-up resistor inside of IO16 when used
  10. The module also needs the button and WiFi status indicator. The button is used to clear network information of the module. The indicator is used to indicate the current status of the WiFi module. If choose the module self-processing mode, refer to Diagram 1. If choose MCU & Module cooperative processing mode, refer to Diagram 2. Mode instructions can refer to “3.3 Query module work mode of MCU settings” in “Tuya general serial communication protocol”.
  11. If MCU supply voltage is 3.3V, circuit section about the signal level conversion in the reference diagram can be omitted.
  12. The pins 9-14 need to be suspended, and other idle pins also need to be suspended.
  13. Figure 3 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 3 TYWE3S boundary dimension

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

400-881-8611