logo elektroda
logo elektroda
X
logo elektroda

T112_V1.1 RTL8710BN pin-compatible ESP replacements?

divadiow 3621 26
Best answers

Is the T112_V1.1 module pin-compatible with any Espressif module such as ESP-02S or TYWE2S?

No—T112_V1.1 is not a drop-in pin-compatible replacement for ESP-02S/TYWE2S; it has a different pinout and is slightly wider, so you may need to solder wires instead of plugging it straight in [#20836499] It was only mentioned as possibly TYWE2S-compatible in Teckin SP23 discussions, but the thread consensus is that it is not like-for-like [#20835952][#20836811]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
  • #1 20835882
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908

    I have two Teckin SP23s. Does anyone know if the T112_V1.1 module is pin-compatible with any Espressif versions?

    Close-up of the T112_V1.1 module with visible integrated circuits. T112_V1.1 module with BoyaMicro chip on a white background.
  • ADVERTISEMENT
  • #2 20835952
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    Isn't it TYWE2S-compatible? So ESP-02S, etc?

    Btw, where did you get that modules? I need one to finish OBK port this platform.
    Helpful post? Buy me a coffee.
  • #3 20836499
    ferbulous
    Level 18  
    Posts: 419
    Help: 8
    Rate: 56
    Not exactly a drop in replacement for esp-02s (different pinout & slightly wider).
    Might need to solder some wires to it

    Added after 1 [hours] 26 [minutes]:

    p.kaczmarek2 wrote:
    Isn't it TYWE2S-compatible? So ESP-02S, etc?

    Btw, where did you get that modules? I need one to finish OBK port this platform.


    Will that include support for the the RTL8720C chip as well?
  • Teckin SP23s use TYWE2S, not RTL8710BN

    #4 20836811
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908

    Sadly, not like-for-like. I've seen a couple of posts about Teckins with this board that mention TYWE2S.

    https://github.com/ct-Open-Source/tuya-convert/issues/269
    https://github.com/arendst/Tasmota/issues/6434

    Regarding sourcing the T112_V1.1 board, I only have them inside the Teckin SP23s I got off eBay last week. The picture of one unsoldered is from a forum post somewhere :)

    I'd love for you to be able to develop OBK to include the RTLs, I don't want to get into ESPHome. Can you source Teckin SP23s? Are you in the UK?
  • #5 20836819
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    I am in Poland, and I am not sure if I can order those devices. Futhermore, I would only need a WiFi module, I don't need whole device board.

    I had one about a year ago but it got accidentally bricked and that's why development of that branch stopped
    Helpful post? Buy me a coffee.
  • #6 20836858
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908
    I'd happily attempt to unsolder (I'm a novice!) a board and send it over...
  • ADVERTISEMENT
  • #7 20836864
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    That would be very helpful, have you watched our desoldering tutorials for CB2S and similiar modules? For instance here:


    Helpful post? Buy me a coffee.
  • #8 20836872
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908
    I have not. I will this evening!
  • Helpful post
    #9 20837051
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    You can see much more, including OBK and device flashing tutorials on our Elektroda channel:
    https://www.youtube.com/@elektrodacom
    Helpful post? Buy me a coffee.
  • #10 20838239
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908
    solder braid arriving today so hopefully unsoldered tonight
  • #11 20838328
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    Remember that flux is crucial for this process. Do not use too high soldering iron temperature and keep the tip clean.
    Helpful post? Buy me a coffee.
  • #12 20838460
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908

    Yes. I have had this pen for years but I think the gunky (rosin?) stuff seen in your videos would be better. CircuitWorks flux dispensing pen on a red background.
  • #13 20839635
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908

    It's out. Bit messy. Close-up image of a section of an electronic circuit on a printed circuit board with visible chips and connectors. Fragment of a blue circuit board with visible contacts and labels.

    DM me your address if still wanted.
  • ADVERTISEMENT
  • #14 20840128
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    Well, I know how to regenerate a pad and only one is ripped so maybe that's not a lost case! I've send you a PM
    Helpful post? Buy me a coffee.
  • OpenBeken template for Tuya T102_V1.1 smart plug

    #16 21381177
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908
    the firmware is a work in progress at this point, so maybe a little premature, but I guess the OBK template won't change. so here it is:

    Code: JSON
    Log in, to see the code


    https://github.com/OpenBekenIOT/webapp/pull/172
  • #17 21732010
    gandi69
    Level 2  
    Posts: 99
    Rate: 6
    Can someone point me to a pinout? Where is the CEN pin?
  • ADVERTISEMENT
  • #18 21732073
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    Are you asking for T112_V1.1 module? Pinout is on the photos. There is no CEN, I think. CEN is Beken-specific....
    Helpful post? Buy me a coffee.
  • #19 21732084
    gandi69
    Level 2  
    Posts: 99
    Rate: 6
    It’s just the flashing guide from Realtek for 8710b says to ground CEN first and TX, then remove the grounds in reverse order to get into download mode. Yet there’s no CEN pin
  • #20 21732086
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14707
    Help: 658
    Rate: 12771
    Can you please post link to this guide, so I can check? There are so many chips supported that I may be wrong. I need to verify.
    Helpful post? Buy me a coffee.
  • #21 21732090
    insmod
    Level 31  
    Posts: 1427
    Help: 167
    Rate: 450
    If there's no CEN (or EN), then just do a power reset after grounding log tx.
  • #22 21732091
    divadiow
    Level 38  
    Posts: 5166
    Help: 443
    Rate: 908
    just pull TX2 (PA30) to ground at power-on. I never use CEN

    Added after 2 [minutes]:

    insmod wrote:
    If there's no CEN (or EN), then just do a power reset after grounding log tx.

    :)
  • #23 21732094
    gandi69
    Level 2  
    Posts: 99
    Rate: 6
    Are you using Easy Flasher or something else?

    I've tried this, but I'm struggling a little with this one, as with Easy Flasher I get nothing happening. I'm sure I've done one of these plugs too.
  • #24 21732103
    insmod
    Level 31  
    Posts: 1427
    Help: 167
    Rate: 450
    >>21732094
    Easy flasher.
    Connect log tx to gnd, power it up, then disconnect log tx from gnd.
    It should start printing symbols at 1500000 baud.
  • Relay pin mapping still not triggering the plug

    #25 21732233
    gandi69
    Level 2  
    Posts: 99
    Rate: 6
    I got there in the end. Poor connections on my part.

    However, I borrowed the config above and it doesn't fire the relay in the plug:

    Code: JSON
    Log in, to see the code
  • #27 21732586
    gandi69
    Level 2  
    Posts: 99
    Rate: 6
    I've managed to get the relay working; just need to do the power monitoring side.

