logo elektroda
logo elektroda
X
logo elektroda

Litemate LM044 SmartHome LED Lamp Teardown: WiFi, BK7231N, BP5758 Driver

smitty1 411 5
ADVERTISEMENT
  • Helpful post
    #1 21499948
    smitty1
    Level 3  
    Teardown of Litemate LM044: SmartHome WiFi LED Lamp 9W B22 BK7231N (CBLC5) with BP5758 driver

    Packaging:
    Litemate LED bulb packaging with WiFi and multicolor light function.

    Bulb with markings:
    Litemate LED bulb with a white shell and metal base.

    Prise out the press fitted electrical contacts:
    A GU10 light bulb socket with metal contacts and a purple knife blade pointing at the contacts.

    Loosen silicone sealant before twisting the plastic bulb cover back and forth to free it:
    LED bulb cut with a knife with a purple handle.

    First sight of the BP5758 driver and four pin connector surrounded by Red, Green and Blue LEDs as well as Cool and Warm white LEDs:
    Close-up of the inside of an LED bulb showing LEDs and electronic components.

    Close up of driver, and LEDs:
    Close-up of a round LED board with multicolored diodes.

    Board CX2228 with daughter-board CBLC5:
    Circuit board with various electronic components.

    Bottom of board showing traces and SMDs:
    Green printed circuit board with electronic components and wires.

    Back of daughter-board CBLC5 :
    Image of a section of a printed circuit board with various electronic components and markings.

    Front of daughter-board CBLC5 with BT7321N behind sticker:
    Close-up of electronic components, including a labeled capacitor and an integrated circuit.

    Front of daughter-board CBLC5 with sticker removed to show BT7321N:
    Close-up of an electronic circuit with visible chip elements and a gold component.


    Tracing data and clock pins
    J4 - P4 on BP5758 SCL
    J3 - P3 on BP5758 SDA
    J2 -
    J1 - P2 on BP5758 High Voltage Input

    J4 - CBLC5 PWM0 P6
    J3 - CBLC5 PWM4 P24

    Ergo:
    BP5758 S-Clock =PWM0 (P6)
    BP5758 S-Data = PWM4 (P24)

    Mapping order:
    Red: 1
    Green: 0
    Blue: 2
    Cool: 4
    Warm: 3

    Pin-out References:
    https://github.com/dbuezas/esphome-bp5758/blob/main/BP5758D_EN_DS_Rev.1.1.pdf
    https://docs.libretiny.eu/boards/cblc5/#pinout
    AI: Did you encounter any issues or have specific questions about the components or functionality during the teardown?
    Order of LEDs was off but specifying a mapping order sorted that out.
  • ADVERTISEMENT
  • #2 21502002
    divadiow
    Level 34  
    Code: JSON
    Log in, to see the code


    https://github.com/OpenBekenIOT/webapp/commit/9a1a2d096dfde4fbce3998f92f192be09e69d487

    did you set powersave?
    did you happen to take a factory firmware backup?
    you can also set current with BP5758D_Current command - your factory values may be in boot log from original firmware and/or in config extraction json

    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands-extended.md
    Documentation snippet with highlighted text BP5758D_Current.
  • ADVERTISEMENT
  • #3 21502540
    smitty1
    Level 3  
    >>21502002

    I did not try to set powersave.

    I did save this from a couple of bulbs:
    BK7231N_TuyaConfig_obk0868????.bin

    Would that contain the factory values?
  • ADVERTISEMENT
  • #4 21502814
    divadiow
    Level 34  
    maybe.
    run it through easy flasher
    Screenshot of the BK7231 Easy UART Flasher with an open section for loading configuration.
  • ADVERTISEMENT
  • #5 21509069
    smitty1
    Level 3  
    >>21502814

    I would have, but I don't have any Windows machines, and trying to use Mono was a failure.
  • #6 21509080
    divadiow
    Level 34  
    Feel free to send it me and I'll have lookie
ADVERTISEMENT