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

SOLVED Completely stuck, no idea what is wrong.

Discussion in 'Software Support' started by Dashredar2507, 11 May 2020.

  1. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    Hi everybody!

    First post here, though I've been peeping the forums for months while preparing my own ambilight setup. I'll try to make this quick and detailed.

    Hardware
    • Raspberry Pi 4 4GB (tried with 1 B+ too)
    • EasyCap D60 (UT7000) grabber (and all the required bits before it for TV capture)
    • Mean Well RSP-150-5 power supply (150w 30a 5v)
    • 228 APA102 LEDs (5M roll, about 4m used. Bought on AliExpress)
    • 12AWG wires from the PSU, splits into 20AWG to power all 4 corners separately
    • Everything was hand-soldered. I'm new at this but it seems to be okay.
    OS
    • Raspbian Stretch
    • Raspbian Buster
    • OpenElec
    Tried both Hyperion-NG and Hyperion with HyperCon. Also tried alpha 0.2 and 0.5, along with many ways to compile/install. I'd prefer getting NG to work if possible.

    The Issue(s)
    This is where it gets tricky. It's so off the map that I don't even know how to describe it. I'll try to be precise but please don't hesitate to ask for clarifications.

    I was first able to get something to happen using the Pi 4 and Buster with Hyperion-NG 0.5. The software works for me, as in I'm able to access the WebGUI and make changes. However, I just can't get the LED to work properly.

    I got close once, using the effects in Hyperion-NG worked somewhat on the LEDs, but there were constant random colors and flickers so it was useless. Also, I did something weird to make that work: I switched the Clock and Data pins on the Pi, ie put 19 instead of 23 and 23 instead of nineteen. I know this is wrong, but this is the only way I was able to get something working. Anything else was a failure.

    That was the first attempt. Since then I've gone to the Pi B+ and tried 3 OS and nothing even got close to the first attempt.

    So all in all, it seems that my Pi isn't "controlling" the LEDs at all. Since the PSU is plugged into the wall, they are constantly on and the Pi does nothing different. Effects don't work, etc.

    I know this isn't much to go by, but I'm really struggling here. Read all the tutorials I could find. Am I missing some hardware to interface with the LEDs? Is the Pi 4 not supported? Is Alpha 0.5 fairly reliable (in regards to other versions)?

    Thanks a bunch for your help. I'm just looking forward to figuring this out.

    PS. Not a Linux expert, FYI. I get around using web resources.
     
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  3. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11

    Attached Files:

  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    need your config + some logs if you start hyperion would be nice
     
  5. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    Hey, thanks so much! I re-installed Hyperion-NG with the exact steps from the GitHub.

    Here's the PasteBin for my debug log:

    And I've uploaded my configuration.

    Some "progress": I've plugged the GPIO in the correct order (which did nothing before), and now it seems to do... something? Effects have an impact on the LEDs, but they basically all change to a different, random color. Also, when my LED Device is On in the "Remote Control", my LEDs are flickering and changing colors randomly. When they are Off, the LEDs stop flickering and keep their color (which, again, is random).

    Thanks again!
     

    Attached Files:

  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    sounds like that you need a level shifter
     
  7. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    I'm not very familiar with Level Shifters. Is it for adjusting the voltage when powering from the Pi? My PSU is adjustable and outputs exactly 5v so I thought I didn't need one.

    Thanks so much for your help.
     
  8. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    it "boosts" the data signal vom 3.3v to 5v. all those leds NEED a 5v data signal.....mostly it works without....but thats more luck...
     
  9. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    Alright, thanks for the explanation. Before buying one, should I try slightly boosting my PSU's voltage? Like 5.5v or something?
     
  10. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    nope, this has nothing to do with the data signal, the data signal comes from the pi...
     
  11. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    Oh, I see... Data signal! Apologies, when I hear volts all I think about is the PSU. Great then, I'll try again with another pair of data wires (mine were a bit home-made...) and if that doesn't work I'll get a Level Shifter.

    Thanks so much!
     
  12. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    Update: new cables did not help, but at least they're better secured now.

    I just bought this Level Shifter, it should be here Friday. I'll test with that and let you know how that goes.

    Thanks again for your help!!
     
  13. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    if you dont know how to connect it, use the search, there a few threads with the same case
     
  14. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
  15. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    nope you need them also
     
  16. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    Figured as much, so I plugged everything in. It kinda works now, although it doesn't really seem to follow the screen colors.

    Another thing is color accuracy. I did the test and put it GBR, but I still can't show red. It displays as blue instead, and so does blue...

    All in all, we're making progress. Thanks a lot for your help.

    Ps. When all this is done, lunch will be on me.
     
  17. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    did you check your soldering?
     
  18. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    As best as I can, but I'm not really sure what I'm looking for. I don't think the wires touch.

    One more thing I think is important to mention: when the LED device is OFF in Hyperion-NG, the lights don't flicker AT ALL and all seems perfect except for the fact that I can't control them.

    When I turn the LED Device ON, then sometimes I get flickers but it still looks very good. Nothing crazy.

    Don't know if that helps. I'll take another deep look at everything and let you know how it goes. Thanks again!
     
  19. Dashredar2507

    Dashredar2507 New Member

    Messages:
    11
    You know what? I completely fixed it. I had "Invert Signals" ON in the LED settings... I tried again and so far it's amazing. The colors are exactly as displayed on screen and everything.

    Thanks so much for everything, it would have taken months without you.

    Ps. I kept my promise, check your PayPal :)
     
    • Like Like x 1
  20. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,574
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    on some level shifters you need to invert it, but as you mentioned it out, not on yours

    thanks buddy!!