Replace Tuya Module with ESP-12


Summary
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.
All the listed modules have a similar footprint and same pinout for pins labelled in the image.
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 - a basic one is sufficient for small projects like this such as Mustool MT883 (Banggood*, AliExpress*) or a more powerful and portable Sequre SQ-D60B (Banggood*, AliExpress*)
- 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.
- serial to USB flasher - to flash the new ESP-12 module with firmware. I recommend using the ESP8266 test board (AliExpress*, Banggood* or Amazon*).
- IPA for cleaning
- an ESP-12 type module - pick between ESP8266, ESP32-C3 or ESP32-S2 versions
Work on a heat resistant surface. I use a cooking silicone mat (AliExpress).
Disassemble the device and take the PCB out.
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.
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 liquified, nudge the module up with tweezers or whatever.
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.
Clean up left over solder with the desoldering braid.
Clean the surface with IPA or other alcohol.
Now is the time to flash the replacement module with firmware you’ll be using.
Align the module with the pads and secure it with a small clamp or clothespin.
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.
Clean up your work with more IPA, put it all back together.
Congratulate yourself on a job well done!
Comments