logo elektroda
logo elektroda
X
logo elektroda

[BK7231N] (DIY) Mini Smart Switch UNSH SS8839-16A-W

riskorja 15084 50
ADVERTISEMENT
  • #31 21106104
    wonz
    Level 12  
    I have similar product, but I have an issue with deepsleep, device not waking up from timer. What is the solution to make it working propperly?
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #34 21106115
    p.kaczmarek2
    Moderator Smart Home
    how do you setup it? I've never heard about such issue before. Were you using latest firmware version? Can you wake up it with button?
    Helpful post? Buy me a coffee.
  • #35 21106134
    wonz
    Level 12  
    >>21106115Ok PinDeepSleep [time] waking up device after time, but deepsleep [time] not working propperly - sleeps forever. Will use pindeepslep.
  • #36 21109527
    donut343
    Level 2  
    I had two of these chips from different vendors in the "My Choice" section, both labeled as DIY Mini Smart Switch. Like others mentioned, I used the below pins to solder since it came with 1.3.10 firmware; I wasnt able to extract GPIO pin layout with the tool, the software failed there, but writing was fine. Below layout worked for me:
    - Pair/Toggle All Pin on P23
    - WiFi LED on P26
    - TglChannelToggle (channel 1) on P6
    - Relay (channel 1) on P7

    I accidentally desoldered a capacitor (https://www.elektroda.com/rtvforum/topic4056582.html) but havent run into issues so far
    Image of a circuit board with GPIO pin labels written in red.
  • #37 21112434
    donut343
    Level 2  
    >>21066589

    Hi @tonyb62 that flashing jig you got looks pretty convenient, could you tell me what that construction is? Looks 3d printed?
  • #38 21125841
    brazoayeye
    Level 3  
    Hello, i have this module and i'm trying to flash it using serial.
    I connected GND to S1 and other 4 pins as described on >>20797138 , but I can't backup the flash using bk_writer1.60.
    I set the right port and 115k baud, but when i power on the device I have

    Time:11.105s
    Speed of Reading:115200bps
    reading flash:0x00000000...FAILED

    What am I missing?
    If I keep the CEN down it doesen't start to download the flash.

    And next, can you give me a guide regarding how and what to download to the cpu?
    At the end I will try to install espHome, BK7231N should be supported.

    Thanks
  • #40 21125906
    p.kaczmarek2
    Moderator Smart Home
    Here we have some flashing guides for Tuya modules, some of them are BK7231, but also BL602, etc, etc:
    https://www.youtube.com/playlist?list=PLzbXEc2ebpH0CZDbczAXT94BuSGrd_GoM
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #41 21126030
    brazoayeye
    Level 3  
    >>21125858That's right! OPENBK works well. During the entire process i haven't touched the CEN pin.

    I made a project for EspHome and it works using

    bk72xx:
    board: generic-bk7231n-qfn32-tuya

    Always uploaded w/o CEN
  • #42 21126059
    p.kaczmarek2
    Moderator Smart Home
    I've also stopped using CEN over time. It always works without CEN, and in extreme cases, when it doesn't want to reset, I just temporary short the disconnected 3.3V wire from the WiFI module side with ground and it helps. (NOTE: do not confuse and do not short the 3.3V from power supply with ground, obviously!)
    Helpful post? Buy me a coffee.
  • #43 21126063
    brazoayeye
    Level 3  
    And another tip is to use S1 instead of soldering gnd. At the end only 3 pins have to be soldered (idk if it's possible to use capacitors pins to connect 3.3V or maybe > 4V before voltage reductor) to reduce the number of small pins to solder
  • #44 21132867
    brazoayeye
    Level 3  
    Is it possible to use BK7231GUIFlashTool to flash a different BIN (made with esp home?)
  • #45 21197010
    bbv18121970
    Level 1  
    Who has this type of board, tell me what kind of SMD part and what kind of marking?
    Printed circuit board of a mini smart switch with a highlighted SMD part.
  • #46 21285993
    davidezborges
    Level 6  
    Hey there, i just bought a couple of similar devices with kind of the same configurations and pinouts but the model differs.
    is it worth it to upload some pictures and firmware dumps? if so, i'll gladly upload them here or wherever its needed.
  • ADVERTISEMENT
  • #47 21286052
    p.kaczmarek2
    Moderator Smart Home
    >>21285993 Sure, please share, you can also share 2MB flash backup if you made it without pairing it with Tuya.

    >>21197010 I would suggest finding the datasheet of the power supply IC and checking there.
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around the DIY Mini Smart Switch model SS8839-16A-W from UNSH, which utilizes the BK7231N chip. Users share experiences related to flashing the device with OpenBeken firmware using tuya-cloudcutter and discuss various pin configurations for different versions of the switch. Several users report on the ease of opening the device and the necessity of ensuring proper power management settings to avoid overheating. There are mentions of different models, including EZB-WBZS1H16N-A V1.0, and variations in PCB layouts. Users also exchange information on troubleshooting, including issues with deep sleep functionality and the use of serial connections for flashing. The community provides resources, guides, and configurations for successful firmware uploads and device management.
Summary generated by the language model.
ADVERTISEMENT