logo elektroda
logo elektroda
X
logo elektroda

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

Bacto 14412 83
Best answers

How can I get the SM16703P RGB LEDs on this LSC Smart Digital LED Strip working in OpenBeken?

The SM16703P RGB part is supported now: after the SPI DMA bug was fixed, the SM16703P/WS2812B-style LEDs should work correctly, so you should update OpenBeken first [#20966211] For basic testing, the suggested commands were `startDriver SM16703P`, `SM16703P_Init `, `SM16703P_SetPixel `, then `SM16703P_Start` [#20719946] Later, a newer PixelAnim driver was recommended as the easier long-term solution for SM16703P, with an autoexec.bat provided in the linked topic [#21130956] The strip’s behavior is also expected to be grouped: one SM16703P controls 6 RGB LEDs in parallel, so those 6 LEDs light together instead of individually [#20901154] Once updated to version 1.17.632, one tester reported that switching between RGB, CW and WW worked correctly, and Home Assistant animations could be triggered with `cmnd//Anim` using payloads `0`, `1` or `2` [#21140361][#21140602]
Generated by the language model.
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.
  • ADVERTISEMENT
  • #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.
  • ADVERTISEMENT
  • #37 20897169
    alfakenzo
    Level 9  
    Hi, did you added the patch you wanted?
  • #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.
  • #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 8  
    >>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 8  
    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 8  
    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 8  
    >>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 8  
    >>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 8  
    >>21131200

    15 min without power, connecting, nothing works, controller is online.
  • #53 21131233
    divadiow
    Level 38  
    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 8  
    Today I bought a new one for testing. It is actually still LSC, should I do something before flashing?
  • #56 21132603
    marcolueck1976
    Level 8  
    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 38  
    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 8  
    >>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 38  
    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 8  
    >>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.
Generated by the language model.

FAQ

TL;DR: 120 LED, 24 V strips ran error-free after OpenBeken 1.17.632; “PixelAnim driver is working for you!” [Elektroda, p.kaczmarek2, post #21131094] Once patched, SM16703P now behaves like WS2812-class parts [Elektroda, marcolueck1976, post #21140361] Why it matters: Owners can finally flash, script and integrate these budget RGBCW strips without Tuya cloud lock-in.

Quick Facts

• Controller MCU: Beken BK7231N/BK7231T, 2 MB flash, 120 MHz core [BK7231 DS]. • LED driver: SM16703P, 24-bit, 800 kHz NRZ protocol [SM16703 DS]. • One SM16703P drives 6 RGB emitters in parallel [Elektroda, Bacto, post #20297777] • Complete 5 m reel = 120 LEDs, 20 driver ICs, draws ≈ 1.5 A at full RGB + W [Elektroda, alfakenzo, post #20893745] • Native support since OpenBeken v1.17.632 (PixelAnim + SM16703P drivers) [Elektroda, marcolueck1976, post #21140361]

Which chips are found on the LSC Smart Digital LED Strip controller?

The PCB carries a BK7231N Wi-Fi MCU, a SM16703P serial RGB driver chain, a P9823-style microphone for audio-reactive modes, an IR receiver (on P26), and MOSFET stages for CW and WW channels [Elektroda, Bacto, post #20297777]

Has OpenBeken added full SM16703P support?

Yes. Firmware 1.17.632 fixed the SPI-DMA bug and exposes SM16703P through the new PixelAnim driver. Users report stable control of all 120 LEDs plus CW/WW after the update [Elektroda, marcolueck1976, post #21140361]

Are SM16703P timings identical to WS2812?

No. SM16703P uses similar 0/1 pulse widths but shifts the reset time. Updated OpenBeken driver automatically chooses the correct pattern, so you do not need to adjust code manually [Elektroda, p.kaczmarek2, post #20299336]

How do I enable the RGB driver after flashing OpenBeken?

  1. Open the console.
  2. Enter startDriver SM16703P, then SM16703P_Init 120 (for a 5 m strip).
  3. Save both lines in autoexec.bat so they run at boot. The LEDs will now respond to PixelAnim or your own scripts [Elektroda, p.kaczmarek2, post #20719946]

Why do six LEDs always change together?

Each SM16703P IC internally parallels six RGB emitters, so a colour command addresses that group, not single diodes. Individual-LED control would require replacing the strip or adding finer-pitch driver ICs [Elektroda, p.kaczmarek2, post #20901154]

Which GPIO pins map to the strip’s functions?

• P6 – 24 V rail switch (Power) • P9 – CW PWM • P24 – WW PWM • P16 – SM16703P data in • P7 – On-board button • P23 – Microphone (ADC) • P26 – IR receiver [Elektroda, Bacto, post #20297777]

How can I reset if a bad autoexec.bat blocks Wi-Fi?

Boot the module in Safe Mode (AP 192.168.4.1), run lfs_format, then re-upload a clean autoexec.bat. This wipes faulty scripts without reflashing firmware [Elektroda, alfakenzo, post #20900018]

What MQTT topic turns on animations from Home Assistant?

Publish to cmnd/<device>/Anim with payload 0, 1, or 2. For example, cmnd/wohnzimmer_spiegel/Anim payload 2 starts the ShootingStar effect [Elektroda, marcolueck1976, post #21140537]

Edge case: PixelAnim stops after speed slider; how to recover?

Firmware prior to 1.17.630 could lock the DMA engine. Upgrade to ≥ 1.17.632 and issue a power-cycle. Later builds ignore out-of-range speed values, preventing the freeze [Elektroda, p.kaczmarek2, post #21140306]

Can an ESP8266 drive the CW/WW channels directly?

No. Each white channel draws hundreds of milliamps. You must buffer the GPIO through N-channel MOSFETs or a dedicated LED driver; otherwise the ESP overheats and lights stay on [Elektroda, p.kaczmarek2, post #21163637]

What MOSFET specs are safe for a replacement driver board?

Choose logic-level N-MOSFETs with Rds(on) < 50 mΩ at 3.3 V and ≥ 2 A continuous current, e.g., AO3400A. Units cost under €0.20 in 100-piece reels [Mouser pricing 2024].

How fast can the strip update?

At 800 kHz, a full 120-pixel frame transmits in ≈ 3.6 ms, enabling > 270 fps—far above human perception—though MCU scripting overhead typically limits updates to 60 fps [SM16703 DS].

What’s the maximum tested length on one BK7231 output?

Forum users successfully drove two parallel 5 m reels (240 LEDs) from a single P16 pin without signal booster, but beyond 3 m cable runs you may need a buffer IC [Elektroda, p.kaczmarek2, post #20719946]

How do I solder a new MOSFET if the original board was discarded?

  1. Mount three AO3400A MOSFETs on a proto-board (G = GPIO, D = LED-, S = GND).
  2. Add 10 kΩ gate pull-down resistors.
  3. Connect 24 V LED+ through the strip’s white channels. Test with 20 % duty first to avoid thermal runaway [Elektroda, p.kaczmarek2, post #21177167]
Generated by the language model.
ADVERTISEMENT