logo elektroda
logo elektroda
X
logo elektroda

[BK7231N - CB3S] AVATTO Tuya US Wifi Wall Switch 1 Gang

Jomsha  Cool? (0)


Basic information:
Brand: AVATTO
Chip: BK7231N [CB3S]
Model: US-TS02
Local Vendor: https://www.aliexpress.com/item/4000615022697.html

Connections:
TXD1 <---> UART RX
RXD1 <---> UART TX
3.3 <---> UART 3.3V
GND <---> UART GND

GPIO:
P7 (PWM1)Btn 1
P9 (PWM3)LED 1
P23 (ADC3)WifiLED 0
P26 (PWM5)Rel 1


Code: JSON
Log in, to see the code








You have to remove this 16-pin chip > Flash > Solder the chip back.
-OR-
Find the correct trace between the RXD1/TXD1 to the 16-pin chip and break it > Flash > Solder (repair) the trace.



Finally use BK7231GUIFlashTool to flash the BK7231N chip.

About Author
Jomsha
Jomsha wrote 11 posts with rating 2 . Been with us since 2023 year.

Comments

p.kaczmarek2 14 Jun 2023 09:04

It looks like the issue that we had with a switch on our YouTube channel. We also had to break the RXD connection temporarily. https://www.youtube.com/watch?v=Yb3zXtBdSnE&t=1s&ab_channel=Elektrodacom Can... [Read more]

Jomsha 14 Jun 2023 09:42

Of course, I edited the post. Yes, this thing with the RX pin is a known "complicator". I met this situation even 3-4 years ago with the ESP8266 Tuya switches... [Read more]

p.kaczmarek2 14 Jun 2023 09:49

At least your device wasn't TuyaMCU. There are also TuyaMCU switches where you have to configure it in TuyaMCU mode, which complicates things even more. [Read more]

Jomsha 14 Jun 2023 09:57

Yes, you're right . [Read more]

divadiow 31 Oct 2024 19:00

https://github.com/OpenBekenIOT/webapp/pull/157 [Read more]

p.kaczmarek2 01 Nov 2024 10:59

Merged, thank you, device should be soon live at: https://openbekeniot.github.io/webapp/devicesList.html [Read more]

%}