logo elektroda
logo elektroda
X
logo elektroda

Flashing TYWE2L and TYLC5 with ESPHome or Tasmota: Is It Possible?

chatzjayawardana 498 1
ADVERTISEMENT
  • #1 21255790
    chatzjayawardana
    Level 1  
    Hi all,

    New to home automation and flashing esphome on a couple of different devices. One is a TYWE2L and the other a TYLC5.

    Is it possible to flash with esphome or tasmota?
  • ADVERTISEMENT
  • #2 21256060
    p.kaczmarek2
    Moderator Smart Home
    Both those modules are build on ESP8285, so they are easily flashable with Tasmota and so on. You will need to provide power (3.3V), connect UART and GPIO0.

    Here is more information on your modules:
    TYWE2L is a low power-consumption built-in Wi-Fi module developed by Hangzhou. It consists of a highly integrated RF chip (ESP8285) and several peripherals, with a built-in Wi-Fi network protocol stack and rich library function
    Diagram of TYWE2L and TYLC5 modules with pins and symbols.
    Pin numberSymbolI/O typeFunction
    114I/OGPIO_14, correspond to MTMS of the IC (Pin 9)
    212I/OGPIO_12, correspond to MTDI of the IC (Pin 10)
    313I/OGPIO_13, correspond to MTCK of the IC (Pin 12)
    45I/OGPIO_05, correspond to GPIO 5 of the IC (Pin 24)
    54I/OGPIO_04, correspond to GPIO 4 of the IC (Pin 16)
    6GNDPPower supply reference ground
    73V3PPower supply pin (3.3 V)

    Test pins:
    Pin numberSymbolI/O typeFunction
    -IO2I/OUART1_TXD (interface for displaying module information)
    -RSTI/OReset pin
    -IO0I/OIO0 is involved in module startup. If IO0 is disconnected, the module enters the normal running state.


    TYLC5 is a low-power embedded Wi-Fi module developed by Hangzhou Tuya Information Technology Co., Ltd. It consists of a highly integrated wireless radio frequency chip, ESP8285, and a few peripheral devices. It also has a built-in Wi-Fi network protocol stack and abundant library functions.
    Diagram of dimensions of the TYLC5 module.
    Pin No.SymbolIO TypeFunction
    1ANT-RF antenna port, spot to solder external antennas
    2GNDPPower reference point
    3GPIO12I/OGPIO_12
    4GPIO14I/OGPIO_14
    5GPIO4I/OGPIO_04
    6VCCPPower pin of the module (3.3V)

    Test pins:
    Pin No.SymbolIO TypeFunction
    -TP1RstHardware reset pin; Cannot clear the distribution network information of Wi-Fi.
    -TP 2I/OGPIO0;Testing the module production.
    -TP3U0TXDUser serial port; Information output from the serial port can be used for testing the module production.
    -TP4U0RXDUser serial port; Information output from the serial port can be used for testing the module production.
    Helpful post? Buy me a coffee.
ADVERTISEMENT