logo elektroda
logo elektroda
X
logo elektroda

Tuya Mini Smart Switch - Brazil Wall Mount - disassembly / inside / teardowm

tecnolobo 3474 4
ADVERTISEMENT
  • #1 20740574
    tecnolobo
    Level 3  

    Here are the photos of the disassembly of the "Tuya Mini Smart Switch" sold in Brazil.

    Product box of Tuya Mini Smart Switch with a barcode and description. Front view of the Mini Smart Switch with pin labels. Top view of the Tuya Mini Smart Switch casing in a square shape with ventilation holes. Top view of a circuit board with electronic components in a Tuya Mini Smart Switch device. Photo of the circuit board inside the Tuya Mini Smart Switch with a visible yellow component in the center. Close-up of the internal electronic circuitry of the Tuya Mini Smart Switch. Close-up of the Tuya Mini Smart Switch circuit board showing CB2S components. CB2S circuit board with integrated chip. CB2S circuit board with visible pins and electronic components. Disassembled PCB of the Tuya Mini Smart Switch on a glass surface.

    It also follows the original firmware downloaded and the pinout used on that device.

    Tuya Smart...i dump.bin Download (2 MB)

    Pins Order from Left to Right
    CB2S - Front
    Pin 1 - 3V3
    Pin 2 - Ground
    Pin 3 - RX1 - Input Button (I/O, UART_RX1, corresponds to P10 of the IC)
    Pin 4 - TX1 - None (I/O, UART_TX1, corresponds to P11 of the IC)
    Pin 5 - P24 - None (Support hardware PWM and correspond to P24 of the IC)
    Pin 6 - P26 - Output Relay (Support hardware PWM and correspond to P26 of the IC)

    CB2S - Back
    Pin 7 - CEN - None
    Pin 8 - ADC - Input S1-S2 (I/O, ADC, which corresponds to P23 of the IC)
    Pin 9 - P8 - Output LED (I/O, Support hardware PWM and correspond to P8 of the IC)
    Pin 10 - P7 - None
    Pin 11 - P6 - None
  • ADVERTISEMENT
  • #2 20740608
    tecnolobo
    Level 3  

    Below is my solderless write test device. Just an ESP01 serial reader, with a reset button, some wires, and a pin connector.

    Just bend the ends of the connectors forward to make the board slide easily, then bend them backward and to the sides to adjust the connection pressure and pin distance.

    Tested on 10 modules without any problems.

    Non-soldering write testing device with wires and pin connector. Non-soldering write testing device with an ESP01 serial reader, connected by wires to a pin connector. Testing device for programming ESP01, with reset button, wires, and USB connector. Close-up of a custom pin connector on a prototyping board. Close-up of a board with bent pins for solder-free testing.
  • ADVERTISEMENT
  • #3 20740614
    p.kaczmarek2
    Moderator Smart Home
    Thank you, can you also attach full JSON template from the Web App?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 20740694
    tecnolobo
    Level 3  

    Yes. I will do it tomorrow. I will need to adjust one device because I don't use this like a smart switch. I use this like a counter. After tests, I will make another thread explaining the process and the configs.
ADVERTISEMENT