1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Other WS2013 - Lights white unless heavy load

Discussion in 'LED Devices Support' started by Snuffsis, 27 November 2017.

  1. Snuffsis

    Snuffsis New Member

    Messages:
    1
    Hardware:
    RPi3
    Quick Edit: Title was wrong, it was 2813 5050 LED strips we purchased.


    Hello,

    So, tricky issue here, been problemsolving for a while now but no solution (well, one, but not viable long-term, see below).

    Hardware:
    Raspberry Pi 3 Model B
    WS2813 Led Strip 5m
    OSMC
    External 5v 90W power supply

    Wiring:
    Everything is connected properly according to diagrams.
    DI and CI(Althought it says BI on these), is connected to pin 19 and 23 respectively.
    5V is connected to the Power supply
    Ground is connected to power supply and pin 6

    Problem:
    After installing Hyperion and uploading a configuration from HyperCon and restarting. We see the rainbow swirl boot effect, and the menu colors are properly shown, only for about 10 seconds, however.
    After those 10 seconds, the lights all just shine bright white.

    Non-viable solution:
    However, if we SSH into the pi, and do something such as open top and just go back and forth through menu really fast, the lights will show the appropriate colors when running an RGB Test sequence video on it.
    But if we stop, it stays shining white.

    It also works if we ran a bash command to echo 1 infinitely as fast as possible, which also worked. But this put the raspberrys cpu load at 98%+ load, which obviously isn't a feasible solution.



    So, currently we are out of options and thus came here to ask for some insight and possibly some help in solving this issue.

    Does anyone have any idea as to what the problem might be, and possibly a solution?
    I can get a video of what it looks if that would help.
     
    Last edited: 27 November 2017
  2. SchorschGaggo

    SchorschGaggo New Member

    Messages:
    5
    Hardware:
    RPi2, RPi3
    The Pi3 changes its core clock depending on load and temperature. In low usage condition the core clock is 250MHz instead of 400MHz. This results in almost doubled SPI timing. WS281X LEDs protocoll defines 'Zero' as a short puls and 'One' as a long pulse. With half speed every Bit is seen as a 'One'.
     
  3. penfold42

    penfold42 Moderator Developer

    Messages:
    742
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    The fix is to change config.txt so the core clock is fixed.

    core_freq=400 (or lower if you want) should do it.

    force_turbo=1 will likely also work