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

SOLVED Flickering at end of lightstrip

Discussion in 'Software Support' started by jjansen, 24 May 2016.

  1. jjansen

    jjansen New Member

    Messages:
    21
    Hardware:
    RPi2, RPi3, +Arduino, +PhilipsHue, +nodeMCU/ESP8266
    I have a strange flickering problem. I uploaded a video to show what I mean


    It is a WS2812B strip, connected via Arduino to a RPi2. RPi2 is running Raspbian + Kodi. Few months ago it was running fine, after updating Hyperion software with one of the laters versions I get this flickering. It is not alway present and I it looks pretty random...

    It looks like it are always the same leds flickering, so the leds at the end of the strip.

    The strip is powered from left-under, but signal is starting at right-under.

    Hyperion config:
    Hyperion log:

    Any idea?

    btw, I really like this wonderful piece of software!!! Really enjoy watching movies with some additional effects :)
     
  2. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Greetings!
    Hm, there were no changes to the adalight code. (at least i imagine)
    May you able to test a lower priority like 500?
    Code:
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0,
            "priority" : 500
        },
    Thank you
     
  3. jjansen

    jjansen New Member

    Messages:
    21
    Hardware:
    RPi2, RPi3, +Arduino, +PhilipsHue, +nodeMCU/ESP8266
    Thanks!
    I will give it a try.
    adalight code was not changed.
     
  4. jjansen

    jjansen New Member

    Messages:
    21
    Hardware:
    RPi2, RPi3, +Arduino, +PhilipsHue, +nodeMCU/ESP8266
    Since lowering the prio it looks better. Didn't experience flickering anymore. Let's hope this will keep this way :)
     
  5. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    hm, this priority thing is really strange. I am sure there is another issue here, but no idea.
    Maybe some problems with the length of the data wire? or bad shielded? Not sure.

    OT: might you post a video of your working ambilight in action at the showcase section? Never saw something like this. Might be a inspiration as constrction idea for others :)
     
  6. jjansen

    jjansen New Member

    Messages:
    21
    Hardware:
    RPi2, RPi3, +Arduino, +PhilipsHue, +nodeMCU/ESP8266
    Can it also be power related? I still have to make changes to be able to power the strip from both sides.

    I'll make a video/photos and upload later on. Good idea :)
     
  7. jjansen

    jjansen New Member

    Messages:
    21
    Hardware:
    RPi2, RPi3, +Arduino, +PhilipsHue, +nodeMCU/ESP8266
    And now it just started again... Looks like it appears in 'high' power situations (bright colors). I am gonna check power supply and data wire.
     
  8. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    911
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    how much ampere has your power supply?
     
  9. jjansen

    jjansen New Member

    Messages:
    21
    Hardware:
    RPi2, RPi3, +Arduino, +PhilipsHue, +nodeMCU/ESP8266
    Just applied power (5V 10A) to both sides of the LEDstrip and replaced the data wire by a more solid wire/construction. First impression looks good! So let's hope this was the issue
     
  10. gh0s7

    gh0s7 New Member

    Messages:
    1
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    For everyone that is struggling with fixing the ambilight random flickering and the ambilight is made with ws2812b + Raspberry Pi + Arduino there is a few things that each separate one (or any combination of them) can fix the issue. I was struggling few months too. Tried every suggestion on the web (software and hardware), missing one thing that wasn't suggested anywhere. It was not included in any tutorial too. The fix in my case was connecting one of the ground pins of the Raspberry to the grounds of the Arduino and the strip (all of them grounded in the power supply V-). There wasn't any tutorial that was saying that they (3 of them) must have common ground. All suggestions were that I have to have common grounds on the arduino and the LED strip.

    So, this is short list of things that may help:
    - putting additional capacitor 1800uF 6V+ (and more) on the power supply V+ and V-
    - putting resistor 470 Ohm directly or as much closer as it can be placed on the first LED DI (Data In) connector
    - using short and thick wires to power the LED Strip to prevent voltage drop and supply enough amps for the LED Strip
    - If the strip is longer (let say 150, 200 or 300 leds and more) power it on a few places along its length and even on the end. Measure the voltage in between 2 power connections to check if additional power connection is needed to fix the voltage drop.
    - Calculate the Amps needed to feed the strip. Each LED consumes 60mA. When buying the power supply and choosing the right one for you, use this formula to calculate how much power in watts do you need: P(W) = I(A) × V(V). So lets say 300 LED multiplied by 60mA = 18 000mA = 18A. 18A multiplied by 5V = 90W - needed only for the strip! But hey, don't be scrumpy when buying power supply - buy 100W. And read the buyer comments under the product and make sure if it is good quality. You don't want to fire you house or damage electronics for hundred dollars, right?
    - When testing the configuration is done and everything works amazing, don't forget to use good quality and more thicker cables. Avoid any use of solderless power, ground and data joints. It may lead to power and voltage drops, loose/no connection at all and we know that with the bigger power comes bigger responsibility :D .