logo elektroda
logo elektroda
X
logo elektroda

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

Bacto 10059 83
ADVERTISEMENT
  • #31 20839229
    alfakenzo
    Level 9  

    @p.kaczmarek2 Hi, is there something new to test in the driver?
  • ADVERTISEMENT
  • #32 20891912
    alfakenzo
    Level 9  

    I tried it with several things to get this running. I can now control the CW and CC and the Button on the PCB also toggle light but only PWM. I don't know where to set the digital input for the driver. I set it like Bacto thought on p16 but nothing happens with your script you wrote on another post. Here are some images to see how I set it.
    Screenshot of device pin settings and channel types. Screenshot of the OpenBK7231N interface showing LED light settings. Screenshot of a text editor with the autoexec.bat file open containing a control script.
  • ADVERTISEMENT
  • #33 20893386
    alfakenzo
    Level 9  

    Ok, I got it. It is sm16703p. I have colors on it.
    But how can I control the rest?
    One stripe is 6 LEDs.
    This is my autoexec.bat:
    startDriver SM16703P
    SM16703P_Init 120
    SM16703P_SetPixel 0 255 0 0
    SM16703P_SetPixel 1 0 0 255
    SM16703P_SetPixel 2 0 255 0
    SM16703P_Start

    So, how can I now set some runnings on it?
  • #34 20893657
    p.kaczmarek2
    Moderator Smart Home
    So, how many LEDs do you have?
    Does your script correctly sets first LED to red, second to blue, third to green?
    Helpful post? Buy me a coffee.
  • #35 20893745
    alfakenzo
    Level 9  
    I have 6 LEDs per string. And I change it to Red, Green, Blue, but yes from the first string it starts when I use Set pixel 0. But all 6 then one colour and the next stripe is then green and the next with 6 led is then blue.

    Added after 2 [hours] 9 [minutes]:

    And the whole stripe is 5m. 1 string has 6 LEDs and is 25cm long. So 24 led on 1m and 120 led on 5m. That why I set 120 led.

    But I don't understand how to set Pin6 cause it's toggle only the white led not the sm16703p.
  • #36 20894185
    p.kaczmarek2
    Moderator Smart Home
    I will add a patch today to firmware. I'm testing LEDs now.
    
    // start driver
    startDriver SM16703P
    // use channel 10 as variable to store number of LEDs
    setChannel 10 9
    // initialize the driver
    SM16703P_Init $CH10
    // set iteration variable (channel 11)
    setChannel 11 0
    
    // loop setting R G B
    again:
    SM16703P_SetPixel $CH11 0 255 0
    addChannel 11 1
    SM16703P_SetPixel $CH11 0 0 255
    addChannel 11 1
    SM16703P_SetPixel $CH11 255 0 0
    addChannel 11 1
    if $CH11<$CH10 then goto again
    // apply changes
    SM16703P_Start
    

    LED strip emitting red, green, and blue light, connected to an oscilloscope.
    Helpful post? Buy me a coffee.
  • #37 20897169
    alfakenzo
    Level 9  
    Hi, did you added the patch you wanted?
  • ADVERTISEMENT
  • #38 20900018
    alfakenzo
    Level 9  

    I tried to set up your script. Now my device isn't connected to the Wi-Fi anymore. I want to reset it, but it failed. I can only connect in safe mode on 192.168.4.1, but I can't reset the autoexec.bat. Is there a command for that?

    OK, lfs_format did it for me :) Nice to know this option now, and it is added in the FAQ.

    I added the script again and changed the colors for my strip, and now it works. But I still have 6 LEDs in one color.
    Colorful LED strips arranged on a blue mat on a desk.
  • #39 20901154
    p.kaczmarek2
    Moderator Smart Home
    I've took a moment to think about it, and you know what?

    @alfakenzo , the first post by @Bacto says:
    
    - Mutiple SM16703P chipsets, each controlling 6 RGB plugged in parallel
    - SM16703P chipsets are plugged in serial and controled by P16
    

    If this device has 6 RGB LEDs per single SM16703P then what you have is expected and correct behaviour.
    That's how it worked with Tuya.

    Did you test that strip with Tuya before flashing OBK?
    Helpful post? Buy me a coffee.
  • #40 20901531
    alfakenzo
    Level 9  
    Hi, I'm not so sure about that since it was long ago. But I still have the dump, so I could bring it back to stock and test it. But that is a good point to test the other RGBiC stripe I have. And I see on the image only one sm16703p for the string with 6 LEDs.


    Added after 5 [hours] 1 [minutes]:

    Ok, I checked the other RGBiC stripe and it is the same. 6 led per string. This is still tuya and I controlled the sm16703p with the IR and used some modi. I controlled, no matter which I used, always 6 led per string at one time. Looks ok, but would be better to control every led separate.
  • ADVERTISEMENT
  • #41 20966211
    p.kaczmarek2
    Moderator Smart Home
    The SPI DMA driver bug has been fixed. The SM16703P/WS2812B/etc LEDs should work good now. Please update your devices. For scripting configuration, please see:
    OpenBeken WS2812B driver (compatible with SM16703P, etc) - short scripting presentation
    We can continue discussion there. The more advanced animation will be added soon, stay tuned!
    Helpful post? Buy me a coffee.
  • #42 21130944
    marcolueck1976
    Level 7  
    >>20667470

    I try to bring it at work, but no success. Controller is flashed, maybe I can test something, need help :-) Thank you.
  • #43 21130956
    p.kaczmarek2
    Moderator Smart Home
    See new pixelanim driver:
    https://www.elektroda.com/rtvforum/topic4057187.html
    This will work good with SM16703P.
    Required autoexec.bat is in the linked topic.
    Helpful post? Buy me a coffee.
  • #44 21131008
    marcolueck1976
    Level 7  
    Looks good for the first time!
    Mirror with colorful LED backlighting on the wall.
  • #45 21131094
    p.kaczmarek2
    Moderator Smart Home
    I'm glad to hear that PixelAnim driver is working for you! I can add some more animations soon, if that's needed.
    Helpful post? Buy me a coffee.
  • #46 21131102
    marcolueck1976
    Level 7  
    I'm confused, it works 5 Minutes, now nothing at all after a reboot, I think I change nothing.
  • #47 21131131
    p.kaczmarek2
    Moderator Smart Home
    Did you start the driver manually via console, or did you add it to the autoexec.bat so it starts automatically?
    Helpful post? Buy me a coffee.
  • #48 21131141
    marcolueck1976
    Level 7  
    >>21131131
    autoexec.bat

    Code: JSON
    Log in, to see the code
  • #49 21131171
    p.kaczmarek2
    Moderator Smart Home
    So, how your web panel looks like now? Do you have any drivers running?
    Helpful post? Buy me a coffee.
  • #50 21131186
    marcolueck1976
    Level 7  
    >>21131171 OpenBK7231N software interface with LED control options.

    Before it stops working i played with the "Speed" Option from Shootingstar.
  • #51 21131200
    p.kaczmarek2
    Moderator Smart Home
    It should work after full power off/on. Then you can tell me what kind of setting can crash LEDs so I can prevent it. @divadiow , are you able to crash the driver as well?
    Helpful post? Buy me a coffee.
  • #52 21131224
    marcolueck1976
    Level 7  
    >>21131200

    15 min without power, connecting, nothing works, controller is online.
  • #53 21131233
    divadiow
    Level 34  
    p.kaczmarek2 wrote:
    are you able to crash the driver as well?

    I've not had any crashes in previous testing in recent weeks and I have toggled the sliders quite a bit.
  • #54 21132073
    marcolueck1976
    Level 7  
    Today I bought a new one for testing. It is actually still LSC, should I do something before flashing?
  • #56 21132603
    marcolueck1976
    Level 7  
    Good morning :-)

    So i would like to try flashing the new Stripe, opend it an saw there iss a other Chip inside. Now im confused at all...

    A circuit board with a chip labeled LIGHTNING LNB82HK1. Electronic circuit board with various components on a green grid background. Green printed circuit board with technical labels.
  • #57 21132609
    divadiow
    Level 34  
    morning. that's exciting. OpenBeken supports Lightning Semiconductor LN882H chips, but the PixelAnim and SM16703P drivers won't be present or tested.

    I don't understand why your other one stopped working...
  • #58 21132614
    marcolueck1976
    Level 7  
    >>21132609
    same here. I testet yersterday evening a lot with the old one. not able to bring it back to work. Is there a way to reflash it so that openBK iss factory reset.
  • #59 21132640
    divadiow
    Level 34  
    so, to confirm:

    - your original device boots into OpenBeken and you can access the web gui?
    - pixelanim and SM16703P drivers are showing as running on the main page?
    - does toggling the power button and/or the animations buttons turn them green from red or do they stay red?
  • #60 21132674
    marcolueck1976
    Level 7  
    >>21132640
    divadiow wrote:
    - your original device boots into OpenBeken and you can access the web gui?

    yes

    divadiow wrote:
    - pixelanim and SM16703P drivers are showing as running on the main page?

    yes

    divadiow wrote:
    - does toggling the power button and/or the animations buttons turn them green from red or do they stay red?

    nothing happens, stays "off"

    LED lighting control interface with settings for brightness, color, and animation effects.

Topic summary

The discussion revolves around the LSC Smart Digital LED Strip, specifically the 2x5m RGBCW model featuring BK7231N and SM16703P chipsets. Users are exploring the functionality and control of the RGB and white channels, with a focus on integrating the strip with OpenBeken firmware. Initial challenges included driver compatibility for the SM16703P chipsets, which were compared to WS2812 timings. Progress was made in developing drivers, and users expressed willingness to test new configurations. The conversation also touched on issues with color control, PWM settings, and the need for proper scripting to achieve desired effects. Users shared scripts and troubleshooting tips, while some reported successful integration with Home Assistant for remote control.
Summary generated by the language model.
ADVERTISEMENT