ATLO-V1-TUYA - defective controller. Repair, do not throw away.

Hello.
I have received an ATLO-V1-TUYA actuator for repair.
It allows remote control of a water or gas ball valve (opening / closing). In order to function properly, it is necessary to connect it to a Wi-Fi network with internet access.
The fault manifested itself in a lack of control of the valve, as well as communication problems.
Time for disassembly.
After unscrewing 4 screws and removing the top cover, all the electronics are revealed to our eyes.

On the main board there is, in addition to the small parts:
- LM2596S-3.3 inverter producing 3.3V for the TUYA module and BDR6122T motor driver,
- TUYA CB3S module (quite popular lately), Mr.kaczmarek2 wrote quite a lot about TUYA on the electrode,
- the BDR6122T chip, this is the 1.8A motor driver and it was the one that failed, it heated up a lot.
There is a smaller board screwed onto the side, on which there are two limiters that turn off the motor in extreme positions.
The BDR6122T chip is quite hard to find especially on aliexpress. A bit of datasheet data:


I decided to find a replacement. And succeeded. The DRV8871 chip requires only one 12V voltage (the BDR6122T needs 3.3V and 12V).

The current is limited by a resistor, in this case using 30k the current is 2A max. Comparing the two circuits, several leads are in the same place, after changing the polarity of course.
A bit of wireframing and you're done.

The actuator got a second life.
Comments
This circuit directly controls the 12V motor? It has an H-bridge in it and so on? Such a tiny thing - no wonder it overheats.... [Read more]
Yes, there is an H-bridge inside that controls a 12V brush motor. Both chips have a thermal pad, although the manufacturer did not make a pad on the PCB but the whole thing is soldermasked, the chip was... [Read more]
I converted a similar one on esp12e probably. It has been running for 2 years now with supla. [Read more]