logo elektroda
logo elektroda
X
logo elektroda

How to Flash Ewelink SMART GU10 RGBWW (LN882H, LN-CBLC8) with Soft PWM and RPi

lhakanl 1086 9
ADVERTISEMENT
  • LN-CBLC8 pinout and flashing hints for SMART GU10

    #1 21760002
    lhakanl
    Level 2  
    Posts: 10
    Help: 1
    Rate: 2
    This is not a complete guide; rather, just some hints.

    Lamp ordered from AliExpress:
    https://www.aliexpress.com/item/1005006049460076.html

    Quite easy to pop off the front glass with a small screwdriver.
    Also easy to remove the silicone around the LED circuit board and then to pry it out (using a small screwdriver).

    This device uses a new (?) 8-pin LN882 board, LN-CBLC8, with an external antenna wire.

    Flashed using A9 to GND and RX/TX on A3/A2 (easily flashed from an RPI using /dev/ttyAMA0 and loader.py).

    Seems to work rather well, although with a couple of random hang/reboot issues so far.

    Code: JSON
    Log in, to see the code


    GU10 smart light bulb and packaging labeled Smart Lights on a wooden surface
    PCB with LN-CBLC8 module and LN882H chip removed from GU10 lamp housing
  • ADVERTISEMENT
  • #2 21760090
    divadiow
    Level 38  
    Posts: 5220
    Help: 449
    Rate: 918
    Do you have any more pics of the module? This might be the first time we can put a module name to these little CBLC5-like LN modules.
  • #3 21760156
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14771
    Help: 659
    Rate: 12914
    LN-CBLC5? That's another example of Tuya breaking their own naming conventions...
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 21760397
    insmod
    Level 31  
    Posts: 1432
    Help: 168
    Rate: 455
    >>21760156
    Ewelink, not Tuya.

    It's not CBLC5-compatible
    8 pins, instead of 6 on CBLC5.
  • ADVERTISEMENT
  • #5 21760450
    lhakanl
    Level 2  
    Posts: 10
    Help: 1
    Rate: 2
    Yes, CBLC8, 8 pins (or rather pads).
    GND, VCC, Antenna and 5 A-pins (used as PWMs in this case).
    Sorry, no other pictures.
  • ADVERTISEMENT
  • #7 21760552
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14771
    Help: 659
    Rate: 12914
    Helpful post? Buy me a coffee.
  • Helpful post

    LN882H PWM channel mapping and boot log

    #8 21767209
    divadiow
    Level 38  
    Posts: 5220
    Help: 449
    Rate: 918
    I bought one

    Label on GU10 smart bulb box with manufacturer details and certifications Label with barcode on EW-GU10-E light bulb box showing WiFi and voltage info. Close-up view of the RGB+C/W smart GU10 bulb PCB with LEDs and SMD components Close-up of a green PCB populated with various electronic components PCB of SY-GU10-5LKY1 bulb with capacitors and a transformer GU10 LED board with C, W, R, G, B channels and visible electronic components Close-up of a PCB with green capacitors, a resistor, and a yellow transformer. Circuit board with capacitors, transformer, and LN-882-GL Wi-Fi module Close-up of LN882H chip on a PCB inside a smart GU10 light bulb PCB board with electronic components, soldering residues, and visible wire connections Close-up of SY-GU10-5LKY V1 PCB with capacitors and resistor LN-CBLC8 module with LN882H chip on a blue background PCB module with pin labels M, A5, VCC, GND on a blue backgroundClose-up of Ewelink SMART GU10 bulb with printed technical specifications. Close-up of a GU10 LED bulb base with metal pins and a small vent hole Inside view of LED bulb with PCB and two white wires soldered to it

    eWeLink LN-CBLC8 module with pin labels and GPIO function mapping

    921600 B9 TX1:
    Code: Text
    Log in, to see the code


    linking it to here it seems: https://gitee.com/lightningsemi/ln882h/tree/colink_pwm/project/combo_mcu_colink_example

    eWeLink app:
    Add Device screen showing one found bulb named Light with ID 1002854b7d eWeLink app screen with smart bulb turned on and brightness set to 100%

    Keywords:
    XB-08513
    LN-882-GL
    SY-GU10-5LKY V1
    EW-GU10-E
    Ewelink Wifi GU10 5V AC85-265V
    Product name: Smart Bulb Model: 570471
    Manufacturer: Shenzhen New Green Energy Technologies Co Ltd Address:A3-303, Xuexiang Park, Bantian Street, Longgang District, Shenzhen, 518129, China
    Emall:coolo@outlook.com Tel: +8613760160006

    https://github.com/divadiow/FlashDumps/blob/m...ink_GU10_RGBCW_(LN-882-GL)_LN-CBLC8_1.2.9.bin
  • Helpful post
    #9 21772634
    lhakanl
    Level 2  
    Posts: 10
    Help: 1
    Rate: 2
    A quick observation. At least on my lamp, only 6–7 mm of the antenna cable was visible outside the LED circuit board.
    Pulling it fully out (to about 16–17 mm) has made the Wi-Fi reception much better.
  • #10 21772639
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14771
    Help: 659
    Rate: 12914
    Nice clever finding, good to know. Sometimes easiest solutions are hardest to imagine.
    Helpful post? Buy me a coffee.

Topic summary

LABEL_AI_GENERATED
Discussion about flashing an Ewelink SMART GU10 RGBWW lamp from AliExpress using an LN882H-based LN-CBLC8 board with an external antenna wire. The lamp can be opened by removing the front glass and silicone around the LED PCB, then flashed via A9 to GND and RX/TX on A3/A2 using an RPi serial port (/dev/ttyAMA0) and loader.py. The board is identified as an 8-pad LN-CBLC8 variant, not compatible with CBLC5, with GND, VCC, antenna, and five A-pins used as PWM outputs. The device was added to the OpenBeken device list, and later testing showed that extending the visible antenna wire length improved Wi‑Fi reception significantly, though some random hangs/reboots were observed.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT