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

RPi + Other Software Single Addressable LED Strip

Discussion in 'Hardware Support' started by stulleman, 9 July 2016.

  1. stulleman

    stulleman New Member

    Messages:
    6
    Hardware:
    RPi1/Zero
    Hello!

    I was curious if Hyperion supports single addressable LED Strips?
    I have one of those under a glas table below my TV. I think this would look pretty cool too.

    Thanks!
     
  2. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    What do you mean by single addressable strip ?

    LEDs are either addressable or not
     
  3. stulleman

    stulleman New Member

    Messages:
    6
    Hardware:
    RPi1/Zero
    Yes sorry, I was a bit tired. Of course they are not addressable.
    Just now I can control the color of my LED strip with wiringPi. But not individual LEDs.
     
  4. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I fixed and rewrote the piblaster support - will that help ?

    Do you just have 3 PWM controls for r g and b ? If so? Piblaster is likely your friend here
     
  5. stulleman

    stulleman New Member

    Messages:
    6
    Hardware:
    RPi1/Zero
    Ups, I didn't see this page before. That will probably help.

    Yes I have just 3 PWM controls for R,G and B. I put them on GPIO 17,22 and 24.
     
  6. stulleman

    stulleman New Member

    Messages:
    6
    Hardware:
    RPi1/Zero
    Hello!

    I got it to work with the SSH - Colorpicker.
    But it's not taking my screen color. The just stay off.

    I'm using Raspbian Jessi.

    When I try to take a screenshot:

    [H]
    ssh out: sudo systemctl stop hyperion.service 2>/dev/null; sudo /etc/init.d/hyperion stop 2>/dev/null ; sudo /sbin/initctl stop hyperion 2>/dev/null
    ssh out: sudo systemctl stop hyperion.service 2>/dev/null; sudo /etc/init.d/hyperion stop 2>/dev/null ; sudo /sbin/initctl stop hyperion 2>/dev/null ; hyperion-v4l2 --device /dev/video0 --video-standard PAL --input 0 --width -1 --height -1 --crop-left 0 --crop-right 0 --crop-top 0 --crop-bottom 0 --size-decimator 1 --frame-decimator 2 --red-threshold 0.0 --green-threshold 0.0 --blue-threshold 0.0 --screenshot
    ssh in: hyperion-v4l2:
    ssh in: version : V1.03.0 (GitHub-b8f7642/c5d5f2d-1465599599
    ssh in: build time: Jun 11 2016 01:39:39
    ssh out: V4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory
    sftp getFile(./screenshot.png, java.awt.Image)
    [/H]​
     
  7. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Sounds like raspbian doesn't see your grabber or hasn't got modules loaded.
    Is there even a /dev/video0 present ?
     
  8. stulleman

    stulleman New Member

    Messages:
    6
    Hardware:
    RPi1/Zero
    No in /dev/ there is no video0.

    Do you have any idea why?
     
  9. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    What is your setup? what sort of screen capture are you looking to do?

    hyperion supports grabbing the screen from x11, framebuffer, RPi dispmanx and V4L capture devices.

    which are you needing to use?
     
  10. stulleman

    stulleman New Member

    Messages:
    6
    Hardware:
    RPi1/Zero
    Unfortunately I'm not quite sure what the differences are.
    What I expected was that my Raspberry Pi Desktop would get ambilight.

    Later on I planned to put a HDMI splitter to use the TV video for ambilight.
     
  11. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    For the pi desktop you just need the internal framegrabber.

    Don't enable the v4l grabber
     
    • Like Like x 1