logo elektroda
logo elektroda
X
logo elektroda

Identifying UART Points and OpenBK Flashing Compatibility on AliExpress Smart Switches

leon22heart 138 12
ADVERTISEMENT
  • #1 21850861
    leon22heart
    Level 3  
    Hello again . Got this last batch of smart switches on aliexpress. From a first glance i cant seem to find any uart points on the board. So i want to ask this , has anyone on the forum posted something similar or has any thoughts if it can be flashed with openbk ?


    Green PCB in a white enclosure with a relay and blue screw terminals Identifying UART Points and OpenBK Flashing Compatibility on AliExpress Smart Switches Identifying UART Points and OpenBK Flashing Compatibility on AliExpress Smart Switches


    Identifying UART Points and OpenBK Flashing Compatibility on AliExpress Smart Switches Identifying UART Points and OpenBK Flashing Compatibility on AliExpress Smart Switches

    {
      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "Full Device Name Here",
      "model": "enter short model name here",
      "chip": "BK7231N",
      "board": "TODO",
      "flags": "1024",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "8": "WifiLED;0",
        "10": "dInput;0",
        "26": "Rel;0"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }
  • ADVERTISEMENT
  • Helpful post
    #2 21850865
    divadiow
    Level 38  
    Any markings on that black square chip?
  • #3 21850874
    leon22heart
    Level 3  
    >>21850865 i am scanning now the board . Had to remove the button in order to scan properly. Will post in a little while.

    Added after 58 [minutes]:

    >>21850865
    T34
    Z547GYYJ9
    Y50B3C

    or

    T34
    2547GYYJ9
    X50B3C

    Seems to be a Beken BK7231N

    Ps1 if pin 2 and 3 are tx and rx i think i have found them on the back of the board. Missing vcc and ground.
  • ADVERTISEMENT
  • Helpful post
    #4 21850996
    p.kaczmarek2
    Moderator Smart Home
    Where do you see RX and TX?

    This is T34 (BK7231N).
    T34 LGA36 flashing pinout diagram and a bottom-view photo labeled UART1, GND, and 3.3 V connections
    Helpful post? Buy me a coffee.
  • #5 21851045
    leon22heart
    Level 3  
    >>21850996 the shematic i saw was for 7231t . So either its t or n or the rx tx are not connected to the board.
  • Helpful post
    #6 21851049
    p.kaczmarek2
    Moderator Smart Home
    Here is T34 guide:
    https://www.elektroda.com/rtvforum/topic4151159.html
    I think you still have easier scenario, you have physical access to TX and RX on pads of the T34, you can solder a very thin wire there...
    Helpful post? Buy me a coffee.
  • #7 21851052
    leon22heart
    Level 3  
    >>21851049 thank you my friend i think i absolutely fall in this scenario. Thankfully i have a solder station with heat gun. Bad thing is i never tried for someting this small.
  • Helpful post
    #8 21851053
    p.kaczmarek2
    Moderator Smart Home
    Well, you can try on scrap boards first. Get some old device and play around...

    One of the crucial things is to use thin wires, if you solder huge wire directly to T34 pad, you will tear off the pad.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 21851058
    leon22heart
    Level 3  
    >>21851053 i can extract a single copper wire strand from a normal copper wire used for electricity or micro electronics.
  • ADVERTISEMENT
  • #10 21851105
    p.kaczmarek2
    Moderator Smart Home
    Yes, that's not a bad approach, give it a go and let us know how it went.
    Helpful post? Buy me a coffee.
  • #12 21851145
    p.kaczmarek2
    Moderator Smart Home
    Yes! Did you also manage to solder it back in place?

    I usually solder it back in place on the same solder as it used to be, altough I often see people cleaning ICs with solder wick and applying new solder.
    Helpful post? Buy me a coffee.
  • #13 21851149
    leon22heart
    Level 3  
    >>21851145 using the same solder as it had . Have no confidence to add more solder or clean the pads . if it was a bigger chip np . Also i use the creamy solder wick not the liquid one thus making it more difficult.

    ps1 flashed and soldered successfully my 2nd switch .

    Added after 1 [hours] 16 [minutes]:

      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "Full Device Name Here",
      "model": "enter short model name here",
      "chip": "BK7231N",
      "board": "TODO",
      "flags": "1024",
      "keywords": [
        "TODO",
        "TODO",
        "TODO"
      ],
      "pins": {
        "8": "WifiLED;0",
        "10": "dInput;0",
        "26": "Rel;0"
      },
      "command": "",
      "image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }


    Template thus far . Is there anything in the firmware , another function or something i have to find ?
    And shoud i rename the topic to "on i off smart switch " ?
ADVERTISEMENT