logo elektroda
logo elektroda
X
logo elektroda

[BK7231N] APPECK Smart Lights - SM16703P_SetRaw controls only first LED, GPIO 28 needed

kleinmantara 27 0
ADVERTISEMENT
  • Why does SM16703P_SetPixel affect only first LED?

    #1 21951475
    kleinmantara
    Level 1  
    Posts: 1
    Hello everyone,

    a quick introduction: My name is Thomas and I originally come from the ESP world.

    I recently bought these APPECK Smart Landscape Lights: https://www.amazon.de/dp/B0DMDW5HPT
    [BK7231N] APPECK Smart Lights - SM16703P_SetRaw controls only first LED, GPIO 28 needed


    - They contain a BK7231N (CBU). I flashed the OpenBK7231T_App firmware and I am now trying to control the LEDs.
    - The LEDs have VCC, GND and a data line.
    [BK7231N] APPECK Smart Lights - SM16703P_SetRaw controls only first LED, GPIO 28 needed


    Based on the template from this thread https://www.elektroda.com/rtvforum/topic4131618.html, I created the following configuration and
    autoexec.bat
    :
    Code: JSON
    Log in, to see the code


    Code: Dos
    Log in, to see the code


    When I try to control the individual LEDs using the **Command Tool**, it only works for the first LED. The command does not seem to work for the other LEDs. For example:

    Code: Dos
    Log in, to see the code


    However, if I use
    SM16703P_SetRaw
    with the colors of all LEDs - its working
    Code: Dos
    Log in, to see the code

    Another strange thing I noticed is that the LEDs only work if I assign the following function to GPIO 28:
    "28": "Btn_ScriptOnly;4"
    If GPIO 28 is left unassigned, the LEDs do not turn on at all.

    So there seem to be three things I don't fully understand:
    1. Why do I have to initialize 7 LEDs, even though there are only 6 physical LEDs?
    2. Why does
    SM16703P_SetPixel
    not work but
    SM16703P_SetRaw
    works?
    3. Why does GPIO 28 have to be assigned as Btn_ScriptOnly;4 for the LEDs to work?

    Does anyone have an idea why this is happening? In particular, I would like to understand why controlling the individual LEDs with
    SM16703P_SetPixel
    does not work as expected.

    Thanks in advance for any help!
    AI: Which exact OpenBK7231T_App firmware version/build are you using, and have you tested the same commands on the latest build?
    Built on Aug 2 2026 19:38:07 version 1.18.300
    AI: Can you provide clear photos of both sides of the PCB or confirm by tracing whether GPIO 28 is connected to an LED power enable transistor, level shifter, or any part of the LED data/power circuit?
    yes
  • ADVERTISEMENT
ADVERTISEMENT