Martin Jerry ST01 3-way (https://www.amazon.com/gp/product/B0852SY3WH)
It has a Beken BK7231N (CB3S) chip. I was able to flash it with ESPHome, but I have had limited success identifying what GPIO pins do what.
The only one I've identified is the button which appears to be GPIO10 (which is also one of the UART pins).
I'll provide more in a follow up post once I'm in front of the device, but there are only a few pins from the BK7231N that appear to be soldered to the board.
tx1,rx1,tx2 (log output),vcc,gnd,cen,rst, and 1 GPIO that is going to an AMS1117 LDO regulator (I believe GPIO21, but need to double check when I'm in front of the board).
tx1,rx1, and tx2 go into a SC92F7251M MCU.
Does the MCU potentially pose an issue here?
The switch has 2 travelers. 1 of them will have 120v (this is the US) the other will have 55v (seems odd, but there is also no load on the switch). Once I press the button it will flip those voltages between the 2 travelers (so the one that had 55 will be 120v and vice versa).
The button also does not register a press and hold. It doesn't matter if I press and hold it always shows as a short button press (press and hold is something I can normally differentiate and assign a different action in ESPHome). Starting to suspect the MCU is handling some of the functionality of the switch vs the GPIOs on the BK7231N???
If anyone has any insights I'd appreciate it. I can post more info once I'm in front of the board, along with pics and the traces I've identified if it's useful.
It has a Beken BK7231N (CB3S) chip. I was able to flash it with ESPHome, but I have had limited success identifying what GPIO pins do what.
The only one I've identified is the button which appears to be GPIO10 (which is also one of the UART pins).
I'll provide more in a follow up post once I'm in front of the device, but there are only a few pins from the BK7231N that appear to be soldered to the board.
tx1,rx1,tx2 (log output),vcc,gnd,cen,rst, and 1 GPIO that is going to an AMS1117 LDO regulator (I believe GPIO21, but need to double check when I'm in front of the board).
tx1,rx1, and tx2 go into a SC92F7251M MCU.
Does the MCU potentially pose an issue here?
The switch has 2 travelers. 1 of them will have 120v (this is the US) the other will have 55v (seems odd, but there is also no load on the switch). Once I press the button it will flip those voltages between the 2 travelers (so the one that had 55 will be 120v and vice versa).
The button also does not register a press and hold. It doesn't matter if I press and hold it always shows as a short button press (press and hold is something I can normally differentiate and assign a different action in ESPHome). Starting to suspect the MCU is handling some of the functionality of the switch vs the GPIOs on the BK7231N???
If anyone has any insights I'd appreciate it. I can post more info once I'm in front of the board, along with pics and the traces I've identified if it's useful.