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
  • #61 21132679
    divadiow
    Level 38  
    ok. just sure be sure, you've tried a different browser/incognito etc? no JS blocking add-on or anything? (assuming JS is required for the buttons)
  • ADVERTISEMENT
  • #62 21133979
    marcolueck1976
    Level 8  
    So, after hours of try'n'error i bring it back to work!
    Don't ask me what i've done, can not say what brings it back. Speed option works clean.
    The only problem i have is:
    If i set first cw or ww and then activate the "Rainbow" effect this works but the white LEDs stays on. I have to activate RGB Mode first, then the white LEDs toggles to off.
    I think these should toggle off if RGB is toggle on.
    Now here are my actually settings.
    User interface for controlling LED lighting with various configuration options. Screenshot of the Tuya device configuration interface showing LED settings. Screenshot of a configuration file editor showing the file /autoexec.bat with saved start commands for drivers.


  • #63 21139358
    marcolueck1976
    Level 8  
    >>21131094would be great. Is there an option to start them from homeassistant? if I first enable the LED with Rainbow, the white LED toggles also to on so that RGB, WW, and CW are on. So I have to set RGB to a color and activate rainbow, then only RGB works.
  • ADVERTISEMENT
  • #64 21140185
    p.kaczmarek2
    Moderator Smart Home
    marcolueck1976 wrote:
    So, after hours of try'n'error i bring it back to work!
    Don't ask me what i've done, can not say what brings it back. Speed option works clean.

    I have no idea either, but it works ok now?

    marcolueck1976 wrote:

    If i set first cw or ww and then activate the "Rainbow" effect this works but the white LEDs stays on. I have to activate RGB Mode first, then the white LEDs toggles to off.
    I think these should toggle off if RGB is toggle on.

    Oops, you are right, sorry:
    Circuit simulation in OpenBeken with WS2812 LED strip.
    I will try to fix it now
    Helpful post? Buy me a coffee.
  • #65 21140208
    marcolueck1976
    Level 8  
    >>21140185
    works, had no problems with the controller.

    I'm looking forward to it! Thank you :-)
  • #66 21140227
    p.kaczmarek2
    Moderator Smart Home
    Ok can you try latest version, do OTA?
    Screenshot of a GitHub repository page showing a list of folders and files for the openshwprojects project.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #67 21140281
    marcolueck1976
    Level 8  
    >>21140227
    I've made an OTA update to version 1.17.630, now it works with CW and WW, PWM 5 at Pin 24, PWM 4 at Pin 9 works for me. but if I will toggle off while PixelAnim is playing the LEDs stay on, only stop moving. to toggle off I have first set to RGB or white, then I can toggle off. it seems PixelAnim makes a pause because if I toggle on again the PixelAnim starts from the position it stops before.

    Maybe there is an error at my pins ?

    Code: Text
    Log in, to see the code
  • #68 21140306
    p.kaczmarek2
    Moderator Smart Home
    I see, one futher check was missing. Please OTA and retry, is the new version better?
    Helpful post? Buy me a coffee.
  • #69 21140361
    marcolueck1976
    Level 8  
    Perfect! I can find no errors, switch from everything to everything works perfectly with version 1.17.632.
    Thank you very much!



  • #70 21140365
    p.kaczmarek2
    Moderator Smart Home
    Now, you've asked how to invoke animations from HA?
    The most basic way to do it is to call the Anim (with space and index) command via, for example, MQTT:
    See how to execute commands:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/mqttTopics.md
    You can make a button in HA and it will change animations accordingly.
    Helpful post? Buy me a coffee.
  • #71 21140366
    divadiow
    Level 38  
    great demo! cool it's all working. well done @p.kaczmarek2 !
  • #72 21140537
    marcolueck1976
    Level 8  
    >>21140365
    So it doesn't work...

    Code: JSON
    Log in, to see the code


    I don't understand the topics, maybe you can explain it for me.
  • #73 21140602
    p.kaczmarek2
    Moderator Smart Home
    I think you want to use topic:
    
    cmnd/wohnzimmer_spiegel/Anim
    

    with payload 0, 1 or 2.
    Helpful post? Buy me a coffee.
  • #74 21140977
    marcolueck1976
    Level 8  
    p.kaczmarek2 wrote:

    cmnd/wohnzimmer_spiegel/Anim with payload 0, 1 or 2.

    This works fine for testing, can use all 3 effects and can toogle off/on in Homeassistant, great :-)
    User interface with five function icons.
  • #75 21140981
    p.kaczmarek2
    Moderator Smart Home
    How did you create buttons, can you share yaml?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #76 21140987
    marcolueck1976
    Level 8  
    >>21140981
    Of course, i think they are not beautiful, but theye are working.

    Code: YAML
    Log in, to see the code

    Im think about buttons for brightness ans speed, what are there the options ?
  • #77 21141082
    p.kaczmarek2
    Moderator Smart Home
    Wait, brightness? Brightness should be already visible thanks to our Hass Discovery which already works for RGBCW lights (non-animated ones, but still). Are you saying that it's missing? There may be more things to fix.
    Or maybe you haven't done simple hass discovery yet?
    Helpful post? Buy me a coffee.
  • #78 21141098
    marcolueck1976
    Level 8  
    >>21141082
    Sorry :-/ 

    I think I need this....

    Code: YAML
    Log in, to see the code
  • #79 21141173
    p.kaczmarek2
    Moderator Smart Home
    This is old style Yaml, we also have a new HASS discovery:



    I am, however, not sure how well it works with per pixel LED strips. They should be currently visible as a single light.
    Helpful post? Buy me a coffee.
  • #80 21160553
    marcolueck1976
    Level 8  
    I think these were the same. The Pins are the same.

    Code: HTML, XML
    Log in, to see the code
  • #81 21163610
    marcolueck1976
    Level 8  
    Hi there! I'm testing with this strip and wled because I broke one controller.
    So I want to build a new controller with an esp8266 D1 mini.

    Colour is working perfect but I can't get the white channels working (gpio 12).
    If I connect the pins to the ESP (gpio 13 & 15) they are both on but I can not control them and the esp becomes very very warm.

    Do you have a tip for me ?

    Close-up of an LED strip with pins labeled with colors and descriptions: +24V VCC, D0, GND, CW, CC.

    Thank you !

    Greetings

    Marco
  • #82 21163637
    p.kaczmarek2
    Moderator Smart Home
    You can't power C/W LEDs that way. You need to use the LED driver chips/transistors that were on the device PCB. Transistors are needed because ESP8266 does not have enough pin current capability (nor the voltage) to power such LEDs.

    Sample schematic from google (not verified, you may also need a pulldown):
    Circuit diagram with NPN transistor and LEDs.
    Helpful post? Buy me a coffee.
  • #83 21163649
    marcolueck1976
    Level 8  
    >>21163637

    I threw it away :-(
  • #84 21177167
    p.kaczmarek2
    Moderator Smart Home
    I think there are many cheap MOSFETs that could do the job, but they may often be in SMD package and you would need to solder it on a proto board.
    Helpful post? Buy me a coffee.

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