Hi,
I'd like to share the results of this device from AliExpress.
I took elements from similar topics, as it has the same housing as this one, and a chip very similar to this one.
For dissassembing, the 6 pads on the back can be easily removed, giving access to 6 triangle screws:
The chip is a BK7231N on a small PCB with indication YX-B3S1-VER00
I have not tried programming the chip while still soldered to main PCB. Instead I have unsoldered it and used the pinout below:
I have not been able to find where is the CEN pin, I tried the 2 pins at the opposite of VCC and GND but it didn't work. On the other hand, unplugging VCC pin for a short time did the job to put the chip in programming mode.
Initially I also used a separate 3.3V power source instead of my cheap USB to TTL adaptor to power the chip, but for unknown reasons this option brought more problems than expected, as I was not able to put the chip in programming mode with this external power source.
Nevertheless using only the power source from the USB to TTL device (using 3.3V of course) was sufficient and appropriate in my case.
The device was detected by bk7231flasher v1.1.0b as:
Now it works perfectly. Thanks to the community!
Edit - Here's the json config I used:
I'd like to share the results of this device from AliExpress.
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/9705431600_1686945840_thumb.jpg)
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/7665728100_1686944403_thumb.jpg)
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/2484719100_1686944405_thumb.jpg)
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/8122499400_1686944409_thumb.jpg)
I took elements from similar topics, as it has the same housing as this one, and a chip very similar to this one.
For dissassembing, the 6 pads on the back can be easily removed, giving access to 6 triangle screws:
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/6132232600_1686944528_thumb.jpg)
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/9645111600_1686944531_thumb.jpg)
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/7220533900_1686944534_thumb.jpg)
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/3767254500_1686944541_thumb.jpg)
The chip is a BK7231N on a small PCB with indication YX-B3S1-VER00
I have not tried programming the chip while still soldered to main PCB. Instead I have unsoldered it and used the pinout below:
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/6154767400_1686944984_thumb.jpg)
![[BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB [BK7231N] Tuya Smart Power Strip Review: 4AC + 4USB Ports, AliExpress, YX-B3S1-VER00 PCB](https://obrazki.elektroda.pl/1864513100_1686944987_thumb.jpg)
I have not been able to find where is the CEN pin, I tried the 2 pins at the opposite of VCC and GND but it didn't work. On the other hand, unplugging VCC pin for a short time did the job to put the chip in programming mode.
Initially I also used a separate 3.3V power source instead of my cheap USB to TTL adaptor to power the chip, but for unknown reasons this option brought more problems than expected, as I was not able to put the chip in programming mode with this external power source.
Nevertheless using only the power source from the USB to TTL device (using 3.3V of course) was sufficient and appropriate in my case.
The device was detected by bk7231flasher v1.1.0b as:
Device configuration, as extracted from Tuya:
- Relay (channel 3) on P14
- Relay (channel 4) on P9
- Pair/Toggle All Pin on P26
- WiFi LED on P23
- Relay (channel 2) on P8
- Relay (channel 5) on P24
- Relay (channel 1) on P7
Device seems to be using CB3S module, which is using BK7231N.
And the Tuya section starts, as usual, at 2023424
Now it works perfectly. Thanks to the community!
Edit - Here's the json config I used:
{
"vendor": "Tuya",
"bDetailed": "0",
"name": "Wi-Fi Smart Power Strip",
"model": "XS-A26",
"chip": "BK7231N",
"board": "CB3S",
"flags": "1024",
"keywords": [
"Smart Power Strip",
"USB Power Supply",
"4 Gang",
"Power line size: 1.5m",
"Input voltage: AC100-240V 50/60Hz",
"Rated current: 16A",
"Rated power: 3450W",
"USB rated power: 3.1A",
"WIFI: 2.4GHz 802.11b/g/n",
"Long* wide* high: 229*89*41mm"
],
"pins": {
"7": "Rel;1",
"8": "Rel;2",
"9": "Rel;4",
"14": "Rel;3",
"23": "WifiLED_n;0",
"24": "Rel;5",
"26": "Btn_Tgl_All;0"
},
"command": "",
"image": "https://obrazki.elektroda.pl/9705431600_1686945840.jpg",
"wiki": "https://www.elektroda.com/rtvforum/topic3984262.html"
}
Cool? Ranking DIY