logo elektroda
logo elektroda
X
logo elektroda

Aubess 2gang Mini Smart Switch BK7231N /CB2S

omelchuk890 4959 3
ADVERTISEMENT
  • A regular device from Aliexpress, bought on sale in November, decided to redo it now.
    For firmware, I use the ESP-01 firmware module with a piece of soft cable from the keyboard.

    Installing python, for W7 the latest version is 3.8.10
    https://www.python.org/downloads/windows/
    When installing, note Add python 3.5 to PATH.

    Next, go to https://github.com/OpenBekenIOT/hid_download_py
    Green "CODE" button, Download ZIP.
    I moved the archive to the root of the system disk I have, unpacked it, renamed it to hid_download_py, deleting the text "-master".
    There should be no attachments, i.e. by opening C:\hid_download_py there should be files and several folders at once.

    We go to the address https://github.com/openshwprojects/OpenBK7231T_App/releases
    Download the file BK7231N -> UART Flash-> OpenBK7231N_QIO_x.xx.xx.bin
    I created the folder BK7231 in the root of disk E, transferred the downloaded file to it.

    It remains to flash.
    Running the command line cmd.exe
    Going to the root of the disk: cd\
    I go to the directory with the program: cd hid_download_py

    By this point, it is already necessary to know which port number the TTL-USB converter has.
    I read the firmware, I have com-port35, with the command: python uartprogram backup_2mb_default_02_switch_2ch.bin -d com35 -r -l 0x200000
    After pressing "enter", I briefly connect CEN and GND, the firmware is read and the file specified in the command is created in the hid_download_py folder.
    The connection of CEN to gnd should be short-lived, casual. It may take several workouts and still won't work the first time.

    After reading, we load the necessary file with the command: python uartprogram E:\BK7231\OpenBK7231N_QIO_1.15.149.bin --unprotect -d com35 -w --startaddr 0x0
    where E:\BK7231\OpenBK7231N_QIO_1.15.149.bin the path to the file and its name.
    the procedure with CEN is the same as when reading.
    Pin assignment
    P6 - Lout1
    P7 - Lout2
    P10(RX) - S1
    P11(TX) - S2
    P24 - led
    P26 - button

    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Aubess 2gang Mini Smart Switch BK7231N /CB2S

    Cool? Ranking DIY
    About Author
    omelchuk890
    Level 11  
    Offline 
    omelchuk890 wrote 67 posts with rating 9. Been with us since 2022 year.
  • ADVERTISEMENT
  • #2 20325239
    p.kaczmarek2
    Moderator Smart Home
    The WiFI module here is interesting. I can see label: FL_M99_V3 . Is it the same as WB2S?
    Aubess 2gang Mini Smart Switch BK7231N /CB2S
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20325250
    omelchuk890
    Level 11  
    there is a marking on the back of the module cb2s, BK7231N
  • #4 20325260
    p.kaczmarek2
    Moderator Smart Home
    Ah, sorry, so it's N and not T. That's good to know. Oh indeed, I can see a small CB2S marking on the back of the module. Hmm. That's interesting.

    btw FL_M99_V1 was supposedly BL2028N :
    Aubess 2gang Mini Smart Switch BK7231N /CB2S

    Related: https://www.elektroda.com/rtvforum/topic3930515.html

    You are finding very interesting things, @omelchuk890 . It gives us a glance at the Tuya modules history.
    Helpful post? Buy me a coffee.
ADVERTISEMENT