logo elektroda
logo elektroda
X
logo elektroda

[LN882H] GU10 RGBCW Bulb with new VERY tiny LN882HKI module [BP5758]

XJ_ 3333 12
ADVERTISEMENT
  • LN882HKI module with labeled pins.
    This is a teardown GU10 RGBCW Bulb with new VERY tiny LN882HKI module, which I've never seen before. Obviously, this device is also supported by OpenBeken, so you can free it from the cloud and use with Home Assistant. Here are the details...

    Device can be bought here:
    https://www.aliexpress.com/item/1005005881188...o.order_list.order_list_main.4.4e951802GSrd1g

    Pin connections for LOG
    VCC <- 3V3
    GND <- GND
    B8 (TX1) -> RX (log is using baudrate 921600)

    Pin connections for backup and flash
    VCC <- 3V3
    GND <- GND
    A3 (RX0) <- TX
    A2 (TX0) -> RX
    A9 -> GND

    Backup was done using
    LN882H_Flash_Dumper.py COM3 backup 0x0200000
    It took about 10 minutes, but the dump is fine

    Upload was done (of course after power off/on module to activate bootmode) using:
    LN882H_CMD_Tool COM3 download flash 2000000 0x0 OpenLN882H_1.17.586.bin
    It took about only 4 seconds - but no error and everything seems to be ok

    Just to be sure, I've used baudrate 115200
    LN882H_CMD_Tool COM3 download flash 115200 0x0 OpenLN882H_1.17.586.bin
    It took about 60 seconds now

    After restarting the module
    - on TX1 is there something like "start console ok...."
    - on TX0 is there OBK std output...

    Next step was to set WiFi using std. procedure over OBK AP (192.168.4.x)

    I had problems with the WiFi connection, because the antenna is on the power supply board, and I flashed it as just the module itself (meaning without the antenna). I had to put the module close (1m) to the WiFi AP to make it working. After soldering module later back into the power supply board, the WiFi worked normally.

    Bulb has just two active pins to rule the BP5758.
    I've discovered this:
    A0 - BP5758D_CLK
    A1 - BP5758D_DAT

    Last thing was to change color map, because red was blue a blue was red.
    I've added OBK Startup command to solve it:
    BP5758D_Map 2 1 0 3 4

    JSON:
    Code: JSON
    Log in, to see the code


    Everything OK, the bulb is working OK. The only strange thing is, that the internal temperature (on OBK module web status) is over 100°C, when the light is on.

    Screenshot of the OpenLN882H user interface featuring LED brightness/dimmer slider, RGB color, LED temperature slider, internal temperature information, and WiFi signal strength.

    Here the OBK web and config:
    User interface of the OpenLN882H module configuration for a bulb.
    OpenBeken interface with startup settings for module Pin configuration in the OpenBeken panel for the OpenLN882H module.

    Here the HASS:

    Configuration panel for LN882H module with MQTT and event log. User interface for GU10 light control with LN882HKI module.

    Here the pinout:
    LN882HKI module with labeled pins.

    And finally the module pictures:

    Image of a round electronic module board with a small connector in the center. Printed circuit board module LN882HKI with electronic components. Close-up of a small electronic module on a circuit board with various components. Close-up of an electronic module with visible pins and prints on a green board. Electronic module of the GU10 bulb with visible components. Open GU10 RGB bulb with visible electronic module. Close-up of the control module for a GU10 LED bulb. Interior of a GU10 LED bulb showing LED diodes and BP5758 module. LN882HKI module on a blue background Close-up of LN882HKI module on a white printed circuit board. LN882HKI module on a blue background, showing solder points and pin labels. Close-up of LN882HKI module on a circuit board. Electronic module with capacitors on yellow insulating tape Close-up of the LN882HKI electronic module on a GU10 bulb circuit board with electronic components.

    Cool? Ranking DIY
    About Author
    XJ_
    Level 11  
    Offline 
    XJ_ wrote 135 posts with rating 32, helped 11 times. Been with us since 2024 year.
  • ADVERTISEMENT
  • #2 21086437
    p.kaczmarek2
    Moderator Smart Home
    Thank you for sharing. The used module seems similiar to CBLC5. Maybe it's an LN882HKI version of that?
    Here is original CBLC5:
    Close-up of CBLC5 module with component labels.
    Helpful post? Buy me a coffee.
  • #3 21086538
    XJ_
    Level 11  
    p.kaczmarek2 wrote:
    Thank you for sharing. The used module seems similiar to CBLC5. Maybe it's an LN882HKI version of that?

    I agree, it looks like. Its pinout compatible. Unfortunately, I couldn't find anything on the module, what would appear to be a type. There is only a date on the QR code - 202401090239F. I couldn't even find similar anywhere on the net (LN882).

    Added after 56 [minutes]:

    Another bulb using same module is here https://www.elektroda.com/rtvforum/topic4037269.html by gregmarfaing

    Added after 1 [minutes]:

    Strange behavior:
    The module displays a high temperature even when the light is off. After 5 minutes the OBK shows an internal temperature of about 65°C and stay within that range - it's not OK, it should be much lower.
    After turning on, the temperature raises to 105°C in 3 minutes, and after a next few minutes it stop responding to requests. The bulb continues to glow as it was set.
  • ADVERTISEMENT
  • #4 21086701
    p.kaczmarek2
    Moderator Smart Home
    There are few things that can be done to reduce the heating of your module:
    - first of all, you can enable PowerSave 1 in short startup command or in (if supported) LittleFS file autoexec.bat
    - then you can also tune the currents of BP5758 driver, maybe factory settings were using a lower current limit? Look up the command BP5758D_Current in our documentation
    - finally, keep in mind that all those modern LED bulbs are designed in such a way that overheating is expected, they do it to shorten the lifespan of the LEDs. I think you can easily benefit by just slightly lowering the drive current below the threshold set by the manufacturer. That way your LEDs will really be able to last longer.
    Helpful post? Buy me a coffee.
  • #5 21086836
    max4elektroda
    Level 20  
    The high temperature is a known problem, the module itself gets quite hot, the surrounding (especially with heating LEDs) will make it even hotter.
    You probably should try if powerSave 2 is an option for you, maybe first try as user command.
    It should reduce the temperature significantly, but makes WiFi a bit unsteady.
    But a sometimes slow WiFi is probably better than no WiFi...
  • ADVERTISEMENT
  • #8 21088962
    p.kaczmarek2
    Moderator Smart Home
    The best way to get some info: https://www.elektroda.com/rtvforum/find.php?q=LN882HKI
    Second best way: https://openbekeniot.github.io/webapp/devicesList.html
    but we may need to improve search function on devices list... or make sure that all we have is listed there
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 21204636
    insmod
    Level 25  
    I've got 6 of those fxpot GU10 bulbs, for about $1.5 each. Except that they are bluetooth versions (AK801 mcu?), but otherwise are identical. I've replaced the modules with ESP8684-WROOM-07, each for about $1.1. Ultimately, the resulting mod ended up costing less than if I had bought the Wi-Fi version specifically.
    ESPHome code, if interested:
    Spoiler:

    
    esphome:
      name: "gu10-8684-fxpot-1"
      friendly_name: gu10_8684_fxpot_1
      compile_process_limit: 1
      platformio_options:
        board_build.flash_mode: qio
        board_build.flash_size: 2MB
        board_build.maximum_size: 2097152
        board_build.partitions: "/config/esphome/partitions-esp8684-2mb.csv"
    
    esp32:
      board: esp32-c2-devkitm-1
      variant: esp32c2
      flash_size: 2MB
      framework:
        type: esp-idf
        platform_version: https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF52
        version: 5.2.2
        sdkconfig_options:
          CONFIG_COMPILER_OPTIMIZATION_SIZE: y
          CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT: y
          CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE: y
          CONFIG_ESP_WIFI_ENABLE_WPA3_SAE: n
          CONFIG_ESP_WIFI_SOFTAP_SUPPORT: y
          CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT: n
          CONFIG_LWIP_IPV6: n
          CONFIG_NEWLIB_NANO_FORMAT: y
          CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT: y
          CONFIG_XTAL_FREQ_26: y
          CONFIG_HAL_ASSERTION_SILENT: y
          CONFIG_HAL_LOG_LEVEL_ERROR: y
          CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA: n
          CONFIG_VFS_SUPPORT_IO: n
    
    external_components:
      - source:
          type: local
          path: custom_components
        components: [internal_temperature]
    
    # Enable logging
    logger:
      baud_rate: 74400
    
    <<: !include base/ota.yaml
    
    <<: !include base/wifi_psk_both.yaml
        
    bp5758d:
      data_pin: GPIO4
      clock_pin: GPIO5
    
    output:
      - platform: bp5758d
        id: blue
        channel: 1
        current: 8
      - platform: bp5758d
        id: green
        channel: 2
        current: 8
      - platform: bp5758d
        id: red
        channel: 3
        current: 8
      - platform: bp5758d
        id: warm
        channel: 4
        current: 8
      - platform: bp5758d
        id: cold
        channel: 5
        current: 8
    
    light:
      - platform: rgbww
        restore_mode: RESTORE_DEFAULT_ON
        name: "Light"
        red: red
        green: green
        blue: blue
        cold_white: cold
        warm_white: warm
        cold_white_color_temperature: 6500 K
        warm_white_color_temperature: 2700 K
        color_interlock: true
    
    sensor:
      - platform: wifi_signal
        name: WiFi Signal Sensor
        update_interval: 3600s
      - platform: internal_temperature
        name: "Internal Temperature"
        update_interval: 120s
    

    partitions-esp8684-2mb.csv
    
    # Name,   Type, SubType, Offset,   Size, Flags
    nvs,      data, nvs,     ,        0x4000,
    otadata,  data, ota,     ,        0x2000,
    phy_init, data, phy,     ,        0x1000,
    app0,     app,  ota_0,   ,        0xE0000,
    app1,     app,  ota_1,   ,        0xE0000,
    

  • #10 21204763
    XJ_
    Level 11  
    >>21204636 how did you fit the module in there? ESP8684-WROOM-07 is twice as big.
  • #11 21204836
    insmod
    Level 25  
    >>21204763 Bigger? I haven't noticed. It is the same form-factor, as CBLC5/WBLC5.
    According to espressif datasheet, dimensions are the same.
    From tuya:
    The CBLC5 dimensions are 8.5±0.35 mm (W)×12.7±0.35 mm (L) ×2.6±0.15mm (H).

    From espressif https://www.espressif.com/sites/default/files/documentation/esp8684-wroom-07_datasheet_en.pdf
    8.5±0.2, 12.7±0.2, 2.6±0.2
  • #12 21205167
    XJ_
    Level 11  
    >>21204836 of course you are right. I don't know why but I saw wroom 03.

Topic summary

The discussion revolves around the GU10 RGBCW bulb featuring the new LN882HKI module, which is compatible with OpenBeken for integration with Home Assistant. Users have noted similarities between the LN882HKI and the CBLC5 module, particularly in pin compatibility. Concerns were raised about the module's overheating issues, with reported internal temperatures reaching 105°C. Suggestions for mitigating heat include enabling PowerSave modes and adjusting the BP5758 driver currents. Additional insights include the identification of a similar bulb model and the challenges of fitting alternative modules like the ESP8684-WROOM-07 into the bulb's housing. The conversation also highlights the need for better documentation and search capabilities for these devices.
Summary generated by the language model.
ADVERTISEMENT