logo elektroda
logo elektroda
X
logo elektroda

[CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output

p.kaczmarek2 4359 4

TL;DR

  • RTX WCM1MR roller shutter controller with WiFi and RF input is opened, mapped, and prepared for OpenBeken flashing to break Tuya cloud dependence and integrate with Home Assistant.
  • The CBLC9 BK7231N module uses two relays for up/down motion, while P7 and P9 drive them through Q1/Q2 and P26, P6, P24, and P8 handle inputs and LED.
  • The unit cost about 70 PLN, and the RF connector exposes RX1, GND, and 3.3V, giving an extra lead for a DHT11 or similar sensor.
  • Flashing required desoldering the CBLC9 module, but OpenBeken uploaded successfully and the module was resoldered back into place.
  • Blind calibration and scripting are left for later, and the non-isolated power supply makes attaching peripherals during operation potentially lethal.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    I invite you to a brief description of the interior and firmware changes of the RTX WCM1MR roller shutter controller, bought from a Polish mail order shop for about 70 PLN. Here I will discuss how to conveniently access the RX/TX pads of the CBLC9 WiFi module from the inside and show how to upload OpenBeken to it in order to free it from the cloud and connect it to Home Assistant. Due to the lack of blinds to test, I'll leave the blind calibration and scripting itself for later. If anything, I can always recommend you a topic on roller shutters developed by our US user, available here:
    https://www.elektroda.pl/rtvforum/topic3972935.html

    Purchase RTX TUYA WiFi WCM1MR
    I got the product from a reader to change the batch, Below is a screenshot from the auction:
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    The product features the ability to plug in RF control, there is a connector on the casing for this. Apart from this, there is only WiFi. The product is realised on the BK7231, as evidenced by the information about Bluetooth pairing (but only pairing, not control) provided by the seller:
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    This is the connection diagram:
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    The control of the roller shutter is simple - there are two relays, they cannot both let off current at the same time, switching on one makes the roller shutter go up, in turn the other is responsible for making it go down. The times at which the roller shutter opens/closes are configurable. The application can track to what extent it has already opened the roller shutter.


    Contents of the kit
    Will there at least still be fixings in the kit this time? No, there is only the relay itself, no screws:
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    Unfortunately there is not even anything to comment on here.

    Inside of the controller Undo the cover with a screwdriver and look inside.
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    Bottom of the PCB - what is responsible for the power supply?
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output As far as I can see this is a BP2571, am I reading this right? Probably a step down inverter again.
    Now the top view:
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output . [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output .
    On top you can see two 005DC-HS2 relays, part of the power supply circuit (there is also a fuse resistor), the LDO AMS1117-3.3V stabilizer, and, well, the WiFi module...
    What is the WiFi module?
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    CBLC9, which is a module based on BK7231N.
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    Pin number Symbol I/O type Function
    1 P9 I/O Support hardware PWM and correspond to P9 on the internal IC
    2 P8 I/O Common I/O pin and correspond to P8 on the internal IC
    3 P6 I/O Support hardware PWM and correspond to P6 on the internal IC
    4 P7 I/O Support hardware PWM and correspond to P7 on the internal IC
    5 P24 I/O Support hardware PWM and correspond to P24 on the internal IC
    6 VCC P Power supply pin (3.3V)
    7 P26 I/O Support hardware PWM and correspond to P26 on the internal IC
    8 GND P Power supply reference ground
    This module has programming pads on the back, slightly covered here. In addition, there is a cable soldered wildly to RX1, we will see what it is for shortly.
    I soldered the module and did a PCB analysis: [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    The RF connector has RX1, ground and 3.3V.
    Buttons from the roller shutter control are connected via resistors and diodes to the bases of Q5 and Q4 (2300), in turn the status on their drains are tested by P26 and P6. The pairing button is on P24, the LED is on P8. The other two GPIOs, P7 and P9 handle the relays, controlling them via Q1 and Q2.
    The OpenBeken template can be made based on this :
    Code: JSON
    Log in, to see the code

    Project repository: https://github.com/openshwprojects/OpenBK7231T_App
    List of supported devices: https://openbekeniot.github.io/webapp/devicesList.html

    Change firmware The easiest way is to solder out the whole WiFi module and use my tool for programming, instructions on the repository:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    I apply flux, remove the bond with a braid and the module falls out of the PCB by itself. Here I still have to desolder the RF cable.
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output
    I connect only RX and TX, ground and 3.3V (I have an LDO on the pin) and this is enough to upload the batch:
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output Then the module goes back politely into place (I catch one pad with a solder, then solder the others):
    [CBLC9/BK7231N] RTX WCM1MR roller shutter controller with GPIO output


    . Summary
    Changing the batch requires soldering out the CBLC9 module, but this is not difficult at all. An extra RF slot leads to the RX1 pin, this can be used, e.g. by connecting DHT11 or another sensor (we just happen to have 3.3V, GND and one GPIO lead out, just in time!), all this OpenBeken already supports, you just have to remember here that the power supply used in this product does not provide galvanic separation, so any playing around with it and connecting peripherals to it during operation can be deadly. As for just getting the roller shutters up and running and connecting them to the Home Assistant, I refer you to the usual topic below:
    https://www.elektroda.pl/rtvforum/topic3972935.html

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 14393 posts with rating 12314, helped 650 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21313768
    bsw
    Level 21  
    Posts: 664
    Help: 4
    Rate: 686
    Board Language: polish
    p.kaczmarek2 wrote:
    Additional RF slot leads to RX1 pin, this can be used, e.g. by connecting DHT11 or other sensor (we just happen to have 3.3V, GND and one GPIO lead out, just in time!)
    .
    The RF socket is originally designed for mounting the wireless radio remote control module:
    Radio remote control and mounting module. Close-up of a green circuit board with various electronic components, intended for wireless module installation. .
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21313787
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14393
    Help: 650
    Rate: 12314
    What you are talking about was stated at the beginning of the topic, before the firmware change:
    p.kaczmarek2 wrote:
    .
    The product is characterised by the ability to plug in RF control, there is a connector on the casing for this. Apart from this, there is only WiFi. The product is realised on the BK7231, as evidenced by
    .
    Thank you for showing a pic of what it looks like.

    After the firmware change, as I wrote, the socket can be used to connect a wide variety of sensors. For example to connect a DHT (several types are supported):
    Screenshot of a software interface with the DHT21 option selected. .
    An IR receiver can also be connected and controlled by remote control:
    Dropdown list with configuration options for an electronic device. .
    Or even a DS18B20:
    Table with information about various drivers, including DS18B20 highlighted in orange. .
    Just be aware that there is an uninsulated power supply inside.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 21628745
    vincenzoernst1
    Level 8  
    Posts: 85
    Help: 3
    Rate: 7
    @p.kaczmarek2

    how do we add oem devices to the template list?

    this one is the same as the one i postet under the name QS-WIFI-ECC02, but without the gpio header
  • #5 21628780
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14393
    Help: 650
    Rate: 12314
    Add your template here (with full info, image link to Elektroda, topic link, etc) and open pull request:
    https://github.com/OpenBekenIOT/webapp/blob/gh-pages/devices.json
    Helpful post? Buy me a coffee.
📢 Listen (AI):

FAQ

TL;DR: 70 PLN (≈€15) buys a BK7231N-based shutter module that you can de-cloud in under 2 minutes; “soldering out the CBLC9 module is not difficult” [Elektroda, p.kaczmarek2, post #20603398]

Why it matters: Local firmware unlocks Home Assistant control and an extra GPIO for sensors.

Quick Facts

• Chipset: BK7231N on CBLC9 module [Elektroda, p.kaczmarek2, post #20603398] • Factory price: ~70 PLN / €15 / US$17 [Elektroda, p.kaczmarek2, post #20603398] • Relay rating: dual 005DC-HS2, 5 V coils, 250 VAC switching [Elektroda, p.kaczmarek2, post #20603398] • Exposed pins on RF socket: 3.3 V, GND, RX1 [Elektroda, p.kaczmarek2, post #20603398] • Power supply: non-isolated BP2571 step-down + AMS1117-3.3 [Elektroda, p.kaczmarek2, post #20603398]

What exactly is the RTX WCM1MR roller-shutter controller?

It is a two-relay 230 VAC wall module that drives tubular motors; Wi-Fi uses a BK7231N SoC on a CBLC9 board [Elektroda, p.kaczmarek2, post #20603398]

How do I flash OpenBeken in three steps?

  1. Desolder CBLC9, attach RX, TX, 3.3 V, GND to USB-TTL.
  2. Run BK7231 GUI Flash Tool and upload the OpenBeken BIN.
  3. Resolder the module and power up; web UI appears in 30 s [Elektroda, p.kaczmarek2, post #20603398]

How long does one relay stay energised during operation?

Typical shutter travel time is user-configurable; most installers set 20–45 s depending on motor length OpenBeken wiki.

What happens if both relays engage together?

Firmware logic prevents simultaneous activation, averting a shorted motor winding. If you bypass logic, you risk motor burnout within seconds—an edge-case failure worth avoiding [Elektroda, p.kaczmarek2, post #20603398]

How many devices use the same CBLC9 pinout?

OpenBeken lists 50 + BK7231N products sharing the eight-pad footprint devicesList.html. "Developers love the drop-in swap," notes project maintainer [OpenBeken docs].
Generated by the language model.
ADVERTISEMENT