![[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](https://obrazki.elektroda.pl/4025787800_1712480145_thumb.jpg)
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 [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change](https://obrazki.elektroda.pl/5723045500_1712482227_thumb.jpg)
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](https://obrazki.elektroda.pl/9510490500_1712480144_thumb.jpg)
![[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](https://obrazki.elektroda.pl/1071934900_1712480144_thumb.jpg)
![[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](https://obrazki.elektroda.pl/4025787800_1712480145_thumb.jpg)
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](https://obrazki.elektroda.pl/4801640600_1712480185_thumb.jpg)
![[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](https://obrazki.elektroda.pl/3260319100_1712480189_thumb.jpg)
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 [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change](https://obrazki.elektroda.pl/5838248600_1712480157_thumb.jpg)
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](https://obrazki.elektroda.pl/5465999300_1712480158_thumb.jpg)
![[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](https://obrazki.elektroda.pl/1152903600_1712480159_thumb.jpg)
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 [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change](https://obrazki.elektroda.pl/7322938400_1712480172_thumb.jpg)
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 [CB3S/BK7231] Small and flat roller shutter controller for SB478/QS-WIFI-ECC02 box - batch change](https://obrazki.elektroda.pl/5496617600_1712480173_thumb.jpg)
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](https://obrazki.elektroda.pl/3590625500_1712484827_thumb.jpg)
![[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](https://obrazki.elektroda.pl/7088785000_1712480173_thumb.jpg)
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](https://obrazki.elektroda.pl/6933795000_1712480181_thumb.jpg)
![[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](https://obrazki.elektroda.pl/5773019000_1712480183_thumb.jpg)
![[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](https://obrazki.elektroda.pl/5377829400_1712480236_thumb.jpg)
My flasher correctly detects the Tuya configuration:
Code: JSON
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
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.