Replace Tuya Module with ESP-12

Written by blakadder on
Replace Tuya Module with ESP-12


Replace Tuya (TYWE3S), Beken (CB3S, CB3L, WB3L, WB3S), Belon Solutions (FL_M93_V1), BouffaloLab (BL-62B), Realtek (WR3) and similar Wi-Fi modules with an Espressif ESP-12.

Full disclosure: Links to Amazon, AliExpress and Banggood are affiliate links and I earn a small commission when you buy through them which helps fund future projects and reviews

All the listed modules have a similar footprint and same pinout for pins labelled in the image.

ESP-12 Shape

For this you will need the following:

  • soldering heat gun aka rework station - I use the JCD from AliExpress. You can try without one but it’s harder than it looks in the video.
  • a soldering iron - I recommend a modern pen style iron with TS or T12 tips such as Sequre Si012 (AliExpress, Amazon*, Sequre, Banggood, ), PTS100 (AliExpress, Banggood) or Pinecil (Amazon)
  • good solder and flux - don’t get the super cheap stuff and definitely don’t use unleaded solder. I typically get Mechanic brand from AliExpress and also their RMA223 flux.
  • desoldering braid - not a must have but helps in cleaning up old solder. Mechanic brand from AliExpress of course.
  • IPA for cleaning

Work on a heat resistant surface. I use a cooking silicone mat (AliExpress).

Disassemble the device and take the PCB out.

Prepare the PCB

Put flux on the left and right row of pads and solder them liberally. The leaded solder you use will mix with the factory non-leaded solder and that will bring down the melting point and make the process faster and smoother.

Solder the pads liberally

Set the heat gun to 350-400°C and start moving it up and down alternating between left and right side of the module. Once you see the solder liquifying, nudge the module up with tweezers or whatever.

Heat the module

DO NOT apply a lot of pressure and force it, that will only result in torn pads. If everything has heated up to the right temperature the module will slide off.

Module removed

Clean up left over solder with the desoldering braid.

Clean up old solder

Clean the surface with IPA or other alcohol.

Clean up flux

Now is the time to flash the replacement module with firmware you’ll be using.

Flashing in progress

Align the module with the pads and secure it with a small clamp or clothespin.

Line up the pads

Fill each pad with solder. Make sure your soldering iron is hot enough and use flux to help the solder flow. You don’t need to make it look pretty, you just need good connections between the module and the PCB pads.

Solder new module

Clean up your work with more IPA, put it all back together.

Congratulate yourself on a job well done!


Chief shenaniganeer!


comments powered by Disqus