Problem with Raspberry Pi 5 + SK6812

  • Hello everyone,

    I have been a Lightberry user for 10 years, and I want to create a new system for a second TV, but I am encountering a problem : my LED strip isn't working.

    I'm using a Raspberry Pi 5 with Hyperbian (latest arm64 version from GitHub) and Hyperion 2.0.16.

    During the installation, I updated the libraries with the following commands:

    Code
    sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo rpi-update

    I also changed the Hyperion user to root:

    Code
    sudo chmod +x /usr/share/hyperion/scripts/updateHyperionUser.sh && sudo updateHyperionUser -u root

    I am using a SK6812 RGBW CW 300 LED strip, 5 meters long, connected at both ends to a 5V 40A external power supply.

    I connected the Raspberry's GND to the power supply's V-. My Raspberry Pi 5 is powered with an official power supply.

    Here is my configuration in Hyperion:

    I connected the DATA wire to GPIO10. The baud rate of 800000 comes from the LED strip's datasheet (Page 2) : https://cdn-shop.adafruit.com/product-files/…+datasheet+.pdf

    In my config.txt, I modified the following parameters:

    Code
    dtparam=spi=on
    dtparam=audio=off

    In my cmdline.txt, I added the following line:

    Code
     spidev.bufsiz=1024000

    My USB video capture seems to be working properly:

    I am not using a level shifter because I have the new version of the SK6812: https://github.com/awawa-dev/HyperHDR/discussions/726.

    My problem is that the LED strip does not light up correctly. Either only a few LEDs turn on, or the entire strip lights up white without showing any colors.

    Here are my different tests:

    • I tried changing the baud rate to 5900000, but it didn't work. (RE: Issues with SK6812 RGBW)
    • I modified the configuration to WX281x with a change to GPIO 18: that didn't work.
    • I attempted to change from spidev0.0 to spidev0.1, with modifications in config.txt and GPIO 20: that didn't work either.
    • Disconnecting the GND from the power supply's V-: does not work, I only have a few white LEDs lighting up instead of the entire strip.

    Here is my configuration file : https://pastebin.com/jL4PeVQv

    After several days of searching the forum and testing, the LED strip doesn’t work. Is this an issue related to the Raspberry Pi 5, my configuration, or the LED strip ?

    Thank you in advance.

    Best regards.

  • try to run a effect first, you can do that with the Hyperion app in playstore.

    Or, go to effects in GUI and start a effect and run it


    in led settings, change rewrite time to 6000


    Check white algorithm setting and "play" with that

    Edited 2 times, last by Ambient_theater77: Merged a post created by Ambientheater77 into this post. (October 13, 2024 at 9:52 PM).

  • Hello,

    I changed the refresh time to 6000ms : no difference.

    I tried to launch effects via the web interface or the app : unsuccessful (I don’t see the rainbow effect when starting Hyperion). However, in LED VIRTUALIZATION, the effects are displayed correctly.

    I tried modifying the White LED algorithm : unsuccessful.

    I tried adjusting the color calibration on Image Processing : unsuccessful.

    I tried adding a 470-ohm resistor on the data line: unsuccessful.

    Do you have any suggestions to address this problem ?

    Thank you in advance for your assistance.

    Best regards,

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!