logo elektroda
logo elektroda
X
logo elektroda

Changing firmware increasingly difficult? Smart Switch on T34 and QFN soldering

p.kaczmarek2 4050 63
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #61 21782023
    DeDaMrAz
    Level 22  
    Posts: 596
    Help: 34
    Rate: 125
    rchristescu wrote:
    Later edit: I've noticed something strange. The driver does not work in combination with "powersave 1".


    This is normal and we should have a disclaimer about this somewhere. PowerSave 1 will brake both RF receive or IR receive as the power save function will actually stop the timer needed for RF receive to work.
  • ADVERTISEMENT
  • #62 21793765
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14403
    Help: 650
    Rate: 12336
    Another T34, I don't think I've shown this one before, this time from a Polish importer - Adelid, model MPD-1CH (clone!):
    Adelid MPD-1CH relay box on wooden surface, product label clearly visible Adelid MPD-1CH switch module with wiring diagram insert on a wooden surface
    Close-up of JIEYING JY3FF-SH-DC5V-A(K) relay on blue PCB Close-up of T34 chip on blue PCB with 16V 220µF capacitor and SMD components MPD-1CH electronic module with open case on wooden surface Close-up of MPD-1CH PCB with relay and green screw terminal block

    WiFi module switch Adelid MPD-1CH with Tuya app shown on a smartphone
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #63 21825376
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14403
    Help: 650
    Rate: 12336
    An interesting solution appeared on Elektroda.com, someone simply reamed out part of the LGA housing:
    https://www.elektroda.com/rtvforum/topic4036975-90.html#21825374
    Helpful post? Buy me a coffee.
  • #64 21895954
    Blisk
    Level 3  
    Posts: 4
    rchristescu wrote:
    I bought some similar devices, with RF433 feature. Looks the same, but have some more components populated on the pcb.

    Four RF433 and Wi-Fi devices: remote control, switch, round button, and control panel Relay module with blue PCB and green screw terminal connector Electronic module with 13.52127 MHz crystal and chip on PCB
    They come with battery powered remotes, but can be paired with any ordinary RF433 remote.
    In order to pair, the device button must be pressed 3 times, then the remote 2 times. To forget all remotes the device button must be pressed 8 times.
    Pairing can also be done via Tuya app.
    I have desoldered the chip, flash with OBK, then solder back.
    Configuration is the same as for devices w/o RF433 feature.
    Original firmware attached.

    Device works ok, but without the RF433 feature.
    It is not possible to add a remote by pressing the button 3 times.
    Is any possibility to setup OBK in order to have RF433 feature available?


    I have flashed on tis RF433 a tasmota, very easy.
    Now I have intent to flash openbeke on my smart power plug. Connect directly wires and flash it, I need to find 3.3V on board, any idea, and I think those 2 pins are RX and TX at the top of the chip, also need measure it. Have anyone advice what should I be carefull and how to do it? Do I need to connect 5 times power on and off to flash it or put GPIO0 on ground?Changing firmware increasingly difficult? Smart Switch on T34 and QFN soldering Changing firmware increasingly difficult? Smart Switch on T34 and QFN solderingChanging firmware increasingly difficult? Smart Switch on T34 and QFN soldering
📢 Listen (AI):

FAQ

