Teardown of this DIN-rail energy meter from AliExpress.
It is branded EARU RDCBC/TJ-2P. It looks cosmetically identical to one I bought previously branded VKSELE VKS-2P, but the mainboard and wifi module are completely different. This one has a CBU module, which appears to be an BK7231N, where the VKS-2P was a WB3S (BK7231T).
It's very easy to access; only 2 screws in the back and it just opens right up.
Inside, the mainboard is secured in place with with 2 more small screws, one of them is hidden behind a capacitor which is folded down.
There's a big relay, and a CT for energy measurements. There are no Tuya chips.
Other side of the board with the button:
Just like the older device, the CPU board is positioned on a soldered-down riser from the main board, and there is a small 8-pin chip deep under there which I can't see, with pins leading directly to the CPU. My guess is still that it's probably BL0937.
I haven't attempted flashing yet, I haven't seen mention of this CBU in other places, maybe it's fairly new?
I'm assuming it's a BK7231N, and I'll try to follow the procedure for that chip.
I tested the pins connecting the riser to the main board with the continuity meter, and it seems roughly the same pin layout as the VKS-2P I dismantled earlier.
Added after 1 [hours] 42 [minutes]:
I've flashed using the command:
On the first time while it was waiting for connection, I powered on the chip and it continued waiting until it timed out.
On the second try, I ran the program and powered on the device and it spotted it immediately and flashed the software.
I'm trying to configure the device now, but it's not at all like the VKS-2P I had previously.
It seemed the VKS-2P had BL0937 hidden under the wifi board, but I can see on this new model that there is also a chip hidden under the wifi board, but it has 10 pins rather than the 8 on the previous version (BL0937 has 8 pins). So this is something else.
Using a meter I could trace that these pins breakout to the mainboard: P9, P16, P24, P26, P28, TX1, RX1
I found the LED seems to be connected to P28, and button is connected to P26, red led is P9 (it could be power led or wifi led). P24 and P16 toggle the relay; to change state, when one is high, the other must be low, and vice versa.
That leaves no GPIO for the meter, so that must be what TX/RX are for, and it does seems to be a BL0942 chip.
I configured the device like this, which closely matches factory behaviour:
The energy meter is not correct out-of-the-box, and apparently I have to calibrate, which I haven't done yet.
![[BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter [BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter](https://obrazki.elektroda.pl/2514279200_1670499417_thumb.jpg)
It is branded EARU RDCBC/TJ-2P. It looks cosmetically identical to one I bought previously branded VKSELE VKS-2P, but the mainboard and wifi module are completely different. This one has a CBU module, which appears to be an BK7231N, where the VKS-2P was a WB3S (BK7231T).
It's very easy to access; only 2 screws in the back and it just opens right up.
![[BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter [BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter](https://obrazki.elektroda.pl/8047308600_1670499522_thumb.jpg)
Inside, the mainboard is secured in place with with 2 more small screws, one of them is hidden behind a capacitor which is folded down.
There's a big relay, and a CT for energy measurements. There are no Tuya chips.
![[BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter [BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter](https://obrazki.elektroda.pl/2338942100_1670499731_thumb.jpg)
Other side of the board with the button:
![[BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter [BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter](https://obrazki.elektroda.pl/9411967100_1670499970_thumb.jpg)
Just like the older device, the CPU board is positioned on a soldered-down riser from the main board, and there is a small 8-pin chip deep under there which I can't see, with pins leading directly to the CPU. My guess is still that it's probably BL0937.
![[BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter [BK7231N - CBU] EARU RDCBC/TJ-2P DIN-rail relay/energy meter](https://obrazki.elektroda.pl/6332166600_1670500038_thumb.jpg)
I haven't attempted flashing yet, I haven't seen mention of this CBU in other places, maybe it's fairly new?
I'm assuming it's a BK7231N, and I'll try to follow the procedure for that chip.
I tested the pins connecting the riser to the main board with the continuity meter, and it seems roughly the same pin layout as the VKS-2P I dismantled earlier.
Added after 1 [hours] 42 [minutes]:
I've flashed using the command:
python uartprogram ./OpenBK7231N_QIO_1.15.152.bin --unprotect -d com7 -w --startaddr 0x0
On the first time while it was waiting for connection, I powered on the chip and it continued waiting until it timed out.
On the second try, I ran the program and powered on the device and it spotted it immediately and flashed the software.
I'm trying to configure the device now, but it's not at all like the VKS-2P I had previously.
It seemed the VKS-2P had BL0937 hidden under the wifi board, but I can see on this new model that there is also a chip hidden under the wifi board, but it has 10 pins rather than the 8 on the previous version (BL0937 has 8 pins). So this is something else.
Using a meter I could trace that these pins breakout to the mainboard: P9, P16, P24, P26, P28, TX1, RX1
I found the LED seems to be connected to P28, and button is connected to P26, red led is P9 (it could be power led or wifi led). P24 and P16 toggle the relay; to change state, when one is high, the other must be low, and vice versa.
That leaves no GPIO for the meter, so that must be what TX/RX are for, and it does seems to be a BL0942 chip.
I configured the device like this, which closely matches factory behaviour:
P9 AlwaysHigh / WifiLED (if you want the red led to be a power light or a wifi indicator)
P16 Rel_n
P24 Rel
P26 Btn
P28 LED
startDriver BL0942
Also to match default firmware:
+Flag 6
Startup state: -1
The energy meter is not correct out-of-the-box, and apparently I have to calibrate, which I haven't done yet.
Cool? Ranking DIY