AliExpress Link: https://www.aliexpress.com/item/1005001432382791.html
The switch is actually based on two separate (and identical) modules to support up to 6 gang.
Chipset is BK7231N, and can be flashed via UART without disconnecting and/or resoldering anything.
The logic board (containing the BK7231N) is connected to the relays board via an 8-pin socket (and some glue on the corners).
On the back side of the logic board, there are connection points for 3.3v, GND, TX & RX.
Pin configuration for each of the modules:
The switch is actually based on two separate (and identical) modules to support up to 6 gang.
Chipset is BK7231N, and can be flashed via UART without disconnecting and/or resoldering anything.
The logic board (containing the BK7231N) is connected to the relays board via an 8-pin socket (and some glue on the corners).
On the back side of the logic board, there are connection points for 3.3v, GND, TX & RX.
Pin configuration for each of the modules:
| Pin | Type | Channel |
| 6 | Btn | 1 |
| 7 | Rel | 1 |
| 8 | LED | 1 |
| 14 | Rel | 2 |
| 16 | Btn | 2 |
| 26 | LED | 2 |
| 28 | WifiLED | - |