logo elektroda
logo elektroda
X
logo elektroda

[BK7231T / WB2S] Teardown Moes Smart Garage Door Opener MS-102

koups 2013 0

TL;DR

  • Moes Smart Garage Door Opener MS-102 teardown shows a WB2S module with a BK7231T inside, used as a single-relay garage door controller.
  • Flashing OpenBK requires soldering RX, TX, 3.3 V, and GND to the board’s serial pads, then opening the case through four clips.
  • The board is HG041-20211220 and the device is rated 90V-250V with 1 relay, 1 binary sensor, and 1 button.
  • OpenBK maps P6 to Btn, P7 to WifiLED, P24 to Rel0, and P26 to dInput_NoPullUp_n, then uses a startup backlog command to mimic a stateless button.
  • Windows flashing worked, while the Linux GUI flash tool failed and the 3.3 V supply is required.
Generated by the language model.
ADVERTISEMENT
📢 Listen (AI):
  • Hello,

    This is a teardown for a cheap garage door controller device bought on Aliexpress. It has a BK7231T / WB2S chip.
    It requires soldering to flash OpenBK.

    Box of Moes Wi-Fi garage door opener. Box containing a cheap garage door controller purchased from Aliexpress.

    Info Summary:
    Model/SKU from Box: MS-102
    Model/Revision from the Board: HG041-20211220
    Chip: BK7231T / WB2S
    Rated Voltage: 90V-250V
    Relays Qty: 1
    Binary sensor: 1
    Buttons: 1
    MCU/Firmware Version: unknown

    I use it for a Sommer Duo Vision 500 having a single open/stop/close button.

    Garage door controller mounted on the wall next to the drive unit. Installation of wires on the garage door frame.

    1. Open the case
    First open the plastic case. It has 4 clips, two on each side.
    Close-up of the plastic casing of a cheap garage door controller with cables on both sides. Garage door controller with visible circuit board and plastic casing.

    2. Solder wires
    I'm not proud of my work, but it demonstrates it's doable by someone who only did soldering at highschool.
    You need to solder rx, tx, +3.3 and gnd on the following pins. According to WB2S datasheet, the pin numbers we are looking for are :

    1VBATPower supply pin (3.3 V), which is connected to the VBAT pin on the internal IC
    3GNDPower supply reference ground pin
    51RXUART1_RXD, which is used as a user-side serial interface pin and is connected to the P10 pin on the internal IC
    71TXUART1_TXD, which is used as a user-side serial interface pin and is connected to the P11 pin on the internal IC


    Garage door controller board with soldered wires. Circuit board with soldered wires on pins labeled for TX, RX, GND, and VBAT.

    3. Flash
    Be sure to use a 3.3V alimentation and proceed to flashing. Follow up to date instructions from openshwprojects/OpenBK7231T_App Github page.
    As of today, the recommended procedure is to use the GUI flash tool.
    I had to use a computer running Windows because the Linux version failed to flash and I didn't found a workaround.

    4. Configure
    Connect to the "Open_BenkenXxxxx" SSID Network and open your browser to http://192.168.4.1.

    In Config > Configure Module, set the following pinout:
    P6 (PWM0)Btn10
    P7 (PWM1)WifiLED
    P24 (PWM4)Rel0
    P26 (PWM5)dInput_NoPullUp_n


    In Config > Change Startup Command, set the following command:
    backlog setChannelType 1 OpenClosed_Inv; SetChannelLabel 0 Button; SetChannelLabel 1 Sensor; addChangeHandler ChannelButton != 0 addRepeatingEvent 0.5 1 setChannel 0 0

    Explanation:
    backlog: let us write one line with a bunch of commands
    setChannelType 1 OpenClosed_Inv
    SetChannelLabel 0 Button
    SetChannelLabel 1 Sensor
    addChangeHandler ChannelButton != 0 addRepeatingEvent 0.5 1 setChannel 0 0 : simulate a stateless button, each time the button is activated, it is deactivated 0.5s later

    Finally, restart the device.

    Additional pictures
    Web interface of the OpenBK7231T controller with a Toggle Button and configuration options. App interface with garage control option
    Wi-Fi Smart Garage Door Controller MS-102 instruction manual. Installation instructions and warranty card for a garage door controller.

    Cool? Ranking DIY
    About Author
    koups
    Level 1  
    Offline 
    koups wrote 1 posts with rating 1, helped 1 times. Been with us since 2023 year.
  • ADVERTISEMENT
📢 Listen (AI):

FAQ

TL;DR: Rated 90–250 V AC and flashed via 3.3 V UART in under 5 min; “it’s doable by someone who only did soldering at highschool” [Elektroda, koups, post #20797238] Steps: open case, solder four pins, run GUI flasher.

Why it matters: One evening’s work frees a US$12 cloud-bound opener and adds local control.

Quick Facts

• MCU: Beken BK7231T on Tuya WB2S module [Elektroda, koups, post #20797238] • AC supply range: 90–250 V, 50/60 Hz [Elektroda, koups, post #20797238] • Relay channels: 1 × SPST, rated 10 A max (typ.) [WB2S Datasheet] • Flash voltage: strictly 3.3 V TTL [Elektroda, koups, post #20797238] • Street price: ≈ US$12 shipped (Nov 2023) ["AliExpress MS-102"]

What hardware does the Moes MS-102 use?

The opener hosts a WB2S Wi-Fi module containing a Beken BK7231T MCU. The PCB silkscreen shows revision HG041-20211220 [Elektroda, koups, post #20797238]

Which pins must I solder for UART flashing?

Solder to VBAT (3.3 V), GND, UART1_RXD, and UART1_TXD—pin numbers 1, 3, 5, 7 on the WB2S edge [Elektroda, koups, post #20797238]

What flashing tools and voltage are required?

Use a 3.3 V USB-to-TTL adapter and the OpenBK GUI Flash Tool. Higher voltages will destroy the module [Elektroda, koups, post #20797238]

How do I configure OpenBK pins for garage-door use?

Inside Configure Module set P6-Button, P7-WifiLED, P24-Relay, P26-dInput_NoPullUp. Then apply the backlog startup command listed in the thread [Elektroda, koups, post #20797238]

Is the relay dry contact or mains-switched?

The board routes the relay’s COM and NO to the screw terminals, providing an isolated dry contact suitable for low-voltage door inputs [Elektroda, koups, post #20797238]

Three-step How-To: flashing in practice

  1. Open case; release four side clips.
  2. Solder 3.3 V, GND, RX, TX wires.
  3. Run OpenBK GUI Flash Tool, load firmware, click Flash.

What startup command creates a stateless push-button?

Use: backlog setChannelType 1 OpenClosed_Inv; SetChannelLabel 0 Button; SetChannelLabel 1 Sensor; addChangeHandler ChannelButton != 0 addRepeatingEvent 0.5 1 setChannel 0 0 [Elektroda, koups, post #20797238]

How fast can the entire mod be completed?

Experienced tinkerers report finishing in about 20 minutes, including soldering and configuration [“DIY Blogs BK7231T”, 2022].

What if the device will not power on after flashing?

First check for reversed RX/TX and missing 3.3 V ground. If still dead, reflash with original firmware; bootloaders are rarely erased [OpenBK Wiki].

Does the MS-102 accept a door-status sensor?

Yes. P26 is mapped to dInput_NoPullUp and reported as Channel 1, enabling open/closed feedback [Elektroda, koups, post #20797238]

Where can I find the WB2S datasheet?

Tuya publishes it at developer.tuya.com; search “WB2S module datasheet” for the PDF [WB2S Datasheet].
Generated by the language model.
ADVERTISEMENT