logo elektroda
logo elektroda
X
logo elektroda

Arlec ALP211HA OBK Config: How to Set Up MT16703D RGB and CW/WW Channels Separately?

alexlednoob 30 2
ADVERTISEMENT
  • #1 21650908
    alexlednoob
    Level 1  
    I have successfully flashed OBK on the Arlec ALP211HA but I'm not sure what the correct module configuration is for OBK. Please see the attached pictures of the PCB and LED strip.

    CYTT-286 PCB board dated 2022-5-22 featuring a BK7231N SOC chip and connected color-coded wires for LED strip control.

    Close-up of an RGB+CCT LED strip with MT16703D control chips and labeled connection pads.

    This product is using the BK7231N SOC and the LED strip is a combined Warm White / Cool White addressable RGB LED strip using the MT16703D. Pins 6 (channel 4) and p8 (channel 5) are PWM pins that control the brightness and colour temperature of the white LEDs, and p26 is the data pin for the MT16703D. The problem is I'm not sure what the correct configuration is for p26 in OBK. A quick Google search indicates that the MT16703D might be compatible with the WS2815 / SM16703P, so I tried setting p26 to SM16703P_DIN and the startup command to:

    startDriver SM16703P
    SM16703P_Init 90
    startDriver PixelAnim

    but regardless of what I set the LED controls to in the OBK web UI, neither the RGB or white LEDs come on. I am able to get the white LEDs to function correctly if I set p26 to high / always on; when I do this, the colour temperature and brightness sliders in the OBK web UI control the white LEDs as expected. The problem with setting p26 high is that the RGB LEDs are also on and at max brightness, producing a bluish white colour. If p26 is floating / low / unassigned in OBK, then none of the LEDs will turn on -it doesn't matter what p6 and p8 are set to.

    I'm new to OpenBK, so any assistance would be appreciated.
  • ADVERTISEMENT
  • #2 21651059
    insmod
    Level 27  
    Set P26 to PWM. That should allow you to control brightness.
    SM16703P on BK7231 always use P16.
  • #3 21651091
    p.kaczmarek2
    Moderator Smart Home
    Usually we use two PWMs - first for Cool White, second for Warm White.
    Still, it seems you are saying:
    Quote:

    Pins 6 (channel 4) and p8 (channel 5) are PWM pins that control the brightness and colour temperature of the white LEDs

    That would indicate that you need to enable alternate CW mode flag, which is used for special case where one PWM controls brightness of CW LEDs, and second PWM controls the temperature.
    Helpful post? Buy me a coffee.
ADVERTISEMENT