logo elektroda
logo elektroda
X
logo elektroda

WB03A Chip Pinout and Identification for 3Gang Smart Switch Soldering

rufus33 1032 16
Best answers LABEL_AI_GENERATED

What chip is the WB03A in my 3-gang Tuya smart switch, and what are its pinouts for soldering and flashing?

The WB03A module is identified as an LN882H module, not BK723x or ESP8684, and it uses a QFN32 chip with a 40 MHz crystal [#21839017][#21839043] For wiring and flashing, use A3 as RX, A2 as TX, and A9 as BOOT; connect BOOT to GND before powering up to enter flashing mode [#21839043] To capture boot logs, a USB-UART adapter and a terminal app can be used, with 115200 or 921600 as likely baud rates [#21839017] After backing up the firmware, enable flag 13 in the OpenBeken web app and watch which GPIO changes when pressing each button to map buttons, LEDs, and relays [#21908614]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
  • Request for WB03A pinout and chip identification

    #1 21836503
    rufus33
    Level 4  
    Posts: 10
    Rate: 1
    I got a new 3-gang switch, but this chip is labelled WB03A. I really need help
    Opened three-gang wall switch: green PCB with radio module and three tactile buttons next to the cover
    on its pinouts to solder and what kind of chip this is. Back of a “WiFi Smart Switch” BW1 module with terminals labeled L, L1–L3, and N
    Blue WB03A electronic module with PCB antenna on a green printed circuit board

    PCB in a white case with three tactile switches and a blue module with a printed antenna


    AI: Can you provide the brand and full model number of your 3-gang Smart Switch?
    Generic Powered By Tuya Logo
  • ADVERTISEMENT
  • #2 21836555
    divadiow
    Level 38  
    Posts: 5216
    Help: 448
    Rate: 917
    Maybe an RTL8720CM?

    is there any readable text on the square black chip? I can't see anything in the pics.
  • #3 21836710
    insmod
    Level 31  
    Posts: 1432
    Help: 168
    Rate: 455
    Definitely not BK723x (26mhz XTAL), RTL8720CM (requires external flash chip) or RTL8720CF (QFN40). This one is QFN32 with 40mhz XTAL.
    W800? LN882H?
  • #4 21837219
    rufus33
    Level 4  
    Posts: 10
    Rate: 1
    >>21836710
    Here are some extra photos.
    Attachments:
    • WB03A Chip Pinout and Identification for 3Gang Smart Switch Soldering WhatsApp Image 2026-02-13 at 9.20.20 AM.jpeg (175.83 KB) You must be logged in to download this attachment.
    • WB03A Chip Pinout and Identification for 3Gang Smart Switch Soldering WhatsApp Image 2026-02-13 at 9.20.21 AM.jpeg (133.42 KB) You must be logged in to download this attachment.
    • WB03A Chip Pinout and Identification for 3Gang Smart Switch Soldering WhatsApp Image 2026-02-13 at 9.20.21 AM (1).jpeg (150.23 KB) You must be logged in to download this attachment.
    • WB03A Chip Pinout and Identification for 3Gang Smart Switch Soldering WhatsApp Image 2026-02-13 at 9.20.21 AM (2).jpeg (155.04 KB) You must be logged in to download this attachment.
  • #5 21837258
    divadiow
    Level 38  
    Posts: 5216
    Help: 448
    Rate: 917
    kinda looks like a Lightning Semi cube

    Close-up of two PCB chips, including one labeled “LIGHTNING LN882HKI”.

    anyway, you could just capture boot log. Maybe from one of these if theyre TXs like other 12F modules

    Close-up of WB03A PCB module on green board with red handwritten notes “Tx?” and “-Tx?”
  • ADVERTISEMENT
  • #6 21837295
    rufus33
    Level 4  
    Posts: 10
    Rate: 1
    May I ask what software you use to capture boot logs?
  • Helpful post
    #8 21839017
    insmod
    Level 31  
    Posts: 1432
    Help: 168
    Rate: 455
    Doubtful, if Tuya.
    ESP8684 is QFN24, your is QFN32.
    Plus, it almost always comes with 26MHz XTAL, you have 40MHz.

    To capture logs, use any terminal app and USB-UART converter.
    Possible baud rates - 115200 and 921600.
  • ADVERTISEMENT
  • #9 21839035
    rufus33
    Level 4  
    Posts: 10
    Rate: 1
    >>21839017 I managed to desolder the chip, here is the rear view. I really don't know which one is TX and RX.
    Attachments:
    • WB03A Chip Pinout and Identification for 3Gang Smart Switch Soldering WhatsApp Image 2026-02-15 at 3.17.55 PM.jpeg (160.15 KB) You must be logged in to download this attachment.
  • #11 21839047
    divadiow
    Level 38  
    Posts: 5216
    Help: 448
    Rate: 917
    yay. and definitely do the backup first :)

    Added after 5 [minutes]:

    and, if you're happy to, share the file with us so we can poke at it
  • Tuya section starts at default LN882H offset

    #12 21908592
    rufus33
    Level 4  
    Posts: 10
    Rate: 1
    >>21839047 Oh, no.. Now I’m really stuck.
    WB03A Chip Pinout and Identification for 3Gang Smart Switch Soldering
    Code: JSON
    Log in, to see the code


    Sorry, no meaningful pins data found. This device may be TuyaMCU or a custom one with no Tuya config data.
    No module information found.
    And the Tuya section starts at 2015232 (0x1EC000), which is a default LN882H offset.
    readResult...-48-07.bin (2 MB)You must be logged in to download this attachment.
  • ADVERTISEMENT
  • Use flag 13 and GPIO finder to map buttons, LEDs, and relays

    #13 21908614
    divadiow
    Level 38  
    Posts: 5216
    Help: 448
    Rate: 917
    enable flag 13 then watch to see which pin's logic level change as you push each button on main gui page. then you've nailed your buttons.

    use GPIO dr/finder in web app to find LEDs and relays. bear in mind you only have the pool of pins labelled on rear of module to check.

    A1 should be one your buttons, I've reset your dump with it to get this clean boot log:

    Code: Text
    Log in, to see the code
  • #14 21908726
    rufus33
    Level 4  
    Posts: 10
    Rate: 1
    >>21908614 Oh nice nice, flag 13 really helped a lot, managed to find the buttons, WiFi led and the relays. All working now. Thank you so much, really appreciate everyone's help.
  • #15 21909116
    divadiow
    Level 38  
    Posts: 5216
    Help: 448
    Rate: 917
    oh cool. very good.

    What's your final device template so we can add it to the device list?
  • #16 21914442
    rufus33
    Level 4  
    Posts: 10
    Rate: 1
    >>21909116 {
    "vendor": "Tuya",
    "bDetailed": "0",
    "name": "Tuya generic 2 gang switch",
    "model": "Generic",
    "chip": "LN882H",
    "board": "TODO",
    "flags": "134218756",
    "keywords": [
    "TODO",
    "TODO",
    "TODO"
    ],
    "pins": {
    "1": "Btn;1",
    "3": "WifiLED;0",
    "5": "Btn;2",
    "20": "Rel;2",
    "22": "Rel;1"
    },

Topic summary

LABEL_AI_GENERATED
Discussion about identifying the WB03A-marked chip in a 3-gang Tuya smart switch and finding its pinout for soldering, UART access, backup, and flashing. Initial guesses included RTL8720CM, BK723x, W800, and LN882H, with clarification that the device is QFN32 with a 40 MHz crystal, not ESP8684 or RTL8720 variants. After desoldering and inspecting the rear side, the chip was identified as an LN882H module. UART pins were mapped as A3 = RX, A2 = TX, and A9 = BOOT, with BOOT tied to GND before power-up to enter flashing mode. Using OpenBeken tools and boot log capture, the buttons, Wi‑Fi LED, and relays were mapped by toggling GPIO flags and checking logic changes. The final device template was prepared as a Tuya generic switch based on LN882H, and the extracted dump showed Tuya configuration data but no meaningful pin metadata.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT