Noobie Help

  • My son and I decided to take on a project. We saw DrZzz video on the Hyperion light setup, decided we'd give it a go. Headaches from the gitgo, but I suspect a hardware issue, that maybe others have figured out. I am new to the coding scene since my days of geocities webpage in html, when I was a teenager. . . So I pretty much know nothing.


    Setup


    We loaded Hyperion 7 on a RPi0W (7 because we could not get 9 or 8 to interface Hyperion setup page in the browser). Set everything up from what we feel is correct on the Hyperion setup (copied DrZzz). Running Google Chromecast into a HDMI capture card, to the TV, pulling signal from the USB to the Pi, powering a 244 LED string of W2812B lights with 15A computer brick.


    Issue


    We are getting flicker on the top string, about halfway, then solid color for most of the total strip. 7/8ths is lighted, the end is not. All colors lighted seem to be random. I figured it was just too much draw for the length, and ran another 5v line and soldered it in halfway through the run. No avail.


    Ideas? Do I just need to boost my logic output from my GPIO pin? Do I have bad LED strip?


    Also any manually entered colors, or anything else from the Hyperion page seems to do nothing.


    and wanted to upload a picture, but file was too big

    • Offizieller Beitrag

    Ideas? Do I just need to boost my logic output from my GPIO pin? Do I have bad LED strip?


    could be a problem (often) but as you mentioned that you are not so familiar with all the things, did you select the right side from the leds? there are arrows which show you in which direction the data goes

  • Its under 4", and the midway splice is long, but its 14AWG speaker wire (it's what I had at 1am) running to the opposed corner.


    Just to make sure I have ordered the correct part



    Is there anything else I can check in the Interim? Would dropping the LEDs to just the top run? (77 LEDs) give me solid coloring (I'll just tell Hyperion its 78 LEDs and disconnect the other sides (used 3 pin L connectors))

  • ok, wasnt a front, just to be sure :D how long is the cable from the rpi to the leds? should be under 10cm... but the best thing would be, as you mentioned, a level shiffter! (in any case)


    Is this a requeirement? Can we make any thing to circumvent this? Maybe using a Arduino and Adalight could be an alternative, since it's connected trough USB. I'm trying to build a standalone solution with plug and play features, so a restriction of 10cm to the led strip is awkward :S

  • after


    sudo systemctl disable --now hyperiond@pi


    Also a note. I can only access the the Hyperion grabber after I enable hyperion@pi (maybe because its crashing on root) But you would think since its enable through SSH, it should be working. I can make changes, but no activity from the LEDs


    maybe its a code/software issue

  • I thought about that, hence why I dropped everything down to one strip, plenty of power for what's available. The Pi0W seems to be "running" the program, according to the logs. . . makes me wonder if its sending the correct signals to the GPIO. The Pi 4 is doing the same thing, with the exception of the flickering, but the Hyperion is crashing according to the Pi4 logs.


    Makes me wonder if my capture card is suspect. Would explain the 0, but not the 4. . .

  • I have gotten the level shift wired up, less flicker, but not working at all. Does not even run start up effect. Also reformatted the Pi0W and installed Hyperbian which I should have done in the first place. Still no luck. Have also done all the same with a Pi4.


    Suggestions?


    Also what does hyperiond DISPMANXGRAB mean?

  • Suggestions?


    is your leddevice running ? in WebUI at section remote you can turn it on and off.


    also provide your logs out of Debug section logs.


    it looks like the ledstrip sint connected to correct GPIO or settings in WebUI aren't correct for ledstrip.
    it can also be a problem with userrights on output in Hyperion.


    Dispmanx is screengrabber direct from your desktop of your PI, or trough PROTO port 19445

  • I can toggle LED on/off. Just effects the flicker. The lights never turn completely off, I have to unplug the power source to get them to turn off, which is a reason why I thought it was a hardware issue


    I've toggled different LED settings. Just changes the Flicker. I have it set on the PWM option. Pulling signal from GPIO 18. . .




    Bug list from Hyperion


    2021-01-20T00:10:24.227Z [hyperiond DAEMON] (INFO) CEC handler created
    2021-01-20T00:10:24.352Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/
    2021-01-20T00:10:24.392Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/
    2021-01-20T00:10:24.409Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /.hyperion/custom-effects
    2021-01-20T00:10:24.729Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized
    2021-01-20T00:10:24.748Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default
    2021-01-20T00:10:24.753Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
    2021-01-20T00:10:24.890Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'
    2021-01-20T00:10:24.893Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0
    2021-01-20T00:10:24.914Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 640x480
    2021-01-20T00:10:24.917Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 80, height: 45 for capture
    2021-01-20T00:10:24.922Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created
    2021-01-20T00:10:24.934Z [hyperiond V4L2:AUTO] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0
    2021-01-20T00:10:25.235Z [hyperiond V4L2:AUTO] (INFO) Signal threshold set to: {12, 12, 12}
    2021-01-20T00:10:25.242Z [hyperiond V4L2:AUTO] (INFO) CEC detection is now disabled
    2021-01-20T00:10:25.243Z [hyperiond V4L2:AUTO] (INFO) Signal detection is now disabled
    2021-01-20T00:10:25.244Z [hyperiond V4L2:AUTO] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2021-01-20T00:10:25.244Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:630:handleSettingsUpdate()) V4L2 grabber created
    2021-01-20T00:10:25.261Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance
    2021-01-20T00:10:25.263Z [hyperiond JSONSERVER] (INFO) Started on port 19444
    2021-01-20T00:10:24.954Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'.
    2021-01-20T00:10:24.933Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
    2021-01-20T00:10:24.962Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms
    2021-01-20T00:10:24.958Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":80,"dma":5,"gpio":18,"hardwareLedCount":80,"invert":false,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
    2021-01-20T00:10:24.980Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:setLatchTime()) LatchTime updated to 0ms
    2021-01-20T00:10:24.982Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:428:setRewriteTime()) Refresh interval = 1000ms
    2021-01-20T00:10:24.985Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:setRewriteTime()) RewriteTime updated to 1000ms
    2021-01-20T00:10:25.121Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:59:init()) ws281x strip type : 1050624
    2021-01-20T00:10:25.143Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times
    2021-01-20T00:10:25.146Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401
    2021-01-20T00:10:25.167Z [hyperiond EFFECTENGINE] (INFO) Run effect "Knight rider" on channel 0
    2021-01-20T00:10:25.272Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Knight rider], smoothCfg [2]
    2021-01-20T00:10:25.272Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive
    2021-01-20T00:10:25.273Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Knight rider' started
    2021-01-20T00:10:25.308Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
    2021-01-20T00:10:25.337Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
    2021-01-20T00:10:25.723Z [hyperiond V4L2:AUTO] (INFO) available V4L2 devices:
    /dev/video0 UVC Camera (534d:2109): USB Vid
    /dev/video14 bcm2835-isp-capture0
    /dev/video15 bcm2835-isp-capture1


    2021-01-20T00:10:25.745Z [hyperiond V4L2:AUTO] (INFO) search for usable video devices
    2021-01-20T00:10:25.845Z [hyperiond V4L2:AUTO] (INFO) test v4l device: /dev/video0
    2021-01-20T00:10:25.876Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=1920 height=1080
    2021-01-20T00:10:25.902Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 5 fps
    2021-01-20T00:10:25.904Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV
    2021-01-20T00:10:26.067Z [hyperiond V4L2:AUTO] (INFO) found usable v4l2 device: /dev/video0 (UVC Camera (534d:2109): USB Vid)
    2021-01-20T00:10:26.106Z [hyperiond V4L2:AUTO] (INFO) Started
    2021-01-20T00:10:26.110Z [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()
    2021-01-20T00:10:25.365Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created
    2021-01-20T00:10:26.146Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started
    2021-01-20T00:10:25.376Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
    2021-01-20T00:10:25.449Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400
    2021-01-20T00:10:25.453Z [hyperiond PROTOSERVER] (INFO) Started on port 19445
    2021-01-20T00:10:25.469Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
    2021-01-20T00:10:25.497Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver
    2021-01-20T00:10:25.635Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0
    2021-01-20T00:10:25.638Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms
    2021-01-20T00:10:25.641Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[255]
    2021-01-20T00:10:25.649Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on
    2021-01-20T00:10:26.594Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
    2021-01-20T00:10:26.600Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
    2021-01-20T00:10:26.615Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings
    2021-01-20T00:10:26.624Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig
    2021-01-20T00:10:26.605Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'
    2021-01-20T00:10:26.864Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 0 is now active
    2021-01-20T00:10:27.087Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active
    2021-01-20T00:10:29.654Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:315:setCurrentTime()) Timeout clear for priority 0
    2021-01-20T00:10:29.661Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0
    2021-01-20T00:10:29.662Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms
    2021-01-20T00:10:29.662Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[0]
    2021-01-20T00:10:29.889Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240
    2021-01-20T00:10:29.896Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[0]
    2021-01-20T00:10:31.147Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.86.151
    2021-01-20T00:10:31.189Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.00.000' switch to Hyperion instance 0
    2021-01-20T00:10:35.602Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate
    2021-01-20T00:10:35.688Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key
    2021-01-20T00:10:35.697Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'
    2021-01-20T00:12:04.797Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168

  • We loaded Hyperion 7 on a RPi0W (7 because we could not get 9 or 8 to interface Hyperion setup page in the browser)



    something there is already not quite right. That should work also, i read a story about not getting into WebUI before and this happend because Hyperion wasn't running in root but in PI


    You need to run hyperion as root with this configuration (device 'ws281x) PWM Run as PWM not as SPI because read alot of problems of that


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


    Remove the User session-line and save with CTRL+O and exit CTRL+x.
    Don't forget to reboot >>> i have this from admin > https://hyperion-project.org/t…y.10463/page-3#post-26614


    then..... there is 2 diffrent GPIO to use for PWM > https://pinout.xyz/pinout/pwm
    also you see that sometimes SPI is used on the same GPIO https://pinout.xyz/pinout/spi


    for PWM0 you need GPIO12



    other things; measure your voltage > 5volts should not exceeding that, its better too run at 4.9 volts then too high.


    second; a 244 configuration of leds will draw 0.049 x 244 = 12 Amps (in full brightness) so you have only 3 amps too spare on your PSU >>>> maybe your voltage is dropping too much for the leds??



    goodluck!

Jetzt mitmachen!

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