logo elektroda
logo elektroda
X
logo elektroda

Shenzhen Manhe Intelligent WB01 Single-Gang Touch Switch from Manhot Store on AliExpress [BK7231N]

divadiow 1032 8
ADVERTISEMENT
  • Helpful post
    #1 21161170
    divadiow
    Level 35  
    Hi. Here's a quick look at a nice easy single-gang touch sensitive switch. Going on the printed label on the box, it appears to be from Shenzhen manhe Intelligent Technology Co., Ltd.

    It was from the Manhot Official Store on Ali Express https://www.aliexpress.com/item/1005005912896498.html
    Black 1-gang touch switch with price and promotion.

    Screenshot of settings on a mobile device with the backlight switch turned on. Device update screen showing no updates available. Screen of an app controlling a touch switch with an option to edit the switch name. App screen showing a successfully added WB01 device. Close-up of a circuit board with a white panel and a glowing blue LED. Touch switch on a green PCB with connected wires. Close-up of the interior of a touch switch with an exposed PCB and components. Circuit board of a single touch switch. Dismantled touch switch with visible electronic components on a PCB. Close-up of a printed circuit board with a green circuit mounted in a black housing. Disassembled touch switch with visible PCB and casing. Installation diagram and app download instructions for a touch switch. Instruction manual for a WiFi Smart Touch Switch. Product box with Eurogauge-Black-1 Road label. Rectangular black touch switch next to a purple box and instruction manual.

    Curiously it comes with an additional MCU but I don't think the BK7231N knows about it. There are no communications I could detect with TuyaMCU Analyser and the config extraction makes no mention of one or a baud rate. tuyaMcu_sendQueryState returns no result. I think the MCU is just changing the status of the red/blue switch LED on touch panel contact which is not referenced in the extracted config. The only LED in user_params is the wifi status.

    - Button (channel 1) on P24
    - WiFi LED on P6
    - Relay (channel 1) on P20

    Code: JSON
    Log in, to see the code


    Possibly it would have a greater part to play depending on what these missing components are
    Circuit board with a BK7231N chip and exposed test pads.

    Using that product key in a search reveals a selection of similar devices, though most seem to have a CB3S module (which is also referenced in the json for this device), which this unit clearly does not have.

    To the extent of flashing OpenBeken, these test pads were traced and UARTs used successfully
    Touch switch PCB with connector labels.

    None of the test pads are UART2, so boot log was captured with a sewing needle connected directly to the UART2_TXD pin of the BK7231N, T34 stylee.

    Code: Text
    Log in, to see the code


    v1.3.5 known patched = no cloudcutter.

    In the gang of 4 test pads at the bottom, the middle two were tested for JLink SDA connectivity but they do not appear to be so.

    To aid me in tracing I made this to orient myself.

    BK7231N pin layout and orientation with visible chip

    Upon flashing and import of the extracted config we have a 100% working device with behaviour like that of the factory firmware.

    -button backlight and wifi LED flash when connecting to wifi and then solid blue when connected
    -switch off = blue backlight hue
    -switch on = red backlight hue

    personally, red signals off for me, but I guess red could also be interpreted as "hot", live, on.








    Template
    Code: JSON
    Log in, to see the code


    OpenBekenX user interface with Toggle 1 button

    https://github.com/OpenBekenIOT/webapp/pull/134
  • ADVERTISEMENT
  • #2 21525827
    neutronite
    Level 3  
    Hello @divadiow Thank you for the write up, I came across this recently and because of your detailed instructions I decided to order this switch, however I have been trying to follow your instruction to flash it but I have not had any success so far, please how do I get it to enter flashing mode? Thank you
  • ADVERTISEMENT
  • #3 21525887
    divadiow
    Level 35  
    hi. OK. how long are your wires from device to USB-TTL adaptor? How are you supplying the 3.3v to device? If you have pics of your setup that would definitely help.
  • ADVERTISEMENT
  • #4 21526254
    neutronite
    Level 3  
    Thank you, the data wires are short, I used external power from a 12v adapter and a buck converter set to 3.33v. I couldn't get it to flashing mode no matter how many rebooting I did, and I also couldn't recognize CEN on the board to ground, easy flasher was set to 115200 baud rate, attached are some pictures

    A PCB connected to a laptop and external power supply, with visible wires and illuminated LED indicators.
    Screenshot of BK7231 Easy UART Flasher showing Interrupted by user and repeated failed bus connection attempts.
  • #5 21526266
    divadiow
    Level 35  
    I'm in daylight on my phone at the moment so the pic is a little hard to make out but do I see the USB-TTL not in common ground with the ext PSU?
  • #6 21526298
    neutronite
    Level 3  
    Thank you, sorry about the picture, yes the USB-TTL GND is not connected to the ext PSU GND, is it supposed to be?
    Electronic components connected by wires, including a PCB, USB programmer, and power module.
  • ADVERTISEMENT
  • #7 21526305
    divadiow
    Level 35  
    Yes. Common ground with device, usb adaptor and psu
  • #8 21526348
    neutronite
    Level 3  
    Thank you so much for your help, this still doesn't work for me, please can I use tuya-cloudcutter

Topic summary

The discussion focuses on the Shenzhen Manhe Intelligent WB01 single-gang touch switch purchased from the Manhot Official Store on AliExpress. The main technical challenge is entering the device's flashing mode to update or modify firmware. Key troubleshooting steps include verifying wiring connections, specifically ensuring a common ground between the USB-TTL adapter, external power supply (12V adapter with buck converter to 3.3V), and the device. The user experienced difficulty triggering flashing mode despite correct baud rate settings (115200) and reboot attempts. The importance of common ground for UART flashing was emphasized. Alternative firmware flashing options such as using Tuya-CloudCutter depend on the device's firmware version. Power supply adequacy and device boot behavior were also highlighted as critical factors for successful flashing.
Summary generated by the language model.
ADVERTISEMENT