logo elektroda
logo elektroda
X
logo elektroda

Configuring BK7231N LSC Multi Color Light Bar - Firmware and Driver Issues

snakesrules94 2898 28
ADVERTISEMENT
  • #1 20943184
    snakesrules94
    Level 8  
    Hi all,
    i bought today this game bar at Action store.

    It fits 16 RGB leds, i didn't find any drivers on the led bar pcb nor on the main circuit .
    I've dump the fw directly as the pins are exposed, and reflashed with latest OBK .

    I'm a bit stuck for now as i can't find any valid config to get this game bar working .
    Here are some pictures and a dump of the original fw .

    Battletron multicolor light bar in packaging. Product label with recycling information and technical specifications of the RGB LED strip. LED strip PCB with visible solder points and markings. Circuit board with electronic components, visible microphone, and cable connector. Remote control for LED strip with colorful buttons on a white background RGB LED strip held in hands in a room with electronics.

    The original fw dumped :

    readResult...6-17-36.7z Download (1.36 MB)

    and the extracted profile :

    {
    	"Jsonver":"1.1.4",
    	"gmwb":"75",
    	"title20":"0",
    	"cdtime1":"5",
    	"1err":"55",
    	"totallen":"200",
    	"gmwg":"70",
    	"knum":"1",
    	"leaderr":"45",
    	"wfcfg":"spcl_auto",
    	"colormin":"10",
    	"bitseq":"0",
    	"pmemory":"1",
    	"gmkb":"60",
    	"pairt":"180",
    	"cmod":"rgb",
    	"slidemod":"0",
    	"micpin":"23",
    	"customcode":"00ff",
    	"rstbr":"50",
    	"ktime":"5",
    	"0err":"85",
    	"colormax":"100",
    	"module":"CBU",
    	"ctrl_lv":"1",
    	"rstmode":"2",
    	"irpin":"26",
    	"sfunc":"1",
    	"key_lv":"0",
    	"wfct":"3",
    	"defbright":"100",
    	"starterr":"45",
    	"rstnum":"3",
    	"rstcor":"r",
    	"sensimax":"300",
    	"micproc":"300",
    	"miso":"17",
    	"mosi{nc_tp":"0",
    	"ssid":"null",
    	"passwd":"null",
    	"md":"0",
    	"wfb64":"1",
    	"stat":"0",
    	"token":"null",
    	"region":"null",
    	"reg_key":"null",
    	"dns_prio":"0 }{uuid",
    	"psk_key":"g6sO5fG7wGybbLDROg5ipgFIvl6VFw8sOk9Vn",
    	"auth_key":"ZyK4vk6JwScfI9ZKWjcCGa4napAEGw3t",
    	"ap_ssid":"SmartLife",
    	"ap_passwd":"null",
    	"country_code":"CN",
    	"bt_mac":"null",
    	"bt_hid":"null",
    	"prod_test":"false",
    	"fac_pin":"stmkcsykq3kheboa }",
    	"k1dfunc":"0",
    	"keyfunc":"1",
    	"irfunc":"1",
    	"brifollow":"0",
    	"ctrl_pin":"6",
    	"adclimit":"2400",
    	"sensimin":"80",
    	"ismusic":"1",
    	"prodagain":"1",
    	"key_pin":"7",
    	"brightstep":"20",
    	"remdmode":"0",
    	"colorpfun":"0",
    	"CS":"15",
    	"gmwr":"100",
    	"rgbt":"20",
    	"gmkg":"60",
    	"onoffmode":"0",
    	"colororder":"2",
    	"LedNum":"16",
    	"irfunset":"[[2",
    	"aging":"1",
    	"category":"0503",
    	"SCL":"14",
    	"gmkr":"80",
    	"defcolor":"r",
    	"crc":"59",
    	"}=L]Agw_ai{key":"null",
    	"lckey":"null",
    	"h_url":"null",
    	"h_ip":"null",
    	"hs_url":"null",
    	"hs_ip":"null",
    	"hs_psk":"null",
    	"hs_psk_ip":"null",
    	"mqs_url":"null",
    	"mqs_ip":"null",
    	"mq_url":"null",
    	"mq_ip":"null",
    	"ai_sp":"null",
    	"ai_sp_ip":"null",
    	"mq_psk":"null",
    	"mq_psk_ip":"null",
    	"lp_url":"null",
    	"lp_ip":"null",
    	"time_z":"null",
    	"s_time_z":"null",
    	"wx_app_id":"null",
    	"wx_uuid":"null",
    	"dy_tls_m":"0",
    	"cloud_cap":"0",
    	"psk21_key":"null }{nc_tp"
    }
    


    
    Device configuration, as extracted from Tuya: 
    - Microphone (TODO) on P23
    - IR Receiver is on P26
    - SPI MISO17
    - Control Pin (TODO) on P6
    Device seems to be using CBU module, which is using BK7231N.
    And the Tuya section starts, as usual, at 2023424
    


    Regards
  • ADVERTISEMENT
  • #2 20943751
    p.kaczmarek2
    Moderator Smart Home
    Hello, can you check if SM16703P driver works for you? We have a PR to enable it for DDP as well and we have an idea how to improve the SPI driver stability in general, I think it could work good.
    Helpful post? Buy me a coffee.
  • #3 20943874
    snakesrules94
    Level 8  

    Hello,
    I've tried the driver but no luck:

    
    Info:CMD:[WebApp Cmd 'startDriver SM16703P' Result] OK
    Info:CMD:Register driver with 16 LEDs
    Info:CMD:Set Pixel 1 to R 255 G 0 B 0
    Info:CMD:Raw Data 0xee 0xee 0xee 0xee - 0x88 0x88 0x88 0x88 - 0x88 0x88 0x88 0x88
    Info:CMD:[WebApp Cmd 'SM16703P_SetPixel 1 255 0 0 ' Result] OK
    Info:CMD:Set Pixel 2 to R 0 G 255 B 0
    Info:CMD:Raw Data 0x88 0x88 0x88 0x88 - 0xee 0xee 0xee 0xee - 0x88 0x88 0x88 0x88
    Info:CMD:[WebApp Cmd 'SM16703P_SetPixel 2 0 255 0 ' Result] OK
    Info:CMD:Set Pixel 3 to R 0 G 0 B 255
    Info:CMD:Raw Data 0x88 0x88 0x88 0x88 - 0x88 0x88 0x88 0x88 - 0xee 0xee 0xee 0xee
    Info:CMD:[WebApp Cmd 'SM16703P_SetPixel 3 0 0 255 ' Result] OK
    Error:CMD:before enable tx 0x0000c20c
    Error:CMD:enable tx 0x0000c20d
    Info:CMD:[WebApp Cmd 'SM16703P_Start ' Result] OK
    


    I have tried with the SM16703P_DIN on pins 16 and without in the module config but it's not working. No lights on the bar.
    Rdgs.
  • #4 20943881
    p.kaczmarek2
    Moderator Smart Home
    Then it's not WS2812B, because WS2812B works for me, altough there is still little instability that we need to fix:
    LED strip emitting different colors, connected to an oscilloscope.
    Is the power reaching the strip at all? Maybe you need to enable something more?

    PS: setting SM16703P_DIN role will not change anything, it always uses P16 now, as it's the hardware SPI out pin
    Helpful post? Buy me a coffee.
  • #5 20943902
    snakesrules94
    Level 8  

    I will solder the LED bar on a D1 mini and test with WLED to identify the LED type. I will let you know.

    Edit: You're right, I've just checked the voltage on the bar and I have 0V on GND/VCC, so it seems one pin is used to power the LED bar.

    Edit 2: By switching P6 to 1, now I got some answers and LEDs are lighting with SM16703P_Start command.
  • #6 20943936
    p.kaczmarek2
    Moderator Smart Home
    Maybe it's P6? Can you try setting P6 to relay?
    Helpful post? Buy me a coffee.
  • #7 20944053
    snakesrules94
    Level 8  
    Yes , indeed , P6 is ok ton control power on leds bar :

    here is my actual conf :

    Screenshot of BK7231N/BK7231T controller pin configuration.

    and the autoexec.bat with your test script i'm using :

    // start driver
    startDriver SM16703P
    // delay 1s
    delay_s 1
    //enable power on P6
    SetChannel 1 1
    // use channel 10 as variable to store number of LEDs
    setChannel 10 16
    // 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


    for now, only 12 leds on 16 are on, the 4 latests stays off .
  • ADVERTISEMENT
  • #8 20945634
    snakesrules94
    Level 8  

    Hello,
    I've just tried with a more basic script like this:
    
    startDriver SM16703P
    SM16703P_Init 16
    SM16703P_SetPixel 0 0 255 0
    SM16703P_SetPixel 1 0 0 255
    SM16703P_SetPixel 2 255 0 0
    SM16703P_SetPixel 3 0 255 0
    SM16703P_SetPixel 4 0 0 255
    SM16703P_SetPixel 5 255 0 0
    SM16703P_SetPixel 6 0 255 0
    SM16703P_SetPixel 7 0 0 255
    SM16703P_SetPixel 8 255 0 0
    SM16703P_SetPixel 9 0 255 0
    SM16703P_SetPixel 10 0 0 255
    SM16703P_SetPixel 11 255 0 0
    SM16703P_SetPixel 12 0 255 0
    SM16703P_SetPixel 13 0 0 255
    SM16703P_SetPixel 14 255 0 0
    SM16703P_SetPixel 15 0 255 0
    SM16703P_Start


    But the result is the same, only 12 leds on 16 are ON, the 4 latest keep definitively off.
    Rgds.
  • #9 20945659
    p.kaczmarek2
    Moderator Smart Home
    Are the colors displayed correctly? Do you have a scope?
    Helpful post? Buy me a coffee.
  • #10 20945681
    snakesrules94
    Level 8  

    It seems okay for the color:

    LEDs shining in various colors on a simple electronic set held by a hand.

    I have a very basic Chinese scope kit, not sure if it can be helpful but tell me anyway if you want me to monitor something.

    Added after 14 [minutes]:

    If I rerun the script after first start, all the LEDs are on but with false colors this time:
    LEDs on a strip from a Chinese lens kit displaying colorful lights, with a Smart Mood Light box in the background.
  • #11 20947355
    p.kaczmarek2
    Moderator Smart Home
    I will try to add a stability improvement today or tomorrow, can you help with testing?

    What happens if you set first, second and third LED to red? Maybe there is some kind of shift in indexes?
    Helpful post? Buy me a coffee.
  • #12 20947403
    snakesrules94
    Level 8  

    Ok, so with this script:
    startDriver SM16703P
    SM16703P_Init 16
    SM16703P_SetPixel 0 0 255 0
    SM16703P_SetPixel 1 0 255 0
    SM16703P_SetPixel 2 0 255 0
    SM16703P_SetPixel 3 0 255 0
    SM16703P_SetPixel 4 0 0 255
    SM16703P_SetPixel 5 255 0 0
    SM16703P_SetPixel 6 0 255 0
    SM16703P_SetPixel 7 0 0 255
    SM16703P_SetPixel 8 255 0 0
    SM16703P_SetPixel 9 0 255 0
    SM16703P_SetPixel 10 0 0 255
    SM16703P_SetPixel 11 255 0 0
    SM16703P_SetPixel 12 0 255 0
    SM16703P_SetPixel 13 0 0 255
    SM16703P_SetPixel 14 255 0 0
    SM16703P_SetPixel 15 0 255 0
    SM16703P_Start


    Just after reboot, the first 4 LEDs are red, the next 8 are in the right color, and the last 4 are off.
    If I rerun the script just after, all the LEDs are ON but with false colors, mainly blue and green.
  • ADVERTISEMENT
  • #13 20949634
    snakesrules94
    Level 8  
    @p.kaczmarek2: I've compiled a test version with the changes mentioned here: https://www.elektroda.com/rtvforum/topic4031475.html#20949043

    Unfortunately, the result is not better than with the original FW with this LED bar.

    As for now, I have pressure for my son to get his light bar working so I will drop the 7231N with a D1mini & Wled for now and I will try to get another LED bar in action store to continue debugging if needed.

    Added after 37 [minutes]:

    OK, while scrapping the original LED system, I replaced the original LED bar with a genuine 16 LED band of WS2812B.
    Now, every time I run the script:

    startDriver SM16703P
    SM16703P_Init 16
    SM16703P_SetPixel 0 0 255 0
    SM16703P_SetPixel 1 0 0 255
    SM16703P_SetPixel 2 255 0 0
    SM16703P_SetPixel 3 0 255 0
    SM16703P_SetPixel 4 0 0 255
    SM16703P_SetPixel 5 255 0 0
    SM16703P_SetPixel 6 0 255 0
    SM16703P_SetPixel 7 0 0 255
    SM16703P_SetPixel 8 255 0 0
    SM16703P_SetPixel 9 0 255 0
    SM16703P_SetPixel 10 0 0 255
    SM16703P_SetPixel 11 255 0 0
    SM16703P_SetPixel 12 0 255 0
    SM16703P_SetPixel 13 0 0 255
    SM16703P_SetPixel 14 255 0 0
    SM16703P_SetPixel 15 0 255 0
    SM16703P_Start


    Colors R V B are good, but not in the right order, I got this result:

    R B V R R B G R B G R B G R B G


    Added after 3 [hours] 22 [minutes]:

    I've continue to experiment with this bar fitted now with WS2812b leds , i've added some script to react to the IR remote and execpt the colors are bad , it seems to work OK.
    Now i'm trying to dim the LEDS but if i change the P6 to PWM instead of REL , it does not work anymore .

    I would think about reflashing the original FW and test to see the behaviour but not sure about the original config as if i extract it from the bin file, it seems that some conf are missing.
    Maybe i would have more luck by finding another bar in Action store .

    Added after 2 [hours] 56 [minutes]:

    Ok , i've checked quickly with the original FW and indeed , the +5V to power the strip stays always at 5V .
    Unfortunatly, my scope is not accurate enough to trace the timing on PWM line and get the timings for color control / animation / brightness and so on :-(

    Is there a way to modulate the pwm on P16 to enable brightness control with the SM16703 driver ?
  • #14 20950916
    dingsundbums
    Level 5  

    Sorry for hijacking this.
    Also facing the same problem and it seems the difficulty is very similar.
    Bought a few weeks ago a Battletron monitor strip.
    https://allegro.pl/oferta/battletron-monitor-led-strip-0-9m-14861284138

    Just managed yesterday to flash it with ESPHome.
    Drivers are not compatible. So switched this morning to OpenBeken and can tell at least:

    P6/P24/P7 are the button inputs from the box. So Power/Music/Mode Button.

    P7 = Power for the LED Strip.
    After setting this to high, the strip reacts to the SM16703P Driver.

    So the driver commands in fact work and the strip lights up in white.

    Didn't manage to get much further right now.....
  • #15 20950943
    p.kaczmarek2
    Moderator Smart Home
    snakesrules94 wrote:

    Unfortunately, the result is not better than with the original FW with this LED bar.

    Everything boils down to one issue currently - for some reason, our SPI code (we are using SPI DMA to send pixels) has a strange, random lag spike that occurs sometimes when transferring pixels. I really don't know why it happens, but I observed it on my scope as well.

    This is the single issue we need to solve to have full, reliable support of such WS2812-like devices, but I am currently unable to fix it, I just straight up don't know what's wrong.

    Here is our SPI DMA code:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/src/driver/drv_spidma.c
    I am using:
    Code: C / C++
    Log in, to see the code

    to send the pixels, I've tried even doing a NOP loop until DMA transfer is done, but no matter what I do, there is sometimes a random lag spike in the DMA transfer....

    Do anyone have any ideas how to fix it? I can do the rest of LEDs handling code along with dimming once this issue is solved
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #16 20954730
    DevilDuck
    Level 2  

    snakesrules94 wrote:
    Hello,
    I've just tried with a more basic script like this:
    
    startDriver SM16703P
    SM16703P_Init 16
    SM16703P_SetPixel 0 0 255 0
    SM16703P_SetPixel 1 0 0 255
    SM16703P_SetPixel 2 255 0 0
    SM16703P_SetPixel 3 0 255 0
    SM16703P_SetPixel 4 0 0 255
    SM16703P_SetPixel 5 255 0 0
    SM16703P_SetPixel 6 0 255 0
    SM16703P_SetPixel 7 0 0 255
    SM16703P_SetPixel 8 255 0 0
    SM16703P_SetPixel 9 0 255 0
    SM16703P_SetPixel 10 0 0 255
    SM16703P_SetPixel 11 255 0 0
    SM16703P_SetPixel 12 0 255 0
    SM16703P_SetPixel 13 0 0 255
    SM16703P_SetPixel 14 255 0 0
    SM16703P_SetPixel 15 0 255 0
    SM16703P_Start


    But the result is the same, only 12 LEDs out of 16 are ON, the 4 latest keep definitively off.
    Rgds.


    I had exactly the same issue with an LED Strip that contains 25 elements.
    If the script starts with
    SM16703P_Init 25,
    some elements were missing (off).
    However, starting the script with
    SM16703P_Init 30
    will correctly turn on all LEDs with the defined colors.

    Running the script a 2nd time unfortunately will result in wrong and unpredictable colors.
  • #17 20961399
    dingsundbums
    Level 5  

    Also, I have tested a bit more after figuring out that I must set pin 7 on my strip to always high and how to do an autoexec.bat.

    My strip has 72 LEDs.
    If I set the LED init to 76, the strip always shows correct colors after a boot.

    If I run the autoexec.bat manually a second time, the colors will be incorrect and not shown at all.

    So I changed the always high bin to a controllable one.
    Even if I cut power to the strip and rerun the autoexec, the strip lights up again but colors will not change.

    So just a guess:
    Maybe it's not only a timing problem but maybe something in the direction of not flushing the output buffer for the data pin correctly?
  • #18 20961550
    p.kaczmarek2
    Moderator Smart Home
    We've applied a fix on Github, can you try now?
    See related PR:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1055#issuecomment-1943976504
    Helpful post? Buy me a coffee.
  • #19 20961957
    snakesrules94
    Level 8  
    p.kaczmarek2 wrote:
    We've applied a fix on GitHub, can you try now?
    See related PR:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1055#issuecomment-1943976504


    Hi, this is good news! I will have a try tomorrow morning with this new release.


    Added after 11 [hours] 53 [minutes]:

    Hello, quickly checked the release 462 this morning and it seems to works fine .
    Colors are now OK , each led is ON with the correct color when invoking script .
    for your info, i'm using right now 16 WS2812B on the controller, i will try later with the original leds bars of this game bar .
    Anyway , good job to all the peoples involved in this mod .
  • #20 20962439
    p.kaczmarek2
    Moderator Smart Home
    So it's stable now? Wow, that's really good news! It seems it's a good time to make some kind of animation system for OBK. What kind of LED sequences would you like to get?
    Helpful post? Buy me a coffee.
  • #21 20962608
    snakesrules94
    Level 8  

    Would it be possible for you in a first time to manage the brightness control?
    Then a simple animation like rainbow or color scanner could be helpful to check the stability of the whole thing.
    Regards.
  • #22 20963783
    dingsundbums
    Level 5  
    Was just checking and it seems to be consistent now.

    About that dimming:
    As those are digital no special stuff is required to dim.
    Just send 32/64/128 or so instead of 255.
    Works for me.
    Can control the brightness and color per led.

    Also this is working for my strip.
    Pay Attention that on the Battletron Monitor Strip the Power Pin for the LEDs is P7:

    
    // start driver
    startDriver SM16703P
    
    // delay 1s
    delay_s 1
    
    //enable power on P7
    SetChannel 56 1
    
    // use channel 10 as variable to store number of LEDs
    setChannel 10 72
    
    // initialize the driver
    SM16703P_Init $CH10
    
    // set iteration variable (channel 11)
    setChannel 11 0
    
    // loop setting R G B
    again:
    SM16703P_SetPixel $CH11 0 32 0
    addChannel 11 1
    
    SM16703P_SetPixel $CH11 32 0 0
    addChannel 11 1
    
    SM16703P_SetPixel $CH11 0 0 32
    addChannel 11 1
    
    if $CH11<$CH10 then goto again
    // apply changes
    SM16703P_Start
    



    PS: Just to mention that:
    Those strips are GRB ordered. Was a bit confused about that at frist.
    So first color is GREEN and not RED :)
  • #23 20963810
    snakesrules94
    Level 8  

    @dingsundbums: So simple! :-)
    Thanks for the hint about dimming!
  • #24 20963815
    dingsundbums
    Level 5  

    You're welcome :)

    Yeah, sometimes it's that simple and not digital (like on/off)

    PS: Just as a test for stability, I did some kind of silly LED effect:

    // start driver
    startDriver SM16703P
    // delay 1s
    delay_s 1
    // enable power on P7
    SetChannel 56 1
    // use channel 10 as a variable to store the number of LEDs
    setChannel 10 72
    // initialize the driver
    SM16703P_Init $CH10
    // set iteration variable (channel 11)
    setChannel 11 0
    // loop setting R G B
    again:
    SM16703P_SetPixel $CH11 0 32 0
    addChannel 11 1
    delay_s 0.2
    SM16703P_Start
    SM16703P_SetPixel $CH11 32 0 0
    addChannel 11 1
    delay_s 0.2
    SM16703P_Start
    SM16703P_SetPixel $CH11 0 0 32
    addChannel 11 1
    delay_s 0.2
    SM16703P_Start
    if $CH11<$CH10 then goto again


    PS: Sorry for spamming here. Maybe this one?

    // start driver
    startDriver SM16703P
    // delay 1s
    delay_s 1
    // enable power on P7
    SetChannel 56 1
    // use channel 10 as a variable to store the number of LEDs
    setChannel 10 72
    // initialize the driver
    SM16703P_Init $CH10
    // set iteration variable (channel 11)
    setChannel 11 0
    // loop setting R G B
    again:
    SM16703P_SetPixel $CH11 0 32 0
    addChannel 11 1
    delay_s 0.1
    SM16703P_Start
    SM16703P_SetPixel $CH11 32 0 0
    addChannel 11 1
    delay_s 0.1
    SM16703P_Start
    SM16703P_SetPixel $CH11 0 0 32
    addChannel 11 1
    delay_s 0.1
    SM16703P_Start
    if $CH11<$CH10 then goto again
    setChannel 11 0
    erase:
    SM16703P_SetPixel $CH11 0 0 0
    addChannel 11 1
    delay_s 0.1
    SM16703P_Start
    if $CH11<$CH10 then goto erase
    setChannel 11 0
    goto again
    

  • #25 20963897
    p.kaczmarek2
    Moderator Smart Home
    I am open to any suggestions for improvements. I am going to look into brightness command today or tomorrow. And soon, we need an animation system. How are LED animations handled in WLED or other software? Is there some kind of binary format for animations?
    Helpful post? Buy me a coffee.
  • #26 20964045
    dingsundbums
    Level 5  

    Can't really tell how LED works.
    Sorry for that, but personally I use esphome with lambda functions to achieve some effects and I am relatively new to the openbeken world.

    Personally, I use an ESP8266 (D1 Mini) with a WS2812 1m/144 LEDs strip to show some values from my PV plant with an addressable lambda function.
    Think of it like fuel gauges.

    Due to the esphome in Home Assistant integration, I can get sensor values like PV power.

    So I can calculate out of those values how many LEDs should turn on in which colors and set the strip accordingly.
    At the moment, the strip is logically cut into 2 partitions with 72 LEDs each.
    One side showing PV power, the other the positive/negative battery power.

    PS: Just as an example, of course.
    But the effects are nice but sometime getting boring.
    And we all know the WAF.
    If it's colored and showing actual interesting values caused by the amount of sun that's shining, you have the WAF bigger than 1 :)
  • #27 20964168
    snakesrules94
    Level 8  

    p.kaczmarek2 wrote:
    I am open to any suggestions for improvements. I am going to look into the brightness command today or tomorrow. And soon, we need an animation system. How are LED animations handled in WLED or other software? Is there some kind of binary format for animations?


    To control brightness, I've just added a dummy channel as Dimmer256 and use that value inside the script to dim light, seems to work fine:

    setChannelType 13 Dimmer256
    setChannelLabel 13 Brightness


    then

    SM16703P_SetPixel $CH11 0 $CH13 0

  • #28 20964234
    dingsundbums
    Level 5  

    What a cool idea!
    I will copy that to my autoexec.bat :)

    Maybe it slowly makes sense to have our own thread for those addressable light things in general?
  • #29 20966208
    p.kaczmarek2
    Moderator Smart Home
    Yes, sure. I've did a basic writeup and added some more commands and fixes. 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.

Topic summary

The discussion revolves around configuring the BK7231N LSC Multi Color Light Bar, specifically addressing firmware and driver issues encountered after flashing the device with the latest OpenBeken (OBK) firmware. The user initially struggled to find drivers for the LED bar and reported that only 12 out of 16 LEDs were lighting up correctly. Various users suggested testing the SM16703P driver, which led to further troubleshooting involving pin configurations and power settings. The conversation highlighted the importance of correctly initializing the driver and managing power to the LED strip. After several iterations and adjustments, including using a genuine WS2812B LED strip, users reported improvements in color accuracy and stability. A recent fix in the firmware appears to have resolved many issues, allowing for proper LED control and the potential for future animation features.
Summary generated by the language model.
ADVERTISEMENT