logo elektroda
logo elektroda
X
logo elektroda

[CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change

p.kaczmarek2 1338 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    Some time ago I showed how tightly Tuya packs two relays using the example of the AVATTO WSM16-W2 after-box module for £56. Here I will show how Tuya "repainted" this product as a roller shutter controller, i.e. the interior will be similar, but the function quite different....

    Purchase SB478/QS-WIFI-ECC02 .
    Here, the price is almost identical to the lighting control version. This is a plus, the manufacturer does not artificially inflate the price for the roller shutter version. The marking QS-WIFI-ECC02 is visible in the picture:
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    What we get in practice:
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    No screws included this time. It's time to look inside, the tests with the Tuya application I skip because I've done many times.
    Instructions:
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .

    Interior of SB478/QS-WIFI-ECC02 .
    The interior is similar, but not identical, to that of the AVATTO WSM16-W2 , I recommend you compare the photos for yourself.
    The power supply is based on the KP15051SP:
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    I have also seen it in a Modemix product:
    [BK7231N/CBU] Modemix MOD003 dual WiFi light controller .
    It generates 5V for the relays, separately on the board is a 3.3V LDO for the WiFI modulus.
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    The whole system is based on the CB3S WiFi module, the BK7231N.
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    Cleverly packed relays reduce the height of the module:
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .


    Changing the SB478/QS-WIFI-ECC02 batch .
    Upload OpenBeken , according to the flasher instructions:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    We solder the power supply and the TX and RX:
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    We can either solder the power supply to the AMS1117-3.3V output (check its leads in the datasheet note) if we have 3.3V, and if we want to supply from 5V, we solder to the AMS1117-3.3V input, so the WiFi module gets 3.3V anyway.
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    My flasher correctly detects the Tuya configuration:
    Code: JSON
    Log in, to see the code
    .
    Verbal description:
    Device seems to be using CB3S module, which is BK7231N chip.
    - Relay (channel 1) on P24
    - Relay (channel 3) on P6
    - WiFi LED on P9
    - Button (channel 1) on P8
    - Button (channel 3) on P7
    - Pair/Toggle All Pin on P26
    
    .
    OBK template:
    Code: JSON
    Log in, to see the code
    .
    Depending on how you want to use this product, further configuration may be required. The configuration of the curtains is described in other forum topics, for example:
    Teardown of a Smart Life Curtain (Shutter) switch, Flashing, Configuring and setting up with HA .

    Summary
    The product is quite similar to a simple two relay controller because it just basically is one - it's the batch that does most of the work. Changing the firmware is straightforward, there are no problems accessing the RX/TX, and my flasher decodes the Tuya configuration correctly, so we momentarily learn the GPIO roles. The only thing left is to configure the blinds, but about that another time. If anything, you can refer to other users' elaborations, as I haven't run the blinds myself yet.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 12478 posts with rating 10331, helped 586 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21237504
    bsw
    Level 21  
    Let me link to the topic. When it comes to IoT I'm a "layman" although I'm catching up fast.... unfortunately. Unfortunately because I have chosen the Tuya subsystem. And while it is ok with simple switches - I was even positively surprised - the roller shutter controller disappointed me. Roller shutters in general are a river subject. To begin with, it's a question of choosing a specific controller, and there are plenty of them. It is a pity that the retailers do not publish "disassembled pictures". - The choice would be more interesting :-) . For example, the question of connection - there is no standard and the description is not always clear - here examples (from the internet):

    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .

    Apart from the leads, you also need to be careful how you connect the buttons - in some controllers to phase and in others to neutral. A separate issue is what type of pushbutton the controller theoretically supports: There are monostable and bistable switches. Sometimes this can be changed in the settings and sometimes not:

    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .

    Unfortunately, on my unit, the button setting does not work - i.e. both mono and bistable work so that you have to hold the 'bell' button the whole time the roller shutter is moving.... Photo of the inside of my module:

    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .
    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change

    Relays look solid - big. Worse with the WiFi coverage, which is much worse than the IoT switch placed in the same location. It's all clear when you look at the processor and its antenna (BTW: What's the processor? The QR code reads "ZKLE18SY05988" but I couldn't find anything about it...)

    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .

    Why did I decide on this particular model? In addition to the 5A relays, I wanted a three-pin socket marked "RF", which allows a radio receiver to be attached and controlled by a separate remote control:

    [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change .

    The remote control works properly i.e. just one click and the middle button is used to stop. And the physical buttons are only one shortcoming. The second problem is calibration, which cannot be done properly. Polish roller shutters have a compression option, which does not allow the correct determination of the opening percentage. Such an option is supposedly available in Supli, but for me this is mustard after dinner - I bought a Tuya. The price was the deciding factor - Zamel suppli are nightmarishly expensive. Now I know there is a cheaper alternative - reprogrammed Sonoffs....
📢 Listen (AI):
ADVERTISEMENT