TL;DR: T34 Wi‑Fi relay modules use BK7231 cores; 796 devices are already cataloged. “Access to the pads is not available,” so first flash often needs hot‑air and LGA handling. [Elektroda, p.kaczmarek2, post #21738061]

Why it matters: This FAQ helps makers decide if and how to flash T34-based relays without ruining pads, and how to pair them with Home Assistant.

Quick Facts

What is the T34 module and why is flashing harder now?

T34 is a compact Wi‑Fi module based on the BK7231T/N core. Many new relay boards place T34 in an LGA package with no accessible side pads. One UART line is often unrouted on the PCB, blocking in‑circuit serial flashing. Initial reprogramming typically requires hot‑air removal, wiring, then reflowing the chip. “Access to the pads is not available!” [Elektroda, p.kaczmarek2, post #21737021]

Is my module LGA or QFN, and does it matter?

It matters. In QFN you may catch the side pads; in LGA the metal lands sit underneath, often with no side access. The thread corrects the naming: these problematic versions are LGA, sometimes described as “laminated QFN.” Expect harder access and plan for chip lift. [Elektroda, piotr_go, post #21737271]

Can I find 3.3 V, GND, RX, and TX somewhere else on the board?

You can locate 3.3 V and GND easily. However, at least one UART pin (TXD1) is not routed on certain boards. Photos show no trace for that pad, so you cannot complete the UART without accessing the package lands directly. [Elektroda, p.kaczmarek2, post #21737307]

How do I flash OpenBeken onto a T34 safely?

Three steps: 1) Hot‑air lift the T34 after masking nearby parts and applying flux. 2) Solder thin leads or use a breakout/fixture; connect USB‑UART and use BK7231 GUI Flash Tool. 3) Reflow the T34 back, align with flux. Avoid thick wires to prevent pad lift. [Elektroda, p.kaczmarek2, post #21737021]

What tools and files do I need to program it?

Use a USB‑to‑UART adapter and the BK7231 GUI Flash Tool. Flash the OpenBeken binary for BK7231T. The tool can auto‑discover GPIO configuration, and the project repository provides firmware and device lists for reference. [Elektroda, p.kaczmarek2, post #21737021]

Can I avoid desoldering—any ‘needle’ or clamp tricks?

Sometimes. If solder joints are slightly exposed around the chip, two fine sewing needles or a printed press‑adapter can touch the UART lands. Success varies by pad length and board design. “The accessibility of the legs on these T34s do seem to vary.” [Elektroda, divadiow, post #21737850]

Is grinding a corner of the package a valid access method?

Yes, carefully filing only the corner with the target pin can create permanent access without full removal. Several users suggest this to expose a single UART pad, reducing future rework. Proceed slowly to avoid damaging internal layers. [Elektroda, Mastertech, post #21737477]

What’s the risk of ripping pads during wiring?

High if you use stiff or heavy wires. The author reports breaking a circuit this way. Secure the module in a small stand, hot‑glue strain‑relieved jumpers, or use a QFN/LGA breakout to protect pads during flashing. [Elektroda, p.kaczmarek2, post #21737021]

How do I configure GPIOs after flashing?

Use the detected Tuya JSON or manual mapping: Relay on P26, Wi‑Fi LED on P8, Toggle on P23, Pair/All on P10. Confirm behavior in OpenBeken, then pair with Home Assistant. A video walkthrough is linked in the thread. [Elektroda, p.kaczmarek2, post #21737021]

What is OpenBeken?

OpenBeken is open firmware for BK7231‑based devices. It replaces cloud dependence, adds local control, and integrates with Home Assistant. The thread links the project repo and device list used by contributors. [Elektroda, p.kaczmarek2, post #21737021]

What is Tuya in this context?

Tuya provides cloud‑connected firmware and JSON GPIO schemas in many IoT devices. Dumped Tuya JSON reveals pin roles, which OpenBeken can replicate for local control without the Tuya cloud. [Elektroda, p.kaczmarek2, post #21737021]

Can I rely on OTA after the first flash?

Yes. After installing OpenBeken once, use OTA updates to avoid lifting the chip again. “That’s what the remote update option (OTA) is for.” [Elektroda, p.kaczmarek2, post #21737495]

How many devices like this are already documented?

The community has described 796 devices. That catalog helps identify pinouts and configurations before opening hardware, saving time and rework. [Elektroda, p.kaczmarek2, post #21738061]

Will future IoT devices block firmware changes?

Some Matter‑based ESP32 devices already ship with secure boot and burned keys, preventing custom firmware. Contributors note this appears to be a top‑down requirement within Matter ecosystems. [Elektroda, p.kaczmarek2, post #21740953]

Edge case: what if my board has UART broken out underneath?

Check for test pads on the PCB bottom. Some versions route UART to hidden pads, enabling flashing without chip removal. If absent, use lift, corner‑file, or a press‑adapter approach. [Elektroda, p.kaczmarek2, post #21738061]

What if the chip sits mid‑PCB with no side access?

It’s harder but still possible. Add fine cables without full removal if any metal is exposed, or use a printed programming adapter to press contacts. Placement increases difficulty, not impossibility. [Elektroda, Mastertech, post #21738014]
Generated by the language model.
ADVERTISEMENT