Beiträge von DiceBanga

    Is this rainbow-colored box to the right of Hypercon suppose to be showing what the USB grabber is seeing? Also, is it supposed to just start flashing lights once it's started. I realize every video I've seen on this never actually starts hyperion once completed, they just say "well that's it, everything should work" and jump to it already working. How is actually supposed to start?

    Here is my hyperion config:


    This is the Arduino sketch I'm using (by the way, I added that file above before I figured out how to do this):


    Okay. So I've been trying for about a week to get my 276 LEDS to do something...anything...other than a startup effect. Below are my hardware specs:


    WS2812B (276 LEDS)
    RPi3 w/ latest OSMC installed
    Arduino nano (Data pin 10, GRD)
    EasyCap USB grabber (UT007)
    GANA HDMI2AVI adapter
    Sewell Echo Splitter w/ downscaling
    Alitove 5V 10A PSU
    65" TCL 4K S405


    I should mention that I am a noob at this, although I am a computer technician with knowledge of Linux and some programming. I am also aware that there is an issue with 4K HDR signal capture, which I wish was my only issue, as I have seen some work-arounds and I could always just not use HDR until a viable solution is found.


    Now for my issue. All that I have been able to produce are start up effects. When my hyperion is started or the Arduino is powered on my LEDs turn green, red, then blue which was specified in the Arduino sketch. I was using a sketch that required understanding of the "prefix" needed, but later discovered a sketch that didn't use it at all, which at least allow me to actually start Hyperion. I am not sure if my USB grabber is correctly grabbing images, as I am not sure how to test it. It is recognized by the raspberry pi, which i was able to verify with "lsusb". The app does connect to the server and I do see the commands executed in the RPi terminal, but the LED do not respond. I've attached my sketch below.


    All I can do is stop hyperion, start hyperion and watch these Green, Red, and Blues. SOMEONE PLEASE HELP!

    I've since uploaded this config file and I'm not getting that error anymore, but my LEDs still are not responding to anything besides the startup test.


    So whenever I start Hyperion, it blink green, red, and blue, but nothing else. It does not respond to the app at all and I don't know how to check the USB grabber.


    It says that it's connected to the server. The log registers the command, but nothing happens.

    #include "FastLED.h"
    // How many leds in your strip?
    #define NUM_LEDS 276
    // For led chips like Neopixels, which have a data line, ground, and power, you just
    // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock,
    // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
    #define DATA_PIN 10
    //#define CLOCK_PIN 13
    #define COLOR_ORDER GRB
    // Adalight sends a "Magic Word" (defined in /etc/boblight.conf) before sending the pixel data
    uint8_t prefix[] = {'A', 'd', 'a'}, hi, lo, chk, i;
    // Baudrate, higher rate allows faster refresh rate and more LEDs (defined in /etc/boblight.conf)
    #define serialRate 500000
    // Define the array of leds
    CRGB leds[NUM_LEDS];
    void setup() {
    // Uncomment/edit one of the following lines for your leds arrangement.
    // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
    FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
    // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS);

    // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
    // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);

    // initial RGB flash
    LEDS.showColor(CRGB(255, 0, 0));
    delay(500);
    LEDS.showColor(CRGB(0, 255, 0));
    delay(500);
    LEDS.showColor(CRGB(0, 0, 255));
    delay(500);
    LEDS.showColor(CRGB(0, 0, 0));

    Serial.begin(serialRate);
    Serial.print("Ada\n"); // Send "Magic Word" string to host
    }
    void loop() {
    // wait for first byte of Magic Word
    for(i = 0; i < sizeof prefix; ++i) {
    waitLoop: while (!Serial.available()) ;;
    // Check next byte in Magic Word
    if(prefix == Serial.read()) continue;
    // otherwise, start over
    i = 0;
    goto waitLoop;
    }
    // Hi, Lo, Checksum
    while (!Serial.available()) ;;
    hi=Serial.read();
    while (!Serial.available()) ;;
    lo=Serial.read();
    while (!Serial.available()) ;;
    chk=Serial.read();
    // if checksum does not match go back to wait
    if (chk != (hi ^ lo ^ 0x55))
    {
    i=0;
    goto waitLoop;
    }
    memset(leds, 0, NUM_LEDS * sizeof(struct CRGB));
    // read the transmission data and set LED values
    for (uint8_t i = 0; i < NUM_LEDS; i++) {
    byte r, g, b;
    while(!Serial.available());
    r = Serial.read();
    while(!Serial.available());
    g = Serial.read();
    while(!Serial.available());
    b = Serial.read();
    leds.r = r;
    leds.g = g;
    leds.b = b;
    }
    // shows new values
    FastLED.show();
    }

    I'm glad I ran into this post. I've been trouble getting my setup to work.


    Hardware:
    65" 4K TV
    WS2812B = 276 (corners folded)
    Arduino Nano
    5V 10A PSU
    RPi3
    HDMI 4K splitter w/ downscaling
    USB Grabber (UT007)
    HDMI2AVI


    The start sequence runs fine, but I'm not getting anything else. Everytime I start Hyperion the start sequence runs, but it doesn't respond to the app or hdmi capture. I also suspect it's not grabbing images. I'm not sure how to check if the USB grabber is working, but I suspect that I may insufficient power.


    If anyone has any tips on how to check my USB grabber I'd greatly appreciate it. I'm also gonna have to figure out how to solder to use a 5V 20A PSU.

    Okay so I'm completely stuck. My hyperion seems to be failing.


    Hardware:
    WS2812B (276)
    Arduino Nano (data pin 10, grd)
    Raspberry Pi 3
    USB video grabber (UT007)
    HDMI2AVI adapter
    5V 10A A/C adapter


    When I turn on my nano the LEDs turns on clockwise and that's it. So I know the LEDs are working.


    Can someone tell me how to upload my Log files