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

SOLVED LED's flashing random colors

Discussion in 'Hardware Support' started by m10653, 19 August 2016.

  1. m10653

    m10653 New Member

    Messages:
    11
    Hello, I have been working on trying to get Hyperion working with my RPI A+ and a strip of 50 WS2801 LEDs. I have a 2Amp power supply for just the LED's and another power supply for the Pi. When I try to set a solid color though Hyperion The lights start flashing random colors along with random parts of the strip turning on and off. I have no idea whats going on, Any information would be great.
    Thanks
    M10
     
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,276
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Could you post your config on pastebin and share the link with us please
     
  3. m10653

    m10653 New Member

    Messages:
    11
    Sure thing, I Tried changing the rate to 250000 and that didn't work ether. Link
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,276
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    can you post the output when you start hyperion and then in a second shell when you send the command to change the colors
     
  5. m10653

    m10653 New Member

    Messages:
    11
    the whole output of the pi when it boots up? Also The command I was using was hyperion-remote --priority 50 --color red --duration 50000
     
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,276
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    no after the pi is booted, just restart hyperion manually and post the output

    edit: do you see the rainbow effect after booting the pi?
     
  7. m10653

    m10653 New Member

    Messages:
    11
    Yes? I am having trouble restarting Hyperion, sorry not very familiar with Linux.
     
  8. m10653

    m10653 New Member

    Messages:
    11
    Here is a Video of the issue, This is a video of me just restarting the pi. Link
    Ps: sorry about the dog.
     
  9. Starbix

    Starbix Pukinator

    Messages:
    62
    Hardware:
    RPi1/Zero, RPi3, +Arduino
    Is ground connected between the Pi and the led strip?
     
  10. m10653

    m10653 New Member

    Messages:
    11
    yes, the ground lead(blue) is attached to the pi's pin 9.
     
  11. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,276
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    hm, thats weird....did you connect the input from the leds? oder the output? you sure you connected clock and data right?
     
  12. m10653

    m10653 New Member

    Messages:
    11
    I think so, I flipped the data and clock leads and it made the whole thing stop working. And Right now I am plugged into the male end of the strip.

    Edit: do you think it could be a power issue? ether input voltage 3.3 vs 5v or the ac to dc converter only supplying 2amps?
     
    Last edited: 20 August 2016
  13. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,276
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    maybe the 3.3v could be a problem, but i dont think the 2amps are doing this problem, because then the first few leds should be in the right color

    may the first led-chip has a issue?
     
  14. m10653

    m10653 New Member

    Messages:
    11
    might, but it seems to change colors fine. Has the 3.3v been an issue before? This is the strip I am using. link
     
  15. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,276
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  16. m10653

    m10653 New Member

    Messages:
    11
    Would a level shiftier like this work?

    Ether this or this?
     
  17. m10653

    m10653 New Member

    Messages:
    11
    Update, wired level shiftier into it, failed to fix the problem.
     
  18. eltanque

    eltanque New Member

    Messages:
    13
    Hardware:
    RPi2
    Hi
    Never thought this was going to solve my problem!!!
    I was having the same problem with the lights showing random colours. I was ready to throw the towel after multiple tests and then read this. With the exception of a BLUE <--> GREEN swap, everything was ok.

    Only issue I have now:
    Looks like the lights are not refreshing as fast as the image. I run a test file that cycles between RGB, then a spin RGBW, and a spiral, I could notice when the image changes between colours, the lights are slightly behind. What parameter should I change to address this?

    thanks for your help!
     
  19. m10653

    m10653 New Member

    Messages:
    11
    I forgot to post this but my issue was a bad ground connection to the led strip. Glad it worked out for you eltanque.
     
  20. penfold42

    penfold42 Moderator Developer

    Messages:
    750
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    God you sorted it - thanks for the follow up !