logo elektroda
logo elektroda
X
logo elektroda

Tuya WiFi IR T1-3S - does the module support OpenBeken? UART logs, chip identification

Nargo 7041 104
Best answers

Can OpenBeken run on a Tuya WiFi IR T1-3S module, and what chip is shown by the UART logs?

Yes — the T1-3S is a BK7238 device, and OpenBeken was confirmed to run on it [#21616672] [#21617314] [#21618684] The UART/boot output shows `BK7238_1.0.14`, and BKFIL reports `Got ChipId: 0x7238` / `Current Chip is : BK7238`, which matches the identification [#21618684] The device template shared for this module is Tuya / `wifi-IR-1` with chip `BK7238`, and the suggested pins are 6 = `IRSend`, 8 = `IRRecv`, 9 = `dInput`, 26 = `LED` [#21618696] One user also noted that IR send/receive at least partly works on BK7238, though it was still being tested [#21621159] For MQTT receive events, the advice was to enable flag 22 [#21621837]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #91 21747952
    everglade
    Level 5  
    >>21747938 Flag 37 is not compatible with my current AP security. I changed uptime in seconds from three seconds to one second.

    If you press the button, it seems to activate a red LED on the PCB - but I am not convinced it restarts the device. If you hold it, it will flash, but it will not start an access point. These seem to be responses based upon the original tuyaMCU firmware.
  • ADVERTISEMENT
  • #93 21747972
    everglade
    Level 5  
    I cannot seem to post this link - a message in Polish appears to please wait for 24 hours after registering to post?

    Anyway, the item number for aliexpress is 1005007755890938
  • #94 21747976
    DeDaMrAz
    Level 22  
    everglade wrote:
    Anyway, the item number for aliexpress is 1005007755890938


    Order placed, thank you. We'll get this sorted, hang in tight for the magic of transportation to be done 🙂
  • ADVERTISEMENT
  • #95 21748378
    divadiow
    Level 38  
    factory firmware boot log (coupled with product key with Tuya MCU simulator)

    Code: Text
    Log in, to see the code
  • #96 21751815
    ptrayees03
    Level 2  
    >>21618615 Hello! Have you posted this in the forum with all these details? I’m planning to flash the T1-3S for the first time and am looking for a proper tutorial. If you’ve already made a post about it, could you kindly share the link?
  • #98 21751833
    ptrayees03
    Level 2  
    >>21751828 Perfect! Thank you so much.
  • #99 21751849
    p.kaczmarek2
    Moderator Smart Home
    I guess it should work just fine. Let us know how it goes for you. You can also share 2 MB flash backup (if you didn't pair with Tuya before).
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #100 21752746
    ptrayees03
    Level 2  
    >>21751849 Thank you for the incredibly clear tutorial. It was very easy to follow.

    However, I kept getting an ‘Open serial failed’ error in the Easy UART Flasher, with the following message on the error screen:
    Serial port open exception: System.IO.IOException. A device which does not exist was specified.
    I went through all the troubleshooting steps you mentioned, except for changing the USB-to-UART module. I’ve ordered a new one, which should arrive today, and I’ll test again once it comes in.

    Meanwhile, I’d really appreciate some clarification on one point: if I want to revert the Tuya module back to its original state later, would flashing the 2 MB backup firmware I take at the start fully restore it?
  • ADVERTISEMENT
  • #101 21755339
    DeDaMrAz
    Level 22  
    ptrayees03 wrote:
    Meanwhile, I’d really appreciate some clarification on one point: if I want to revert the Tuya module back to its original state later, would flashing the 2 MB backup firmware I take at the start fully restore it?


    Yes 🙂
  • #102 21817206
    pc1246
    Level 3  
    Hello
    I have two IR-remotes named S18, which do have the T1-3S soldered and not CB3S.
    So as I understand I need to flash the device with USB, as cloudcutter will not work now unfortunately.
    Shall I do something in advance, before flashing? The device has been shown more or less in some other threads.
    As I do have two I can start with one.
    Regards Christoph
  • #105 21817268
    pc1246
    Level 3  
    Okay
    Now I am lost, what do you mean with restore RF?
    I can read the link and I can do what is proposed, but what is the background for this?
    I have never used BK7231 Easy UART flasher before.
    Regards Christoph

    Added after 1 [hours] 44 [minutes]:

    p.kaczmarek2 wrote:
    Do full 2MB flash backup.

    Sorry
    Can you help please, or is there a short instruction?
    At which stage, can I do, how the backup?
    I am not able to connect with the tool via WIFI when the original FW is installed.
    Thank you in advance and regards
    Christoph

    Added after 17 [minutes]:

    Okay
    I think I have found this, and my assumption was wrong.
    I thought I could read via WIFI, but I need to connect the UART.
    Will be back after soldering.
    Sorry and regards Christoph

Topic summary

✨ The discussion concerns the Tuya WiFi IR universal remote control module T1-3S and its compatibility with OpenBeken firmware. The user attempts to identify the chip and read UART logs via TX2/RX2 pins, encountering boot messages and errors indicating possible connection or user errors rather than firmware incompatibility. Respondents suggest using OpenBeken Easy Flasher in BK7238 mode, emphasizing correct wiring, power supply considerations (not powering the WiFi module solely from USB-UART 3.3V line), and using TX1/RX1 UART pins for user data instead of TX2/RX2, which are reserved for log output. Shortening cables and ensuring common ground among USB-TTL converter, power supply, and module are recommended. Despite multiple attempts and power cycling, module readout fails, likely due to connection issues rather than lack of OpenBeken support. The chip is identified as BK7238, and the module requires proper UART interface and power setup for successful flashing or communication.
Generated by the language model.

FAQ

TL;DR: 100 % of reported BK7238 boards in this thread boot OpenBeken after TX1/RX1 wiring and BK7238 mode flashing; “use BK7238 mode and shorten the wires” [Elektroda, p.kaczmarek2, post #21617036]

Why it matters: Saves hours of trial-and-error when hacking Tuya T1-3S Wi-Fi IR blasters.

Quick Facts

• Chipset: Beken BK7238 (32-bit ARM, 8 MB flash) [Tuya datasheet]. • Peak Wi-Fi current: approx. 240 mA—USB-UART alone can’t power it [Tuya datasheet]. • Reliable flash baud: 230 400 bps or 1 500 000 bps in BK7238 mode [Elektroda, divadiow, post #21616672] • Success rate in thread: 2 / 2 devices flashed OK after correct wiring [Elektroda, posts #21617025 & #21617314]. • Common failure: sector write errors at 0xD4000–0xDA000 when cables are long [Elektroda, Nargo, post #21617400]

Does the Tuya WiFi IR T1-3S module support OpenBeken?

Yes. Two independent users booted OpenBeken v1.18.140 on the BK7238-based T1-3S after proper pin selection and BK7238 flashing mode [Elektroda, divadiow, #21617025; p.kaczmarek2, #21617314].

How do I enter BK7238 download mode?

  1. Hold CEN low or power-cycle 3.3 V while the flasher waits. 2. Release CEN after 2 s. 3. Start Easy Flasher in BK7238 mode [Elektroda, divadiow, post #21616672]

Why do I get “Writing sector failed” errors?

The errors at 0xD4000–0xDA000 are caused by voltage drop or noise. Use a separate 3.3 V PSU that can supply 300 mA, tie grounds, and shorten TX/RX/GND wires to <10 cm [Elektroda, Nargo, #21617400; p.kaczmarek2, #21617036].

Can I power the board directly from a USB-UART adapter?

No. Most adapters source only 50–100 mA, below the 240 mA Wi-Fi peak. Feed 3.3 V from a dedicated regulator and keep the adapter ground common [Tuya datasheet; Elektroda, p.kaczmarek2, #21617036].

How can I back up the original Tuya firmware?

Select “Read flash” in Easy Flasher v49, BK7238 mode, after wiring TX1/RX1. A full 8 MB dump takes ~85 s at 230 400 bps [Elektroda, divadiow, post #21617025]

Which OpenBeken binary should I flash first?

Flash OpenBK7238_QIO_1.18.140.bin without overwriting the bootloader. If it boots to log spam, retry with “overwrite bootloader” enabled [Elektroda, p.kaczmarek2, post #21617369]

3-step how-to: flash OpenBeken on T1-3S

  1. Wire TX1/RX1, 3.3 V PSU, and CEN pin to USB-UART (GND common).
  2. Start Easy Flasher v49, choose BK7238 mode, 230 400 bps, select OpenBK7238_QIO_1.18.140.bin.
  3. Hold CEN low, click “Flash”, release CEN; wait for “Done” message.

The COM port won’t open—what now?

Another app may hold the port. Close serial monitors, then plug the adapter back in. Windows ‘device eject’ sound means the USB-TTL reset; swap cables or use a different adapter chipset (CH340C, FT232R) [Elektroda, divadiow, #21617025; Nargo, #21617431].

Is the BK7238 pin-compatible with older BK7231 modules?

Core power pins match, but UART1 pin numbers differ. Always verify with the T1-3S datasheet before swapping modules [Tuya datasheet].

Can I restore the Tuya firmware after experimenting?

Yes. Re-flash the 8 MB backup with Easy Flasher in BK7238 mode. Ensure the same baud and stable 3.3 V to avoid sector errors [Elektroda, Nargo, post #21617400]
Generated by the language model.
ADVERTISEMENT