Elektroda.com
Elektroda.com
X

LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More

Bacto 1665 25
  • #1
    Bacto
    Level 3  
    Hi,

    I'm starting to work on the "LSC Smart Digital Led Strip" which is a dual led RGBCW strip.

    LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More

    On the board we have:
    - a BK7231N
    - a button (P7)
    - a microphone (ADC on P23)
    - an IR receiver (digital on P26)

    LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More

    It controls 2 rubans plugged in parallel with:
    - CC leds (PWM on P24)
    - CW leds (PWM on P9)
    - RGB leds
    - Mutiple SM16703P chipsets, each controlling 6 RGB plugged in parallel
    - SM16703P chipsets are plugged in serial and controled by P16

    LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More

    The rubans have 5 pins:
    - Green: GND
    - White: VCC (24V) controled by P6
    - Blue: digital RGB (see below)
    - Black: CC leds
    - Red: CW leds

    The button, microphone, IR receiver, CC and CW leds are easy to use, as usual, with OpenBeken.

    The RGB leds are problematic for now as SM16703P chipsets are not yet supported by OpenBeken.
    See https://github.com/openshwprojects/OpenBK7231T_App/issues/176

    The SM16703P datasheet can be found here: https://www.gree-leds.com/web/userfiles/download/SM16703ICdatasheet.pdf

    Adrien
  • #2
    p.kaczmarek2
    Moderator Smart Home
    Hello, that's a very interesting device. I have never seen a double RGB strip before.

    I haven't looked at the datasheets yet, but are the timings of SM16703P the same as WS2812?

    I might have some WS2812 around, so I could get a driver up to speed relatively quickly.
  • #3
    Bacto
    Level 3  
    I have no idea about the timings as I've never worked directly with WS2812 :-/
  • #4
    p.kaczmarek2
    Moderator Smart Home
    SM16703:
    LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More
    WS2128
    LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More
    They seem slightly different... but anyway, I can try to set up something for you, are up to some testing?
  • #5
    Bacto
    Level 3  
    I'm super motivated to do some tests :)
  • #6
    p.kaczmarek2
    Moderator Smart Home
    We've done some prelimary attempts at the driver, but there is still one issue holding the progress up. Once done, we will get drivers for that chip and for all similar chips (WS2812b etc) quickly.
  • #7
    Bacto
    Level 3  
    Awesome!
    Let me know and I'll test it ASAP :)
  • #8
    alcomys1
    Level 2  
    Hi guys,
    I,m new on this forum. I want to say Hi to you.
    I did looked at this forum because of the nice Open Beken system to drive several led devices.

    My question is, is there any progress on the SM16703 driver on my same 2x 5M led strip from the action?
    if you like i can test some things because i have a test setup Laying on my desk at my hobby center with this led strip. so i can fast reprogram the BK7231N with the python downloader.
    In the past i did some scripting before so with a bit of help i can learn fast.

    Best regards, Alcomys
  • #9
    alfakenzo
    Level 6  
    Hi, i have also bought the strip to flash it with openbeken. Is there still progress for the driver? Would be great I can also do some testings, when needed. Greats
  • #10
    p.kaczmarek2
    Moderator Smart Home
    I will ask on Github or I will look into it myself again soon.
    Related discussion:
    https://github.com/openshwprojects/OpenBK7231T_App/issues/497
    If you know C, you can join and help us.
  • #11
    alcomys1
    Level 2  
    It is silent for a while now.
    is there any news regarding the drivers for this led strip?
    I wish i would have more knowledge about it but i cannot help that much.
    so we are depended on the people who have the knowledge.

    I hope someone pick up the driver issue on this led strip. that would be nice.

    Thanks and best regards, to all the developers.
  • #12
    alcomys1
    Level 2  
    Any news on that driver project?
    it is very silent for a while now.
  • #13
    alcomys1
    Level 2  
    @p.kaczmarek2
    I found a topic about this driver issue.
    maybe you can look at it on github i commented

    Best regards.
  • #14
    p.kaczmarek2
    Moderator Smart Home
    Thank you, it's nice to see you're still with us! I will try to look into it this month but sadly issue seems problematic to resolve and so far I've seen about 3 users with this LED driver... so priority always goes to devices which has more users (for example we have tens of TuyaMCU questions and requests, etc)
  • #15
    wsoltys
    Level 2  
    Make it 4 users ;)
    I bought a "GoKlug White and Color Ambiance Play Lightbar" and was able to flash it with OpenBK. The button and IR on the controller work but unfortunately the two led bars are connected via three cables: 5V, Ground and Data. So assume I need also a serial driver.
    Unfortunately I didn't managed to open a led bar and don't want to destroy it so I couldn't see which driver is inside.
  • #16
    p.kaczmarek2
    Moderator Smart Home
    We have SM16703 progress.

    Is anyone with SM16703 still here?

    We need testers, I don't have this device at hand.
  • #17
    wsoltys
    Level 2  

    Unfortunately, I still haven't opened the light bars to see which driver chip is inside.
    I will have another look to see if I can open it without breaking.
  • #18
    p.kaczmarek2
    Moderator Smart Home
    Are you referring to LED driver chip or WiFi module?

    You can always make 2MB backup of WiFi module, flash OBK, try the new driver, and if it doesn't work you can restore 2MB backup that you've made.

    Device will still function after that.
  • #19
    wsoltys
    Level 2  

    I mean the LED driver. The chip is already flashed with OpenBK7231T. I can test a new build when it helps.
    Unfortunately I made something wrong with the backup so I can't go back anyway.
    Here are some blurry photos:

    LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More LSC Smart Digital LED Strip (2x5m RGBCW): BK7231N, SM16703P Chipsets, IR Receiver & More

    Added after 1 [hour] 2 [minutes]:

    I've searched for the newest OpenBK7231T release on GitHub but somehow I only see builds for OpenBK7231N.
    Did I miss something?
  • #20
    p.kaczmarek2
    Moderator Smart Home
    I wasn't aware about it at first, but it seems that the LED driver contributor has submitted only N version. So, if you have T platform, you need to wait a bit. I will try to port it to T.
  • #21
    jeroenvtec
    Level 2  

    >>20667470
    Hi, I have the BK7231N and flashed it with 1.17.231.
    What can I test?
  • #22
    p.kaczmarek2
    Moderator Smart Home
    1. Start driver
    startDriver SM16703P

    2. Init Driver
    SM16703P_Init [[pixelcount]]

    3. Set Pixel
    SM16703P_SetPixel 1 255 0 0
    SM16703P_SetPixel 2 0 255 0
    SM16703P_SetPixel 3 0 0 255

    4. Start Output (each call will trigger one
    SM16703P_Start

    Let us know if it works for you
  • #23
    jeroenvtec
    Level 2  

    Thanks, I have seen https://github.com/openshwprojects/OpenBK7231T_App/issues/497 but that seems a bit complicated for me. I know how to add some lines to the autoexec.bat, but that is basically it. Just getting into openbeken with two units.

    Do I need to upload something first? Is there a mini instruction (link)?

    Edit:
    At the moment, when it dims, it turns on the color "red" for all three RGB lights.
    No CW or WW.
  • #25
    jeroenvtec
    Level 2  

    DM me your IP, I'll give you mine, and you can access it. With an email address, you can watch the results via a simple cam. So you can get crazy on the device. :)
  • #26
    p.kaczmarek2
    Moderator Smart Home
    We could do this but tomorrow or later, today I am working remotely with @DeDaMrAz on TuyaMCU version of SM16703 device. For now, photo should be enough.