logo elektroda
logo elektroda
X
logo elektroda

[BK7231N] Configuring LSC Neon LED Strip with BK7231N Chip from Action Store

tycwe 606 1
ADVERTISEMENT
  • #1 21365201
    tycwe
    Level 1  
    I recently bought the same Neon LED Strip from Action as the one discussed there: https://www.elektroda.com/rtvforum/topic4083817.html
    However, my version of this strip is based on BK7231N, not LN882H.
    Here are a few pictures of the tear-down:
    [BK7231N] Configuring LSC Neon LED Strip with BK7231N Chip from Action Store
    [BK7231N] Configuring LSC Neon LED Strip with BK7231N Chip from Action Store
    [BK7231N] Configuring LSC Neon LED Strip with BK7231N Chip from Action Store


    I started fiddling around with OBK and its different tools. I ended up with the following configuration:
    {
      "vendor": "Action",
      "bDetailed": "0",
      "name": "LSC Smart Neon LED Strip",
      "chip": "BK7231N",
      "board": "TODO",
      "flags": "0",
      "keywords": [],
      "pins": {
        "6": "Rel;57",
        "7": "PWM;4",
        "20": "Btn_Tgl_All;0"
      },
      "command": "backlog startDriver SM16703P; SM16703P_Init 36 RBG; startDriver PixelAnim;",
      "image": "https://obrazki.elektroda.pl/7599725600_1730200466.png",
      "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
    }

    When both toggles are set to ON, the brighness can be adjusted and the LED colors can be changed. PixelAnim also seems to be working fine.
    It is not yet fully functional though. My main issue is that the red color doesn't quite work... Other colors work fine but red is mostly white (slightly pinky white maybe). When I change the RGB colors order, I can get the red color to work but then green or blue turns to white as well. I guess SM16703P may not be the correct driver but being new to OBK, I don't know yet the different available drivers and more specifically the one that could work in this case. Anyone could help ?
    FYI, here are the parameters dumped from the original firmware:
    {
       "Jsonver":"1.0.6",
       "brightmin":"10",
       "gmwb":"42",
       "title20":"0",
       "cdtime1":"60",
       "1err":"65",
       "cdtime2":"120",
       "totallen":"300",
       "gmwg":"63",
       "knum":"1",
       "leaderr":"55",
       "wfcfg":"spcl_auto",
       "colormin":"10",
       "bitseq":"0",
       "pmemory":"1",
       "gmkb":"50",
       "pairt":"180",
       "cmod":"rgbc",
       "slidemod":"0",
       "customcode":"00ef",
       "rstbr":"50",
       "ktime":"5",
       "0err":"85",
       "colormax":"52",
       "c_pin":"7",
       "module":"CBU",
       "ctrl_lv":"1",
       "rstmode":"2",
       "irpin":"26",
       "brightmax":"73",
       "sfunc":"1",
       "key_lv":"0",
       "wfct":"3",
       "pwmhz":"1000",
       "defbright":"100",
       "starterr":"55",
       "rstnum":"3",
       "rstcor":"r",
       "c_lv":"1",
       "miso":"17",
       "mosi":"16",
       "k1dfunc":"0",
       "keyfunc":"1",
       "irfunc":"1",
       "brifollow":"0",
       "ctrl_pin":"6",
       "ismusic":"0",
       "prodagain":"1",
       "key_pin":"20",
       "brightstep":"20",
       "remdmode":"0",
       "cagt":"20",
       "colorpfun":"0",
       "CS":"15",
       "gmwr":"100",
       "rgbt":"20",
       "gmkg":"60",
       "onoffmode":"0",
       "colororder":"1",
       "LedNum":"36",
       "irfunset":"[[14,00],[15,01],[3,02],[2,03],[19,04],[23,05],[27,06],[62,07],[20,08],[22,09],[26,0a],[95,0b],[21,0c],[25,0d],[29,0e],[96,0f],[12,10],[85,11],[13,12],[49,13]]",
       "aging":"1",
       "category":"0504",
       "SCL":"14",
       "gmkr":"80",
       "defcolor":"r",
       "crc":"36"
    }
    
  • ADVERTISEMENT
  • #2 21367026
    divadiow
    Level 34  
    I don't know if SM16703P is aware of a separate PWM white if one is present and knows how to integrate it into effects.
    I would have thought you could control RGB correctly though.

    Maybe the LED strip is not one of the SM16703P-type compatibles, which I believe are:

    TM1804
    TM1812
    UCS1903
    UCS1909
    UCS1912
    SK6813
    UCS2903
    UCS2909
    UCS2912
    WS2811
    WS2812
    WS2813
    WS2815
    TM1809

    @p.kaczmarek2 @DeDaMrAz probably know more
ADVERTISEMENT