logo elektroda
logo elektroda
X
logo elektroda

Heruled Tuya WiFi Smart LED Controller - Lightning Semiconductor LN8825B chip

divadiow 4503 38
ADVERTISEMENT
  • #31 21243234
    divadiow
    Level 35  
    hot air yes. Maybe I'm being a little ambitious. I guess I'd need to sort aerial and oscillator as minimums. hmmm.

    I've just watched this https://www.youtube.com/watch?v=eSbZMZ7Y9IU
    Code: Text
    Log in, to see the code


    I'm looking through the datasheet and talking to ChatGPT about it.

    Added after 35 [minutes]:

    Actually, I might chicken out and look to just get some magnet wire to route all the test pads out to breadboard or rows of jumper headers. Use existing PCB and casing.
  • ADVERTISEMENT
  • #32 21262264
    divadiow
    Level 35  
    they're dinky little things. Will start with enamelled wire and case hacking approach first though.

    Microcontroller, wire coils, and a Sharpie marker on a table.
  • ADVERTISEMENT
  • Helpful post
    #33 21262268
    p.kaczmarek2
    Moderator Smart Home
    You will also need to add 100nF capacitors between VDD and GND pins for stable operation. At least one I guess. I'm not sure about other LN8825B pins, but often microcontrollers require a bit more components, like this 12k resistor for ESP8266:
    ESP8266 microcontroller connection diagram with capacitors and resistor.
    Helpful post? Buy me a coffee.
  • #34 21262290
    divadiow
    Level 35  
    thank you. maybe that kind of transplant is for another day. Oddly I've chosen 0.8 and 0.2mm wire, something in the middle might have been better. What selections of magnet wire do y'all keep?
  • #35 21262320
    p.kaczmarek2
    Moderator Smart Home
    You can still try, it's not that hard if you do clean soldering. I've did something similiar in the past, but not with QFN. Only TQFP at most. See:
    Universal starter boards for various SMD microcontrollers with a prototype area
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #36 21264697
    divadiow
    Level 35  
    A start. all 32 pins have continuity to outer header. No shorts. Seems I need to power 6 legs in total with 3.3v and, from what I understand, a 0.1 µF capacitor should be used for each.

    Code: Text
    Log in, to see the code


    PCB module with a QFN32 chip on a blue background. Five orange ceramic capacitors 0.1 µF on a blue electronics work mat.

    hoping I don't lose steam with it!

    Added after 8 [hours] 28 [minutes]:

    and yes, there is continuity between all 6 pads on the original PCB

    Close-up of a circuit board with a highlighted integrated circuit and solder connections. Pin layout diagram of an integrated circuit with highlighted power pins.

    Added after 1 [hours] 53 [minutes]:

    Diagram of LN8825B module with 32 pins labeled.
  • ADVERTISEMENT
  • #37 21265131
    p.kaczmarek2
    Moderator Smart Home
    Very good. Don't worry about placing all capacitors. From my experience, if there are multiple internally connected VDD pins, you can just use one 100nF capacitor for the start and it should work, more or less. For testing only, not for production. When I ran PIC32MZ on proto board, I didn't solder as many 100nF caps as there are VDDs.
    Of course, if there is some other pin that requires a capacitor, like, idk, "VDDCORE", and it's not connected to VDD, then you still need to solder that capacitor.
    Helpful post? Buy me a coffee.

Topic summary

The Heruled Tuya WiFi Smart LED Controller is based on the Lightning Semiconductor LN8825B chip, which is relatively undocumented and unsupported in common forums. Initial attempts to identify or flash the device failed due to lack of SDK and boot log access, possibly caused by reversed power polarity damaging the unit. Subsequent efforts revealed partial UART boot logs indicating a Tuya RTOS SDK dated 2020, suggesting similarity to the LN882x family, including the LN882H WiFi&BLE combo chip. Attempts to flash LN882H firmware onto LN8825B devices were unsuccessful, confirming incompatibility. Official LN8825B flashing tools and firmware dumps from Lightning Semiconductor FTP were found, with some RF test binaries booting and producing UART output, though no visible WiFi SSIDs appeared. Resources and firmware for LN8825B modules MOL100D0 and MOL100P0 were shared, including AT command firmware enabling UART interaction. Hardware transplant experiments involve desoldering the LN8825B QFN32 chip for prototyping, requiring a 40 MHz crystal oscillator and proper power supply decoupling with 100nF capacitors on multiple 3.3V power pins (VDD33, VDDA33, VIO1, VIO2). Pinouts differ from LN882H modules, complicating direct hardware swaps. Community members are exploring SDKs from Lightning Semiconductor's gitee repository and other sources, though some links are dead or restricted. Overall, the LN8825B chip remains challenging for custom firmware development and hardware hacking, but progress is ongoing with shared firmware dumps, flashing tools, and hardware reverse engineering.
Summary generated by the language model.
ADVERTISEMENT