logo elektroda
logo elektroda
X
logo elektroda

YOMOGI YO-WIFI-C02 Smart Curtain with RF remote - Working progress

iz1gww 87 3
ADVERTISEMENT
  • Helpful post
    #1 21637839
    iz1gww
    Level 2  
    Hi guys, i disassembled a smart curtain switch mod. YO-WIFI-C02 branded YOMOGI

    YOMOGI YO-WIFI-C02 Smart Curtain with RF remote - Working progressYOMOGI YO-WIFI-C02 Smart Curtain with RF remote - Working progress

    inside


    YOMOGI YO-WIFI-C02 Smart Curtain with RF remote - Working progress Dismantled YO-WIFI-C02 YOMOGI smart curtain switch with visible PCB and W701 module.

    inside i have found a W701 mcu, searching info online i understand that is a RTL8720 clone (or compatible)


    Close-up of the YO-WIFI-C02 smart curtain switch PCB by YOMOGI, showing components such as the W701 chip and an RF receiver. YO-WIFI-C02 YOMOGI smart curtain switch PCB with W701 module, connectors, and RF receiver visible.


    Close-up of the YO-WIFI-C02 module PCB by YOMOGI showing the W701 chip and a custom RF receiver.


    than there is a custom rf receiver for remote(i suppose on 2.4Ghz band due to the 16Mhz quartz)

    Close-up of YO-WIFI-C02 YOMOGI smart switch PCB showing key components, including W701 MCU and RF receiver with 16 MHz crystal.

    YO-WIFI-C02 YOMOGI curtain switch PCB with visible W701 chip and custom RF receiver socket.

    and relative remote

    Close-up of the YO-WIFI-C02 smart switch PCB by YOMOGI with visible W701 MCU and electronic components.

    with the same custom IC

    Photo of the inside of a YO-WIFI-C02 YOMOGI smart curtain switch, showing the exposed PCB and the W701 microcontroller.

    Disassembled YO-WIFI-C02 smart curtain switch by YOMOGI with visible circuit board and electronic components.

    for programming i use the classic tools and gear : usb to ttl adapter with 3.3v supply and amebaZII PGTool 1.2.47, with OpenRTL87X0C_1.18.155.bin

    connected in this way :

    W701 Module         USB-TTL Module
    VCC                                3.3v
    GND                               GND
    A15       TX
    A16                                 RX
    A0                                   3.3v           (for bootloader mode)
    RXD                                3.3v           (for bootloader mode)

    all flashing procedure completed correctly and i can proceed with configuration



    PIN A07           -             Button 2  Open
    PIN A11           -             LED
    PIN A12           -             Button Close
    PIN A14           -             Data from remote receiver
    PIN A18           -             Relays 1  Close
    PIN A19           -             Relays 2 Open

    here my autoexec script

    Code: Text
    Log in, to see the code

    at this point i have a smart curtain module basically working, but without remote function.... i enable the driver tuyaMCU and i see that the custom mcu use a protocol different from the classic tuyaMCU, it use only 3 byte at all and the 2 header byte are 55 A5 insteath classic 55 AA so the tuyaMCU driver can't work... i collect the codes of all remote's function and they are

    Code: Text
    Log in, to see the code



    now i'm stuck, i don't find any function to use with the script for manage this code, i don't find a function that permit to read the bytes read by a gpio...
    any suggestion?

    thank you very mutch
    Alex
  • ADVERTISEMENT
  • #2 21638242
    divadiow
    Level 35  
    interesting. not seen an AmebaZ2 on that format module before.

    Did you capture boot log from TX?
  • ADVERTISEMENT
  • #3 21638541
    iz1gww
    Level 2  
    >>21638242

    Hi, divadiow, I'm sorry not... I have done the dump but the utility didn't recognize any Tuya info about pin and functions...
    Bye
    Alex
  • #4 21638583
    divadiow
    Level 35  
    boot log from your backup:

    Code: Text
    Log in, to see the code
ADVERTISEMENT