Topic summary

✨ The discussion identifies the T112_V1.1 module used in Teckin SP23 smart plugs as a Realtek-based board, not a direct pin-compatible drop-in replacement for ESP-02S/TYWE2S modules. It has a different pinout and is slightly wider, so wiring changes or soldered leads may be required. Later posts confirm the module boots as RTL8195A/RTL8710B-class hardware, and an OpenBeken template is shared for a similar Tuya smart plug platform using RTL8710B and BL0937 power metering. The thread also covers desoldering the module from the SP23 PCB, UART boot access, download-mode entry by grounding TX2/PA30 at power-on, and troubleshooting relay and power-monitoring configuration.
AI summary based on the discussion. May contain errors.

FAQ

TL;DR: Teckin SP23’s RTL8710BN module boots with a 40 MHz crystal and logs "TUYA IOT SDK V:2.0.0"; validate via UART before any ESP swap or OBK flash. [Elektroda, divadiow, post #21376313]

Why it matters: This FAQ helps tinkerers decide whether to replace or reflash RTL8710BN-based T112_V1.1 boards in Teckin SP23 plugs.

Quick Facts

Is the T112_V1.1 (RTL8710BN) pin-compatible with ESP-02S or TYWE2S?

No. It is not a drop-in for ESP-02S. The pinout differs and the module is slightly wider. Expect to add short jumper wires or use an adapter. That makes straight swapping risky on compact PCBs. [Elektroda, ferbulous, post #20836499]

What board and SoC are inside the Teckin SP23 discussed here?

The SP23 PCB is marked HYS-01-127_V1.1, dated 2018-10-16. The Wi‑Fi module uses Realtek RTL8710BN. UART boot logs show a 40 MHz crystal and a 2 MB flash configuration, under Tuya firmware. Photos and dumps confirm this setup. [Elektroda, divadiow, post #21376313]

What UART settings work to read boot logs from RTL8710BN in this plug?

Hook GND, TX, and RX to the module’s UART test points. The Tuya boot logs indicate a 9600 bps serial rate. The banner also shows the 40 MHz XTAL. Use these cues to confirm a stable connection before any flashing. [Elektroda, divadiow, post #21376313]

Is there an OpenBeken (OBK) template for this RTL8710B-based plug?

Yes. A shared OBK template maps BL0937 CF, CF1, and SEL, plus relay, button, and an inverted LED. It targets a board labeled T102_V1.1. The author notes the firmware is "work in progress." [Elektroda, divadiow, post #21381177]

How should I desolder the module without lifting pads?

Use ample flux, moderate iron temperature, and keep the tip clean. Preheat the area and wick solder gradually. "Remember that flux is crucial for this process." Avoid prying under the metal can to protect pads. [Elektroda, p.kaczmarek2, post #20838328]

I ripped a pad during removal. Can I still recover the board?

Often yes. You can regenerate a pad and reconnect using a fine wire to the trace. In the thread, a module with one ripped pad was still considered salvageable by the developer. Proceed carefully after continuity checks. [Elektroda, p.kaczmarek2, post #20840128]

Does OBK plan to support RTL8720C as well?

Support was asked, but no confirmation appears here. The developer said the Realtek branch stalled after a module was bricked. Progress depends on obtaining a working module to resume development. [Elektroda, p.kaczmarek2, post #20836819]

Where can I get a T112_V1.1 or similar RTL8710BN module?

Participants pulled modules from Teckin SP23 smart plugs bought on eBay. No standalone module source was identified in this thread. Some threads mention TYWE2S, but that does not provide a direct module supplier. [Elektroda, divadiow, post #20836811]

Are TYWE2S drop-in replacements for the module in this SP23?

Some Teckin discussions mention TYWE2S compatibility. However, this unit was not like‑for‑like. Plan for rewiring and confirm the footprint width before committing. Direct swaps may not align mechanically. [Elektroda, divadiow, post #20836811]

Can I back up the original Tuya firmware before flashing?

Yes. The thread shares a full flash backup. Verify boot over UART first. Then make a dump and archive it safely.
  1. Connect UART and capture boot logs to confirm stable operation.
  2. Attach an SPI programmer or clip and read the flash to a file.
  3. Verify the dump integrity and store it offline. [Elektroda, divadiow, post #21376313]

Which pins control relay, LED, and button under OBK on this build?

Template mapping shows Relay on GPIO10, Button on GPIO11, and an inverted LED on GPIO1. BL0937 energy metering uses CF on GPIO0, CF1 on GPIO8, and SEL on GPIO9. Adjust if your PCB wiring differs. [Elektroda, divadiow, post #21381177]

Should I replace the module with an ESP or keep RTL8710BN and flash OBK?

Keeping RTL8710B avoids footprint mismatches and preserves power‑meter wiring. The OBK route already has a published template and ongoing work. Validate your pins against the template, then proceed with software changes rather than hardware swaps. [Elektroda, divadiow, post #21381177]

What boot or Wi‑Fi behaviors should I expect from Tuya RTL8710BN firmware?

Expect OTA partition selection logs and LwIP DHCP stop messages during mode switches. The log can repeat Wi‑Fi init and report “not find scan ssid” for tuya_mdev_test1. The banner shows boot reason 0 and calibration results. [Elektroda, divadiow, post #21376313]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT