LEDs strip WS2813 not turning on

  • Hi Guys,


    I have the following setup:

    RPI0

    WS2813 strip connected to GPIO18

    USB Webcam

    total 103 leds


    Everything looks OK, however Led dont turn on ;(


    iuWUuHL

    C9zSTy1



    Full logs

    https://ufile.io/m2vt6lfp



  • invert":false,"latchTime":0,"output":"/dev/spidev0.1","rate":3000000,"rewriteTime":1000,"type":"ws2812spi"}]



    now you connected the Ledstrip to GPIO 18.

    so either you change the ledstrip GPIO or you change the ledsettings

    then my guy, you must set your Hyperion settings also to PWM GPIO18 ws281x ledcontroller..

  • then you have to do it manually.



    You need to run hyperion as root with this configuration (device 'ws281x) PWM


    first is dtparam=audio=off in config.txt boot section.




    if that doesn't work> in terminal of raspi;




    sudo systemctl disable --now hyperion(d)@pi


    sudo systemctl enable --now hyperion(d)@root


    sudo reboot now

    ( try the code with/without the d)


    copy and paste this code line with ctrl/shift +V in terminal then press enter


    or


    sudo nano /etc/systemd/system/hyperiond@.service




    Remove the User sessionline and save with CTRL+O and exit CTRL+x.


    Don't forget to reboot


    the script above ( by developers) is only to help you making the adjustments in the root folders and what not.


    with these it should work.


    you can also run on SPI and GPIO10 that also works, ( sometimes better) and you don't need Hyperion run as root user for that.

  • Lightning-guy77 Thank you so much for your help!


    OK, starting from scratch!


    i restored the image "2021-10-03-HyperBian-lite.img" to the RP-PI-ZERO and connected the led to GPIO10(pin19) with a Resistor 330 ohm.


    Configured

    - Led Controller

    ---- ws2812spi

    ---- spi device 0.1

    ---- baurate 3000000

    ---- HW led count 103



    leddevice looks like its running

    https://pastebin.com/R1n02U3d



    However leds dont turn on


  • ---- spi device 0.1

    leddevice is running indeed, but...

    on GPIO10 you need SPIdev0, so its SPIDEV0.0 NOT 0.1



    if you can't select another SPI GPIO number in Hyperion ( for every reason) then change your GPIO connection on the ledstrip to your PIN's.

    see this> https://pinout.xyz/pinout/spi


    then you need PIN38 for SPI1 (MOSI is output)

    and you need to do some extra in boot/config.txt to deploy SPI1 so if i was you i would try to make SPI0 work> SPI0 is default.

  • No luck....


    Tried:

    on GPIO10 you need SPIdev0, so its SPIDEV0.0


    However it still does not work.....


    And not exactly sure how to implement:

    Zitat
    Code
    if you can't select another SPI GPIO number in Hyperion ( for every reason) then change your GPIO connection on the ledstrip to your PIN's.
    
    see this> https://pinout.xyz/pinout/spi
    
    
    
    then you need PIN38 for SPI1 (MOSI is output)
    
    and you need to do some extra in boot/config.txt to deploy SPI1 so if i was you i would try to make SPI0 work> SPI0 is default.



    i'm wondering if I have some "incompatible-difficult" Hardware... Maybe I should replace LED or Pi?

  • first provide a log> debug



    debug log is in Hyperion, make sure you are expert as user > change with the wrench en reboot.

    after that put the log here ( maximum of 10.000 marks) or in pastebin



    in the middle

    Einmal editiert, zuletzt von Ambientheater77 () aus folgendem Grund: Merged a post created by Lightning-guy77 into this post.

  • So PI Zero GPIO10 (SPIdev0) to WS2813 still does not work.


    Here are the Logs

    https://pastebin.com/9bMgthGQ


    I also tried with 2.2k ohms on DI as this user:

  • okay, did you try ALL of this user said:


    hello ws2813B works great as ws281x-spi

    without Arduino with Raspberry Pi Zero

    Connect the first LED Bi and Gnd together

    For a working system, I need a 2.2 kΩ resistor from the spi output to the led DI input.

    Without resistance or with 300ohm resistance does not work,

    no idea why.

    5V power supply to the LED strip will not work. Only when the voltage is 4.7V-4.8V.

    Maybe this is a peculiarity of the WS2813 / B

    You may need a protection circuit on the data bus, otherwise the first LED will eventually fuse to overvoltage.

    1.) WS281x-SPI

    2.) 2.2k ohms on DI

    3.) Bridge the first BI with GND to the LED

    4.) Set 4.7V as power supply

    5.) In the config.txt force_turbo = 1 set

    requires a steady CPU clock on the Raspberry Pi.

    Please connect the DATA cable individually and with a shielded cable to the LED.

    And please connect a schottkey diode to the DI data bus input. to prevent a voltage spike when switching on and off the power supply.

    Have long cables 2m.

    With very short you may not need something like that.



    ws281x SPI like this user claims in this post does NOT excist,


    you have two options guy:


    • SPI ledcontroller, runs on SPI interface and if your ledstrip isn't mentioned in the SPI-list its possible the timings are way diffrent or voltages and you never get it to work.


    • PWM ledcontroller ws281x ( x stands for every type of ledstrip that runs on PWM) runs on audio service, for this ledcontroller to work Hyperion.NG must run under root, see my last postings about this subject.



    I think that you have a must better chance to run this ledstrip under PWM, just follow the list mentioned by this other user, the thread you mentioned.

    lower the voltage to 4,7 volts, apply the 2.2Kohm resistor,

    force_turbo = 1 means overclocking the PI in config.txt, do this on your own risk. ...



    if nothing works after this still, get another ledstrip like types ws2812b or APA102, ledstrips that WILL work.



    goodluck!


    for your info, my ledstrip APA102 runs on SPI ledcontroller.


    • on 5 volts stack
    • without level shifter
    • without capacitor
    • without resistor


    for over 1,5 years flawlessly.

    so its possible without adding all kinds of electronics.

    Einmal editiert, zuletzt von Ambientheater77 () aus folgendem Grund: Merged a post created by Lightning-guy77 into this post.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!