logo elektroda
logo elektroda
X
logo elektroda

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

lhakanl 531 9
ADVERTISEMENT
  • #1 21760002
    lhakanl
    Level 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 37  
    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.
  • ADVERTISEMENT
  • #3 21760156
    p.kaczmarek2
    Moderator Smart Home
    LN-CBLC5? That's another example of Tuya breaking their own naming conventions...
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 21760397
    insmod
    Level 30  
    >>21760156
    Ewelink, not Tuya.

    It's not CBLC5-compatible
    8 pins, instead of 6 on CBLC5.
  • ADVERTISEMENT
  • #5 21760450
    lhakanl
    Level 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.
  • #7 21760552
    p.kaczmarek2
    Moderator Smart Home
    Helpful post? Buy me a coffee.
  • Helpful post
    #8 21767209
    divadiow
    Level 37  
    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  
    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
    Nice clever finding, good to know. Sometimes easiest solutions are hardest to imagine.
    Helpful post? Buy me a coffee.

Topic summary

The discussion focuses on flashing the Ewelink SMART GU10 RGBWW lamp (model 570471) equipped with the LN882H chip and the LN-CBLC8 8-pin board featuring an external antenna. The lamp, sourced from AliExpress, allows easy disassembly by removing the front glass and silicone around the LED circuit board. Flashing is performed via connections from A9 to GND and RX/TX on A3/A2 pins, using a Raspberry Pi's /dev/ttyAMA0 interface and loader.py script. The LN-CBLC8 board differs from the older CBLC5 by having 8 pins instead of 6 and is not compatible with CBLC5 modules. The device uses five A-pins configured as PWM outputs for LED control. Initial flashing results are promising but include occasional random hangs and reboots. The discussion clarifies that the module is from Ewelink, not Tuya, and highlights the novelty of the LN-CBLC8 board in this context.
Summary generated by the language model.
ADVERTISEMENT