logo elektroda
logo elektroda
X
logo elektroda

Flashing OpenBK7231N Firmware on BSEED 3G Wall Switch (T34 Tuya Module)

techathome21 2097 9
ADVERTISEMENT
  • #1 21103752
    techathome21
    Level 5  
    Modern BSEED wall switch touch panel with three buttons.

    Image of a circuit board with labeled pins: 3V3, GND, Rx, and Tx.

    This is topic for 3Gang version, see 1 gang version here

    The image shows a 3G switch, but the pins are the same (1G, 2G, 3G, Curtain), above 1G you have to lift the button, it is glued, to access the Rx and Tx Pins (P10 P11).


    If you have issues, please swap Rx/Tx connections


    1. Open BK7231Flasher e select your com Port.

    2. Select your BIN file (BK7231N) and flash.

    3. When it shows that it's waitin for CEN, remove the 3,3V jumper cable and then reconnect. (without removing the TTL Serial adaptaer from USB)

    4. The flash should start and after about 20 secs it's finished.

    Module Configuration

    Code: JSON
    Log in, to see the code
  • ADVERTISEMENT
  • #2 21103838
    p.kaczmarek2
    Moderator Smart Home
    Thanks, I've added a link to 1 gang version to the post, because this at first confused me and I assumed it may a duplicate, while it's not. It's just a 3G version of previous switch:
    https://www.elektroda.com/rtvforum/topic4057517.html
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • Helpful post
    #4 21403173
    MrGenius
    Level 7  
    No need to tear off the white pad.
    You can prick with a needle from the backside of the circuit board into the corresponding soldering eyes.
    Close-up of a circuit board with red arrows indicating solder points.

    I flashed multiple of them this week, without any soldering.
  • Helpful post
    #5 21818324
    pierdata
    Level 6  
    Another version of the motherboard:
    Glass panel with three illuminated touch buttons in circular shapes

    Back side of a smart wall switch showing technical specifications and wiring.

    Blue PCB with surface-mounted components and integrated circuits

    PCB board with three buttons and labeled pins TX, RX, GND, and 3.3V.

    template:
    {
      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "Full Device Name Here",
      "model": "enter short model name here",
      "chip": "BK7231N",
      "board": "TODO",
      "flags": "64",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "6": "Btn;1",
        "7": "WifiLED_n;0",
        "8": "Btn;2",
        "9": "LED;0",
        "10": "Btn;3",
        "20": "Rel;2",
        "22": "Rel;3",
        "24": "Rel;1"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/3967468400_1769265421_thumb.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=21818324#21818324"
    }
    


    Regards
    prucho
  • ADVERTISEMENT
  • #6 21859416
    kajaba
    Level 2  
    >>21818324 Hello, I have the same version but with 2 gangs. I don't see any CEN pad. How did you flash the switch? After initiating the flashing, did you disconnect and reconnect 3.3 V? Or any other method? Because I have a problem flashing it.
    Thanks
  • #7 21859491
    pierdata
    Level 6  
    kajaba wrote:
    did you disconnect and reconnect 3.3 V?

    Yes.
    I haven't checked if the CEN pin is available. Just press flash and then connect power to the 3.3 V pin.

    Regards,
    prucho
  • ADVERTISEMENT
  • #8 21860157
    kajaba
    Level 2  
    >>21859491 I can't figure it out. I am using Arduino to flash (not some separate HW). I used this method to flash ESP of various chips. I use BK7231Flasher — it downloaded some bin for chip BK7231N (T2, T34). I used rxtx, rxrx, and combinations. I pressed 'Do Firmware Write' and then connected to 3.3 V and nothing. Thanks for help >>21859491
  • #9 21860229
    pierdata
    Level 6  
    >>21860157
    RX programmer to TX PCB, TX programmer to RX PCB.
    I don't know, and I don't use Arduino as a programmer...
    But you can try keep connected 3.3 V, just disconnect GND, press Flash, and connect GND.

    Regards
    prucho
  • #10 21863831
    kajaba
    Level 2  
    >>21860229 Thank you. I finally made it, but I needed to cut the TX line that went to some other chip also.
    Thanks.

Topic summary

The discussion focuses on flashing OpenBK7231N firmware onto the BSEED 3G wall switch, which uses the T34 Tuya module. The 3-gang version shares the same pin layout as the 1-gang and 2-gang versions, with Rx and Tx pins (P10, P11) accessible by lifting the glued button above the 1G switch. Users are advised to swap Rx/Tx connections if flashing issues occur. The flashing process involves using BK7231Flasher to select the COM port and BIN file, then removing and reconnecting the 3.3V jumper cable when prompted to start flashing without disconnecting the USB TTL serial adapter. A helpful tip highlights that the white pad does not need to be removed; instead, the soldering points can be accessed from the backside of the PCB using a needle, enabling flashing without soldering. A link to the 1-gang version flashing guide and a GitHub pull request related to OpenBekenIOT webapp are also referenced.
Summary generated by the language model.
ADVERTISEMENT