logo elektroda
logo elektroda
X
logo elektroda

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

techathome21 2766 7
ADVERTISEMENT
  • Helpful post
    #1 21103686
    techathome21
    Level 3  

    After a lot of research, I didn't find much information about BSEED wall switches (T34 module).

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

    But this community/forum has a lot of people who contribute a lot of accurate information and so I was able to flash the openbenken firmware on these devices.

    I leave the steps below:

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

    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 waiting for CEN, remove the 3,3V jumper cable and then reconnect. (without removing the TTL Serial adapter 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 21103721
    p.kaczmarek2
    Moderator Smart Home
    I'm very happy to see that this T34 (BK7231N) device has flashing pads available on the board. We already have seen devices with T34 without routed out pads, and they were very hard to flash:
    [BK7231N / T34 ] Teardown Tuya Generic Wifi Wall Light Switch 3 Gang

    Are you able to determine the exact model of your switch? Or, at least, where it was bought?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21103745
    techathome21
    Level 3  

    >>21103721

    There is no model name, I bought directly from BSSED.com

    Added after 3 [minutes]:

    >>21103721
    I've already bought hundreds of them, they don't always come with the T34 chip, most of them come with the WB3S-IPEX.

    I've never felt the need to use it outside of the Tuya cloud, but right now it's what makes the most sense.

    Thank you to the entire community for your effort in helping.
  • ADVERTISEMENT
  • #4 21117166
    divadiow
    Level 34  
    I've just received a T34/BSEED look-alike wall switch, and I noticed that this device isn't listed in the device list. It doesn't appear as a BSEED branded product or under any other name.

    These exact pin assignments are not seen against another device

    Code: JSON
    Log in, to see the code


    and so
    https://github.com/OpenBekenIOT/webapp/pull/124
  • ADVERTISEMENT
  • Helpful post
    #8 21403178
    MrGenius
    Level 6  
    No need to tear off the white pad on T34. You will kill the touch-functionality.
    You can prick with a needle from the backside of the circuit board into the corresponding soldering eyes for RX/TX.
    Close-up of a circuit board with red arrows indicating solder points.

    I flashed multiple of them this week, without any soldering.
    I got a mix of the CBU and T34 versions delivered. The config needs to be different, as they are using different pins for the relay and the binary sensors.

    T34 Board is labelled: TW2-0003A
    CBU board is labelled: TW2-0083A

    Both are doing the exact same job.

    And no need to solder 3.3V/GND. You can use jumper cables on the existing pins. That's where they get their power from:

    T34:
    Close-up of a circuit board with wires connected to pins.

    CBU:
    Close-up of a printed circuit board labeled TW2-0083A with connected wires.

    If you have a problem providing stable 3.3V and you don't have a good power supply, you can use the bottom part of the switches and grab 3.3V and GND from there:

    That's CBU version's bottom part, but it will work the same way for T34 version. You just need to pick the right pins corresponding to my picture above:
    (Pay attention, what you're touching here. Parts might be on 230V!)
    Close-up of a printed circuit board marked TW2-0003A with visible electronic components and connected wires.

Topic summary

The discussion focuses on flashing OpenBK7231N firmware onto BSEED 1G wall switches equipped with the T34 Tuya module. The switches lack a clear model name and are purchased directly from BSEED.com, with some units containing the T34 chip and others the WB3S-IPEX. The T34 module features accessible RX/TX pins (P10, P11) under a glued button that must be lifted for flashing. The flashing process involves using BK7231Flasher, selecting the appropriate COM port and BIN file, and managing the 3.3V jumper cable to initiate flashing. Alternative hardware versions include a CBU module-based PCB, which simplifies flashing. Both T34 and CBU boards perform similar functions but require different configurations due to differing pin assignments for relays and sensors. The T34 board is labeled TW2-0003A, and the CBU board TW2-0083A. It is recommended to avoid removing the white pad on the T34 board to preserve touch functionality; instead, probing soldering eyes from the backside is advised. Power can be supplied via jumper cables on existing pins without soldering. Community contributions include device pin mapping and firmware support integration in OpenBeken projects.
Summary generated by the language model.
ADVERTISEMENT