logo elektroda
logo elektroda
X
logo elektroda

LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help

keops50 4902 7
ADVERTISEMENT
  • #1 20411879
    keops50
    Level 8  
    Hello, I opened this RGBCW bulb from LSC and I found a BK7231T inside. I programmed it with openBK but now... I don't know how to control the LEDs. There is no usual LED controller, but this BP5768 with 10 pins instead of 8. I cannot find any information on it on the internet. Does anyone found this chip ?


    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
  • ADVERTISEMENT
  • #2 20412077
    p.kaczmarek2
    Moderator Smart Home
    Hello, the first step is to determine whether it's possible to control your colours by raw PWMs, with no "i2c" drivers.
    BK7231 has 6 possible PWM pins:
    PWM0I/OGPIOP_6, which is connected to the P6 pin on the internal IC
    PWM1I/OGPIOP_7, which is connected to the P7 pin on the internal IC
    PWM2I/OGPIOP_8, which is connected to the P8 pin on the internal IC
    PWM3I/OGPIOP_9, common GPIO, which is connected to the P9 pin on the internal IC
    PWM4I/OGPIOP_24, common GPIO, which is connected to the P24 pin on the internal IC
    PWM5I/OGPIOP_26, which is connected to the P26 pin on the internal IC

    Considering that your bulb is RGBCW (so it requires 5 PWMs), if you set 5 of those pins roles to PWM, you should get some control and then you can work from there, see which channels are swapped.

    Please try. Or just apply some random PWM-based bulb template in Web App.

    Then double check - are you able to get any light at all? If no, then we can start worrying and assume that your bulb is using a custom "i2c" driver like SM2135 or SM2235.

    But it doesn't look like it - your photo is showing that there is 2x4 gold pin header going to LED board. That's whole 8 signals! So many signals are usually not needed for "i2c" drivers, that would suggest your LED is using just simply PWMs.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20412523
    keops50
    Level 8  
    Hello Kaszmarek, I tried all the PWM pins and no light at all... So I think it is I2C. The other 2 pins that you see next to the 2x4 connector are Antenna and Gnd.
    And on the BP5768 chip, 4 pins (let's say 3 because 2 are connected) are used for data, 1 and 8 are directly connected to the chip and from these 2 pins, there are 2 components both connected to pin 27. But those components look like capacitors... not 2 resistors to 3v3 for SDA and SCK... But maybe I'm wrong... I will measure them when I'm home.

    And if it is I2C, can I control them?
  • #4 20412563
    p.kaczmarek2
    Moderator Smart Home
    I can see PWMC and PWMW markings on the board...
    But according to this topic:
    https://www.elektroda.com/rtvforum/topic3947431.html
    BP5768 is seemingly possible to control with our BP5758 driver. Maybe it's some kind of chip variant, but with the same protocol. Can you try?
    Helpful post? Buy me a coffee.
  • #5 20413323
    keops50
    Level 8  
    Hello p.kaczmarek2, I changed the P24 to BP5758D_CLK and P26 to BP5758D_DAT.

    I saved that autoexec.bat to "BP5758D_Map 2 1 0 3 4", like in that example and now when I'm pressing Toggle light is working as Toggle, but the bulb color is green. The LED RGB COLOR picker is changing the brightness of the green color and if I'm changing something in the LED Temperature Slider the bulb turns off and nothing works anymore.

    I need to restart the bulb to be able to turn it on again.

    So I think I need to play with the BP5758D_Map but there are so many possible combinations...
  • ADVERTISEMENT
  • Helpful post
    #6 20413376
    p.kaczmarek2
    Moderator Smart Home
    Wait, you don't have to do it randomly. Once you set something like "BP5758D_Map 2 1 0 3 4", and you know, that, for example, changing RED colour (index 0) changes blue (index 2), then you know that you have to swap 2 and 0 here....
    Helpful post? Buy me a coffee.
  • #7 20415257
    keops50
    Level 8  
    Thanks p.kaczmarek2, I changed the settings as in the photos attached and now is working ok.

    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help

    And Thanks for this useful project :wink:

    LSC Smart Connect RGBCW Bulb: BK7231T & Uncommon BP5768 10-Pin LED Controller Help
  • ADVERTISEMENT
  • #8 20415290
    p.kaczmarek2
    Moderator Smart Home
    Thanks, all donations are spent on new devices for teardowns and for videos.

    I will add your pinout/remap data to the templates database.

    If you want to learn more about OBK, please consider visiting our channel, in few days we will release "Obk first steps guide part 1":
    https://www.youtube.com/@elektrodacom
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around controlling an LSC Smart Connect RGBCW bulb equipped with a BK7231T chip and an uncommon BP5768 LED controller. The user initially attempted to control the bulb using PWM pins but found no light output, leading to the suspicion that I2C communication might be necessary. Subsequent responses suggested using the BP5758 driver to control the BP5768 chip, with specific pin mappings provided. After several adjustments and testing different configurations, the user successfully managed to control the bulb's light and color settings by remapping the pins according to the feedback received. The community also offered resources for further learning about the openBK project.
Summary generated by the language model.
ADVERTISEMENT