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

RPi + Other Software LED's not powering on, Everything looks right.

Discussion in 'Software Support' started by BuzzBazz, 24 October 2020.

  1. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
  2. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    i think after reading everything, you are to much into fixxing mode when its not necessary to be. If you install Hyperion.NG the correct way ( asuming that you did) it should run by itself. Why are you using a "old" type of PI and not like a RPI3 or even 4, that would be my first question. SPI device is only 2 GPIO pins on raspberry, they contain data and reset functions, output of those pins have to be approximately 3.3 volts. You can connect the ledstrip directly to the GPIO pins, mostly it will work without a levelshifter ( that will boost datasignal to the strip) Make sure you grounded everything RPI/ledstrip/PSU. You can if you connected the ledstrip IN A GOOD MANNER you can test it with a testscript from adafruit, there you put in ledcount and the script can be run into commandline or putty.
     
    • Like Like x 1
  3. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    just make a clean install of Hyperion.NG >> don't make any changes into the software and test your ledstrip with testscript from adafruit. If the script runs and ledstrip fails you have a hardwareproblem and its NOT the software. The one i have is Buster full OS with the first HYperion.NG version 1 béta and works perfect on WS2801. I've build a second system for my friend last weekend with RPI3b Hyperion.NG 2.08 and 300 APAleds, worked in one time. Really the problem is you probably, not the software.
     
    • Like Like x 1
  4. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
    See, that's the problem I have been having. I flash the SD card, run update, then upgrade, install hyperion and it fails to load. After redoing it all but with installing cec-utils after there were a ton of errors popping up with the pi and settings not set. Setting them Hyperion started, but no lights.

    Because it was cheap and it should work with it, and as I'm trying to make it all take as little place on the back of the TV's I figured out it would be good enough to use it. Why would I want to use a more powerful board when the ZeroW should be good enough? Are there some other functions that should be ther?

    Using a multimeter I get 4.96V on both 5V pins (pin2 & pin4) and 3.2V on the 3V pin (pin1). GPIO 18 (pin12) gives me 0.0025V.

    I've been thinking about the need for a levelshifter, but so far I've skipped it. Now that you are telling me GPIO18 (pin12) is supposed to give 3.3 volts... Why am I getting such low Voltage? This might solve my problem O_O

    That I have. Almost everything is soldered. And the few connections that are not are still well connected. No problems there.
     
  5. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
    And Thank you. Such a simple thing made it go form software to hardware.
     
  6. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    you know that the pin-out for a PI1/zero is really diffrent than what i have on RPI3. I used schematics from internet on PI forum and Hyperion to locate the pin-out. I don't know which GPIO it should be on a ZERO or PI1, you can find that really easy. but it seems that or; pinout is wrong/datasignals is mixed or; SPI device is NOT running or selected
     
  7. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3

    RPI3 is much more powerfull than the first type, you can look that up yourself,
     
    Last edited: 1 November 2020
  8. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    some pinouts charts are really deceitful, they will count into normal numbers ( numbering on pcb) OR GPIO pinout numbers



    https://cdn.sparkfun.com/assets/learn_tutorials/6/7/6/PiZerov2.pdf
     
    Last edited: 1 November 2020
  9. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
    Googling shows me that RPi3, 4 and Zero/ZeroW all have the same 40pin layout. So it should be the same pins.

    Yeah I get that, but as I was going to make this run I wasn't thinking of adding a bigger more expensive Pi to the mix.
    Having said that, the ZeroW came out in 2017, so it's not that old.
    Also, I'm not powering the 190 LED's off just the Pi. as far as I can figure out that would blow the tiny sucker when it's pulling close to 10Amps. But no worries, I am in hardware fix mode again to see if I can't figure out of this problem.
    Unless anyone has bumped into this problem with GPIO18 barely providing 0.0025V instead of 3.3V, I might look into buying another, newer Pi.

    Oh... All I've been told was that the 40pins are supposed to be the same 40 pins for most devices. I'll do some digging.
     
  10. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
    As for to clean stuff up a little, this is what my setup looks like.
    upload_2020-11-1_22-37-56.png
    Only main difference is the Pi is a ZeroW.

    When googling I am told that I can not read the 3.3V from GPIO18 with a normal multimeter, but that I would need a Oscilloscope to be able to see it. I don't own that, but I agree that there might be a hardware issue.
     
  11. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    SPI device is on diffrent GPIO's , you can see that on schematics. You are measuring on a input/output of the PI!! thats doesnt work, its not a SPI device/controller output'

    i think you need PIN 19/21/23 to make it work > combination of 19/23 or 21/23 > thats GPIO 9/10 and 11

    thats between a dataline and CLK line if you have 4 trails on the strip.
     
  12. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
     
    Last edited: 1 November 2020
  13. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
    Yeah I was going to ask, that would be if you are running a 4 pin LED strip.
    All I have is a 3 pin one.
     
  14. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    19/21/23 pins is SPI device 0
     
    Last edited: 1 November 2020
  15. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3

    yes i see that, i have only 4 pins. Nevertheless SPI device 0 is there on schematics MOSI or MISO
     
  16. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
    Ah okay. I'll make a cable from those two to one, maybe that'll help.
    I worked with combining the two data lines on my WS2815 144/m strip for the offbrand controller, so I'm guessing that it would work the same in reverse (miso+mosi to 3pin led). I'll see what happenes.
     
  17. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    Last edited: 1 November 2020
    • Like Like x 1
  18. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
  19. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    413
    Hardware:
    RPi3
    it seems you can control the ledstrips with different controllers, PWM and SPI. I've read that PWM uses a lot of CPU power and SPI therefor is much better to use, PWM is a sinus signal with high and low frequencies and is used for common connections to the PI such as temperaturemeters. If i read a lot about this i didn't see much people that succesful used this PWM controller on the PI. SPI was possible somebody on the forum said > see this thread, maybe it helps https://hyperion-project.org/threads/is-pi-3-with-ws2813-using-pwm-on-gpio18-possible.3426/
     
  20. BuzzBazz

    BuzzBazz Member

    Messages:
    31
    Hardware:
    RPi1/Zero
    Yo TPmodding! I have now followed your video and copied everything you said, but guess what? It did not work. It keeps spitting out an error about "no such file or directory". But following your video it should have worked, right?
    Code:
    2020-11-03T17:41:55.918 hyperiond LEDDEVICE    : <ERROR> Device disabled, device 'sk6812spi' signals error: 'Failed to open device (/dev/spidev0.0). Error message: No such file or directory'
    The furthest I've gotten is the first LED to light up GREEN, but I think that was an accident as it also happened sometimes when I plugged the SP501 LED controller to the LEDs.
    Also, I seem to have hit a slight problem where the baudrate seems to be off. You even commented on it in a different thread:
    So I have doubled down in trying to figure it out but I can't find any logics to some of the things you say vs. some of the things you do.
    So please... I have done exactly like you got angry at me for not doing in the first place. All I am after is some understanding, maybe even a slight explanation.
    Are WS28xxSPI and SK6812SPI supposed to use the same library?
    And if so, why is their baudrate in Hyperion set to something beyond what it's specifics that Adafruit states?
    Is the settings in Hyperion not relevant to these two sets of LEDs?
    I have tried using both GPIO18(pin12, spi1 ce0) and GPIO9+10(pin19+21, spi0 MISO/MOSI) but not gotten any difference in the LEDs.
    Also, why is it stated in Hyperion that spidev0.0 and spidev0.1 are options, but I'm being told that there is only one SPI line, when the pi tells me there are two?
    And which is which? Is "spidev0.0" SPI0 or SPI1?