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

SOLVED A little help with RP3 Nano HDMI and 266 leds please

Discussion in 'Software Support' started by Dave Bode, 31 October 2018.

  1. Dave Bode

    Dave Bode New Member

    Messages:
    6
    Hardware:
    RPi3
    Greetings,

    I can't quite work out what I am doing wrong to get my Pi to talk to my Arduino Nano. I had previously had things sort of working with 266 WS2812b leds with just the Pi and Hyperion. The grabber and Hyperion were working (as far as I could tell). I connected Hyperion via windows and the frame grabs are clean. The LEDs were reacting to movement on the screen appropriately, however the flickering and colors were absurd. Nothing was the correct color and they all the LEDs were flickering like crazy. The LEDs were connected to the Pi with GPIO18 and GND. Pi is running RASPBIAN STRETCH full.

    Strangely, when I tried the Python strand test, the LEDs preformed perfectly. No flicker and great update speed.

    However, with Hyperion and the frame grabber, it's a hot mess.

    I have several Arduino Nanos for projects, so I tried hooking that up. My thinking was that it would be a lot smoother of an output. But so far, I haven't been able to get them communicating yet.

    The Nano is connected via one of the Pi's USB ports. It is running this sketch -

    Code:
    #include "FastLED.h"
    // How many leds in your strip?
    #define NUM_LEDS 266
    // 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 6
    #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 115200
    // 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[i] == 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[i].r = r;
        leds[i].g = g;
        leds[i].b = b;
      }
      // shows new values
    FastLED.show();
    }
    Hyperion is using this config -

    Code:
    // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.3 (22.10.2017)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"  : "MyPi",
            "type"  : "adalight",
            "output"  : "/dev/ttyACM0",
            "rate"  : 115200,
            "colorOrder" : "grb"
        },
    
        // COLOR CALIBRATION CONFIG
        "color" :
        {
            "channelAdjustment" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "pureRed" :
                    {
                        "redChannel"        : 255,
                        "greenChannel"        : 0,
                        "blueChannel"        : 0
                    },
                    "pureGreen" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 255,
                        "blueChannel"        : 0
                    },
                    "pureBlue" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 0,
                        "blueChannel"        : 255
                    }
                }
            ],
            "temperature" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "correctionValues" :
                    {
                        "red"     : 255,
                        "green"    : 255,
                        "blue"     : 255
                    }
                }
            ],
            "transform" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "hsl" :
                    {
                        "saturationGain"    : 1.0000,
                        "luminanceGain"        : 1.0000,
                        "luminanceMinimum"        : 0.0000
                    },
                    "red" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"         : 2.5000
                    },
                    "green" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"         : 2.5000
                    },
                    "blue" :
                    {
                        "threshold"     : 0.0000,
                        "gamma"         : 2.5000
                    }
                }
            ],
        // SMOOTHING CONFIG
            "smoothing" :
            {
                "type"            : "linear",
                "time_ms"         : 400,
                "updateFrequency" : 25.0000,
                "updateDelay"     : 0
            }
        },
    
        // V4L2 GRABBER CONFIG
        "grabber-v4l2" :
        {
            "device" : "/dev/video0",
            "input" : 0,
            "standard" : "NTSC",
            "width" : -1,
            "height" : -1,
            "frameDecimation" : 2,
            "sizeDecimation" : 8,
            "priority" : 900,
            "mode" : "2D",
            "cropLeft" : 15,
            "cropRight" : 15,
            "cropTop" : 15,
            "cropBottom" : 15,
            "redSignalThreshold" : 0.0,
            "greenSignalThreshold" : 0.0,
            "blueSignalThreshold" : 0.0
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.2,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // BOBLIGHT SERVER CONFIG
        "boblightServer" :
        {
            "port" : 19333,
            "priority" : 900
        },
    
        // JSON/PROTO FORWARD CONFIG
        "forwarder" :
        {
            "json" : ["127.0.0.1:19446"],
            "proto" : []
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO FRAME GRABBER CONFIG
        // NO KODI CHECK CONFIG
        // NO BOOTEFFECT CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9767, "maximum" : 0.9884 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9651, "maximum" : 0.9767 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9535, "maximum" : 0.9651 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9419, "maximum" : 0.9535 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9302, "maximum" : 0.9419 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.9186, "maximum" : 0.9302 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.9070, "maximum" : 0.9186 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.8953, "maximum" : 0.9070 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.8837, "maximum" : 0.8953 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.8721, "maximum" : 0.8837 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.8605, "maximum" : 0.8721 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.8488, "maximum" : 0.8605 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.8372, "maximum" : 0.8488 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.8256, "maximum" : 0.8372 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.8140, "maximum" : 0.8256 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.8023, "maximum" : 0.8140 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.7907, "maximum" : 0.8023 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.7791, "maximum" : 0.7907 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.7674, "maximum" : 0.7791 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.7558, "maximum" : 0.7674 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.7442, "maximum" : 0.7558 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.7326, "maximum" : 0.7442 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.7209, "maximum" : 0.7326 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.7093, "maximum" : 0.7209 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.6977, "maximum" : 0.7093 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.6860, "maximum" : 0.6977 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.6744, "maximum" : 0.6860 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.6628, "maximum" : 0.6744 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.6512, "maximum" : 0.6628 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.6395, "maximum" : 0.6512 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.6279, "maximum" : 0.6395 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.6163, "maximum" : 0.6279 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.6047, "maximum" : 0.6163 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.5930, "maximum" : 0.6047 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.5814, "maximum" : 0.5930 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.5698, "maximum" : 0.5814 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.5581, "maximum" : 0.5698 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.5465, "maximum" : 0.5581 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.5349, "maximum" : 0.5465 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.5233, "maximum" : 0.5349 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.4651, "maximum" : 0.4767 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.4535, "maximum" : 0.4651 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.4419, "maximum" : 0.4535 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.4302, "maximum" : 0.4419 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.4186, "maximum" : 0.4302 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.4070, "maximum" : 0.4186 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.3953, "maximum" : 0.4070 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.3837, "maximum" : 0.3953 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.3721, "maximum" : 0.3837 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.3605, "maximum" : 0.3721 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.3488, "maximum" : 0.3605 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.3372, "maximum" : 0.3488 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.3256, "maximum" : 0.3372 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.3140, "maximum" : 0.3256 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.3023, "maximum" : 0.3140 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.2907, "maximum" : 0.3023 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.2791, "maximum" : 0.2907 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.2674, "maximum" : 0.2791 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.2558, "maximum" : 0.2674 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.2442, "maximum" : 0.2558 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.2326, "maximum" : 0.2442 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.2209, "maximum" : 0.2326 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.2093, "maximum" : 0.2209 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.1977, "maximum" : 0.2093 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.1860, "maximum" : 0.1977 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.1744, "maximum" : 0.1860 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 66,
                "hscan" : { "minimum" : 0.1628, "maximum" : 0.1744 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 67,
                "hscan" : { "minimum" : 0.1512, "maximum" : 0.1628 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 68,
                "hscan" : { "minimum" : 0.1395, "maximum" : 0.1512 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 69,
                "hscan" : { "minimum" : 0.1279, "maximum" : 0.1395 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 70,
                "hscan" : { "minimum" : 0.1163, "maximum" : 0.1279 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 71,
                "hscan" : { "minimum" : 0.1047, "maximum" : 0.1163 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 72,
                "hscan" : { "minimum" : 0.0930, "maximum" : 0.1047 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 73,
                "hscan" : { "minimum" : 0.0814, "maximum" : 0.0930 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 74,
                "hscan" : { "minimum" : 0.0698, "maximum" : 0.0814 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 75,
                "hscan" : { "minimum" : 0.0581, "maximum" : 0.0698 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 76,
                "hscan" : { "minimum" : 0.0465, "maximum" : 0.0581 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 77,
                "hscan" : { "minimum" : 0.0349, "maximum" : 0.0465 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 78,
                "hscan" : { "minimum" : 0.0233, "maximum" : 0.0349 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 79,
                "hscan" : { "minimum" : 0.0116, "maximum" : 0.0233 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 80,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0116 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            },
            {
                "index" : 81,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.9796, "maximum" : 1.0000 }
            },
            {
                "index" : 82,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.9592, "maximum" : 0.9796 }
            },
            {
                "index" : 83,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.9388, "maximum" : 0.9592 }
            },
            {
                "index" : 84,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.9184, "maximum" : 0.9388 }
            },
            {
                "index" : 85,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.8980, "maximum" : 0.9184 }
            },
            {
                "index" : 86,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.8776, "maximum" : 0.8980 }
            },
            {
                "index" : 87,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 0.8776 }
            },
            {
                "index" : 88,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.8367, "maximum" : 0.8571 }
            },
            {
                "index" : 89,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.8163, "maximum" : 0.8367 }
            },
            {
                "index" : 90,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.7959, "maximum" : 0.8163 }
            },
            {
                "index" : 91,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.7755, "maximum" : 0.7959 }
            },
            {
                "index" : 92,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.7551, "maximum" : 0.7755 }
            },
            {
                "index" : 93,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.7347, "maximum" : 0.7551 }
            },
            {
                "index" : 94,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.7347 }
            },
            {
                "index" : 95,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.6939, "maximum" : 0.7143 }
            },
            {
                "index" : 96,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.6735, "maximum" : 0.6939 }
            },
            {
                "index" : 97,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.6531, "maximum" : 0.6735 }
            },
            {
                "index" : 98,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.6327, "maximum" : 0.6531 }
            },
            {
                "index" : 99,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.6122, "maximum" : 0.6327 }
            },
            {
                "index" : 100,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.5918, "maximum" : 0.6122 }
            },
            {
                "index" : 101,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.5918 }
            },
            {
                "index" : 102,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.5510, "maximum" : 0.5714 }
            },
            {
                "index" : 103,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.5306, "maximum" : 0.5510 }
            },
            {
                "index" : 104,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.5102, "maximum" : 0.5306 }
            },
            {
                "index" : 105,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.4898, "maximum" : 0.5102 }
            },
            {
                "index" : 106,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.4694, "maximum" : 0.4898 }
            },
            {
                "index" : 107,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.4490, "maximum" : 0.4694 }
            },
            {
                "index" : 108,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.4490 }
            },
            {
                "index" : 109,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.4082, "maximum" : 0.4286 }
            },
            {
                "index" : 110,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.3878, "maximum" : 0.4082 }
            },
            {
                "index" : 111,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.3673, "maximum" : 0.3878 }
            },
            {
                "index" : 112,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.3469, "maximum" : 0.3673 }
            },
            {
                "index" : 113,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.3265, "maximum" : 0.3469 }
            },
            {
                "index" : 114,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.3061, "maximum" : 0.3265 }
            },
            {
                "index" : 115,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.3061 }
            },
            {
                "index" : 116,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.2653, "maximum" : 0.2857 }
            },
            {
                "index" : 117,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.2449, "maximum" : 0.2653 }
            },
            {
                "index" : 118,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.2245, "maximum" : 0.2449 }
            },
            {
                "index" : 119,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.2041, "maximum" : 0.2245 }
            },
            {
                "index" : 120,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.1837, "maximum" : 0.2041 }
            },
            {
                "index" : 121,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.1633, "maximum" : 0.1837 }
            },
            {
                "index" : 122,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.1633 }
            },
            {
                "index" : 123,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.1224, "maximum" : 0.1429 }
            },
            {
                "index" : 124,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.1020, "maximum" : 0.1224 }
            },
            {
                "index" : 125,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.0816, "maximum" : 0.1020 }
            },
            {
                "index" : 126,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.0612, "maximum" : 0.0816 }
            },
            {
                "index" : 127,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.0408, "maximum" : 0.0612 }
            },
            {
                "index" : 128,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.0204, "maximum" : 0.0408 }
            },
            {
                "index" : 129,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0204 }
            },
            {
                "index" : 130,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0116 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 131,
                "hscan" : { "minimum" : 0.0116, "maximum" : 0.0233 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 132,
                "hscan" : { "minimum" : 0.0233, "maximum" : 0.0349 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 133,
                "hscan" : { "minimum" : 0.0349, "maximum" : 0.0465 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 134,
                "hscan" : { "minimum" : 0.0465, "maximum" : 0.0581 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 135,
                "hscan" : { "minimum" : 0.0581, "maximum" : 0.0698 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 136,
                "hscan" : { "minimum" : 0.0698, "maximum" : 0.0814 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 137,
                "hscan" : { "minimum" : 0.0814, "maximum" : 0.0930 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 138,
                "hscan" : { "minimum" : 0.0930, "maximum" : 0.1047 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 139,
                "hscan" : { "minimum" : 0.1047, "maximum" : 0.1163 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 140,
                "hscan" : { "minimum" : 0.1163, "maximum" : 0.1279 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 141,
                "hscan" : { "minimum" : 0.1279, "maximum" : 0.1395 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 142,
                "hscan" : { "minimum" : 0.1395, "maximum" : 0.1512 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 143,
                "hscan" : { "minimum" : 0.1512, "maximum" : 0.1628 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 144,
                "hscan" : { "minimum" : 0.1628, "maximum" : 0.1744 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 145,
                "hscan" : { "minimum" : 0.1744, "maximum" : 0.1860 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 146,
                "hscan" : { "minimum" : 0.1860, "maximum" : 0.1977 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 147,
                "hscan" : { "minimum" : 0.1977, "maximum" : 0.2093 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 148,
                "hscan" : { "minimum" : 0.2093, "maximum" : 0.2209 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 149,
                "hscan" : { "minimum" : 0.2209, "maximum" : 0.2326 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 150,
                "hscan" : { "minimum" : 0.2326, "maximum" : 0.2442 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 151,
                "hscan" : { "minimum" : 0.2442, "maximum" : 0.2558 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 152,
                "hscan" : { "minimum" : 0.2558, "maximum" : 0.2674 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 153,
                "hscan" : { "minimum" : 0.2674, "maximum" : 0.2791 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 154,
                "hscan" : { "minimum" : 0.2791, "maximum" : 0.2907 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 155,
                "hscan" : { "minimum" : 0.2907, "maximum" : 0.3023 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 156,
                "hscan" : { "minimum" : 0.3023, "maximum" : 0.3140 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 157,
                "hscan" : { "minimum" : 0.3140, "maximum" : 0.3256 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 158,
                "hscan" : { "minimum" : 0.3256, "maximum" : 0.3372 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 159,
                "hscan" : { "minimum" : 0.3372, "maximum" : 0.3488 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 160,
                "hscan" : { "minimum" : 0.3488, "maximum" : 0.3605 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 161,
                "hscan" : { "minimum" : 0.3605, "maximum" : 0.3721 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 162,
                "hscan" : { "minimum" : 0.3721, "maximum" : 0.3837 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 163,
                "hscan" : { "minimum" : 0.3837, "maximum" : 0.3953 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 164,
                "hscan" : { "minimum" : 0.3953, "maximum" : 0.4070 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 165,
                "hscan" : { "minimum" : 0.4070, "maximum" : 0.4186 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 166,
                "hscan" : { "minimum" : 0.4186, "maximum" : 0.4302 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 167,
                "hscan" : { "minimum" : 0.4302, "maximum" : 0.4419 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 168,
                "hscan" : { "minimum" : 0.4419, "maximum" : 0.4535 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 169,
                "hscan" : { "minimum" : 0.4535, "maximum" : 0.4651 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 170,
                "hscan" : { "minimum" : 0.4651, "maximum" : 0.4767 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 171,
                "hscan" : { "minimum" : 0.4767, "maximum" : 0.4884 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 172,
                "hscan" : { "minimum" : 0.4884, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 173,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5116 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 174,
                "hscan" : { "minimum" : 0.5116, "maximum" : 0.5233 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 175,
                "hscan" : { "minimum" : 0.5233, "maximum" : 0.5349 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 176,
                "hscan" : { "minimum" : 0.5349, "maximum" : 0.5465 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 177,
                "hscan" : { "minimum" : 0.5465, "maximum" : 0.5581 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 178,
                "hscan" : { "minimum" : 0.5581, "maximum" : 0.5698 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 179,
                "hscan" : { "minimum" : 0.5698, "maximum" : 0.5814 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 180,
                "hscan" : { "minimum" : 0.5814, "maximum" : 0.5930 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 181,
                "hscan" : { "minimum" : 0.5930, "maximum" : 0.6047 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 182,
                "hscan" : { "minimum" : 0.6047, "maximum" : 0.6163 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 183,
                "hscan" : { "minimum" : 0.6163, "maximum" : 0.6279 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 184,
                "hscan" : { "minimum" : 0.6279, "maximum" : 0.6395 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 185,
                "hscan" : { "minimum" : 0.6395, "maximum" : 0.6512 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 186,
                "hscan" : { "minimum" : 0.6512, "maximum" : 0.6628 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 187,
                "hscan" : { "minimum" : 0.6628, "maximum" : 0.6744 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 188,
                "hscan" : { "minimum" : 0.6744, "maximum" : 0.6860 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 189,
                "hscan" : { "minimum" : 0.6860, "maximum" : 0.6977 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 190,
                "hscan" : { "minimum" : 0.6977, "maximum" : 0.7093 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 191,
                "hscan" : { "minimum" : 0.7093, "maximum" : 0.7209 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 192,
                "hscan" : { "minimum" : 0.7209, "maximum" : 0.7326 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 193,
                "hscan" : { "minimum" : 0.7326, "maximum" : 0.7442 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 194,
                "hscan" : { "minimum" : 0.7442, "maximum" : 0.7558 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 195,
                "hscan" : { "minimum" : 0.7558, "maximum" : 0.7674 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 196,
                "hscan" : { "minimum" : 0.7674, "maximum" : 0.7791 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 197,
                "hscan" : { "minimum" : 0.7791, "maximum" : 0.7907 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 198,
                "hscan" : { "minimum" : 0.7907, "maximum" : 0.8023 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 199,
                "hscan" : { "minimum" : 0.8023, "maximum" : 0.8140 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 200,
                "hscan" : { "minimum" : 0.8140, "maximum" : 0.8256 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 201,
                "hscan" : { "minimum" : 0.8256, "maximum" : 0.8372 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 202,
                "hscan" : { "minimum" : 0.8372, "maximum" : 0.8488 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 203,
                "hscan" : { "minimum" : 0.8488, "maximum" : 0.8605 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 204,
                "hscan" : { "minimum" : 0.8605, "maximum" : 0.8721 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 205,
                "hscan" : { "minimum" : 0.8721, "maximum" : 0.8837 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 206,
                "hscan" : { "minimum" : 0.8837, "maximum" : 0.8953 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 207,
                "hscan" : { "minimum" : 0.8953, "maximum" : 0.9070 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 208,
                "hscan" : { "minimum" : 0.9070, "maximum" : 0.9186 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 209,
                "hscan" : { "minimum" : 0.9186, "maximum" : 0.9302 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 210,
                "hscan" : { "minimum" : 0.9302, "maximum" : 0.9419 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 211,
                "hscan" : { "minimum" : 0.9419, "maximum" : 0.9535 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 212,
                "hscan" : { "minimum" : 0.9535, "maximum" : 0.9651 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 213,
                "hscan" : { "minimum" : 0.9651, "maximum" : 0.9767 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 214,
                "hscan" : { "minimum" : 0.9767, "maximum" : 0.9884 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 215,
                "hscan" : { "minimum" : 0.9884, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
            },
            {
                "index" : 216,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0204 }
            },
            {
                "index" : 217,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0204, "maximum" : 0.0408 }
            },
            {
                "index" : 218,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0408, "maximum" : 0.0612 }
            },
            {
                "index" : 219,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0612, "maximum" : 0.0816 }
            },
            {
                "index" : 220,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0816, "maximum" : 0.1020 }
            },
            {
                "index" : 221,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1020, "maximum" : 0.1224 }
            },
            {
                "index" : 222,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1224, "maximum" : 0.1429 }
            },
            {
                "index" : 223,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.1633 }
            },
            {
                "index" : 224,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1633, "maximum" : 0.1837 }
            },
            {
                "index" : 225,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1837, "maximum" : 0.2041 }
            },
            {
                "index" : 226,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2041, "maximum" : 0.2245 }
            },
            {
                "index" : 227,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2245, "maximum" : 0.2449 }
            },
            {
                "index" : 228,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2449, "maximum" : 0.2653 }
            },
            {
                "index" : 229,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2653, "maximum" : 0.2857 }
            },
            {
                "index" : 230,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.3061 }
            },
            {
                "index" : 231,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3061, "maximum" : 0.3265 }
            },
            {
                "index" : 232,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3265, "maximum" : 0.3469 }
            },
            {
                "index" : 233,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3469, "maximum" : 0.3673 }
            },
            {
                "index" : 234,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3673, "maximum" : 0.3878 }
            },
            {
                "index" : 235,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3878, "maximum" : 0.4082 }
            },
            {
                "index" : 236,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4082, "maximum" : 0.4286 }
            },
            {
                "index" : 237,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.4490 }
            },
            {
                "index" : 238,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4490, "maximum" : 0.4694 }
            },
            {
                "index" : 239,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4694, "maximum" : 0.4898 }
            },
            {
                "index" : 240,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4898, "maximum" : 0.5102 }
            },
            {
                "index" : 241,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5102, "maximum" : 0.5306 }
            },
            {
                "index" : 242,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5306, "maximum" : 0.5510 }
            },
            {
                "index" : 243,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5510, "maximum" : 0.5714 }
            },
            {
                "index" : 244,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.5918 }
            },
            {
                "index" : 245,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5918, "maximum" : 0.6122 }
            },
            {
                "index" : 246,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6122, "maximum" : 0.6327 }
            },
            {
                "index" : 247,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6327, "maximum" : 0.6531 }
            },
            {
                "index" : 248,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6531, "maximum" : 0.6735 }
            },
            {
                "index" : 249,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6735, "maximum" : 0.6939 }
            },
            {
                "index" : 250,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6939, "maximum" : 0.7143 }
            },
            {
                "index" : 251,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.7347 }
            },
            {
                "index" : 252,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7347, "maximum" : 0.7551 }
            },
            {
                "index" : 253,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7551, "maximum" : 0.7755 }
            },
            {
                "index" : 254,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7755, "maximum" : 0.7959 }
            },
            {
                "index" : 255,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7959, "maximum" : 0.8163 }
            },
            {
                "index" : 256,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8163, "maximum" : 0.8367 }
            },
            {
                "index" : 257,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8367, "maximum" : 0.8571 }
            },
            {
                "index" : 258,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 0.8776 }
            },
            {
                "index" : 259,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8776, "maximum" : 0.8980 }
            },
            {
                "index" : 260,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8980, "maximum" : 0.9184 }
            },
            {
                "index" : 261,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9184, "maximum" : 0.9388 }
            },
            {
                "index" : 262,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9388, "maximum" : 0.9592 }
            },
            {
                "index" : 263,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9592, "maximum" : 0.9796 }
            },
            {
                "index" : 264,
                "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9796, "maximum" : 1.0000 }
            },
            {
                "index" : 265,
                "hscan" : { "minimum" : 0.9884, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
    I know the Nano is working with the LEDs because when it powers on it runs the 3 color test. All good there. I must be missing something that says, "Hyperion, send all output to the Nano and make it looks awesome. Thanks." I know there is a lot of resources out there, but the guide and tutorial situation is super fragmented and outdated.

    If I could get a bit of help pointing me in the right direction, that'd be swell. Thanks!
     
  2. Akriss

    Akriss Active Member

    Messages:
    355
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    The developers have a sketch for Arduino's HERE.
    I found it works better then the older boblight/adalight sketch's

    Hope its of help.
     
  3. Dave Bode

    Dave Bode New Member

    Messages:
    6
    Hardware:
    RPi3
    Thanks for the reply. I feel like I am bit closer to getting it working!

    I updated my Nano and updated my config file with ttyUSB0. That seemed to help. Now when I start Hyperion from Hypercon, the LEDs do a start sequence. But then I get nothing. This is the log from Hypercon.
    Code:
    ssh in:     -- Logs begin at Thu 2016-11-03 13:16:42 EDT, end at Thu 2018-11-01 10:56:52 EDT. --
    ssh in:     Nov 01 10:56:13 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: Hyperion Ambilight Deamon (313)
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         Version   : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         Build Time: Apr  5 2018 01:57:25
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: ColorTransform 'default' => [0; 265]
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: ColorCorrection 'default' => [0; 265]
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: ColorAdjustment 'default' => [0; 265]
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: LEDDEVICE INFO: configuration:
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: {
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "colorOrder" : "grb",
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "name" : "MyPi",
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "output" : "/dev/ttyUSB0",
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "rate" : 460800,
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "type" : "adalight"
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: }
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: Opening UART: /dev/ttyUSB0
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: Json forward to 127.0.0.1:19446
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: INFO: Creating linear smoothing
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=400;updateDelay=0
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Hyperion started and initialised
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Boot sequence 'Knight rider' EFFECTENGINE INFO: run effect Knight rider on channel 0
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: threshold set to 0.2 (51)
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: mode:default
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: started
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Json server created and started on port 19444
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Proto server created and started on port 19445
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Boblight server created and started on port 19333
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: width=720 height=480
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: pixel format=YUYV
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: threshold set to 0.2 (51)
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: mode:default
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: started
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: V4L2 grabber created and started
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BORDER SWITCH REQUIRED!!
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    ssh in:     Nov 01 10:56:16 raspberrypi hyperiond[313]: V4L2GRABBER INFO: stopped
    ssh in:     Nov 01 10:56:30 raspberrypi hyperiond[313]: EFFECTENGINE INFO: effect finished
    ssh in:     Nov 01 10:56:31 raspberrypi hyperiond[313]: V4L2GRABBER INFO: started
    Nothing is responding, so I start Hyperion again and get this...
    Code:
    ssh out:     sudo journalctl -u hyperion.service 2>/dev/null
    ssh in:     -- Logs begin at Thu 2016-11-03 13:16:42 EDT, end at Thu 2018-11-01 11:02:08 EDT. --
    ssh in:     Nov 01 10:56:13 raspberrypi systemd[1]: Started Hyperion Systemd service.
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: Hyperion Ambilight Deamon (313)
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         Version   : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         Build Time: Apr  5 2018 01:57:25
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: ColorTransform 'default' => [0; 265]
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: ColorCorrection 'default' => [0; 265]
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: ColorAdjustment 'default' => [0; 265]
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: LEDDEVICE INFO: configuration:
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: {
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "colorOrder" : "grb",
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "name" : "MyPi",
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "output" : "/dev/ttyUSB0",
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "rate" : 460800,
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]:         "type" : "adalight"
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: }
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: Opening UART: /dev/ttyUSB0
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION INFO: Json forward to 127.0.0.1:19446
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: INFO: Creating linear smoothing
    ssh in:     Nov 01 10:56:14 raspberrypi hyperiond[313]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=400;updateDelay=0
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Hyperion started and initialised
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Boot sequence 'Knight rider' EFFECTENGINE INFO: run effect Knight rider on channel 0
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: threshold set to 0.2 (51)
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: mode:default
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: started
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Json server created and started on port 19444
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Proto server created and started on port 19445
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: Boblight server created and started on port 19333
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: width=720 height=480
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: pixel format=YUYV
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: threshold set to 0.2 (51)
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BLACKBORDER INFO: mode:default
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: V4L2GRABBER INFO: started
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: INFO: V4L2 grabber created and started
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: BORDER SWITCH REQUIRED!!
    ssh in:     Nov 01 10:56:15 raspberrypi hyperiond[313]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    ssh in:     Nov 01 10:56:16 raspberrypi hyperiond[313]: V4L2GRABBER INFO: stopped
    ssh in:     Nov 01 10:56:30 raspberrypi hyperiond[313]: EFFECTENGINE INFO: effect finished
    ssh in:     Nov 01 10:56:31 raspberrypi hyperiond[313]: V4L2GRABBER INFO: started
    ssh in:     Nov 01 11:02:06 raspberrypi hyperiond[313]: JSONSERVER INFO: New connection
    ssh in:     Nov 01 11:02:06 raspberrypi hyperiond[313]: BLACKBORDER INFO: threshold set to 0.2 (51)
    ssh in:     Nov 01 11:02:06 raspberrypi hyperiond[313]: BLACKBORDER INFO: mode:default
    ssh in:     Nov 01 11:02:06 raspberrypi hyperiond[313]: JSONSERVER INFO: Connection closed
    ssh in:     Nov 01 11:02:06 raspberrypi hyperiond[313]: V4L2GRABBER INFO: stopped
    ssh out:     sudo systemctl start hyperion.service 2>/dev/null ; sudo /etc/init.d/hyperion start 2>/dev/null ; sudo /sbin/initctl start hyperion 2>/dev/null
    Looks like there is a problem with the V4L2GRABBER but I am not sure what that might be. If I send set color command from Hypercon, nothing happens. So that could be a further clue.
     
  4. Dave Bode

    Dave Bode New Member

    Messages:
    6
    Hardware:
    RPi3
    Would I be better off just getting a level shifter and going back to running the LEDs off the Pi directly?

    Can the Pi run 266 LEDs with fast refresh rates? I thought I read somewhere that the Pi has trouble when it goes over 250 LEDs.

    Thanks again!
     
  5. Akriss

    Akriss Active Member

    Messages:
    355
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Can you control the light with the phone app? What edits did you make to the sketch? The "rate" in the sketch and the config need to match if it's not.
     
  6. Dave Bode

    Dave Bode New Member

    Messages:
    6
    Hardware:
    RPi3
    I cannot control the lights with the phone app. It connects to the Pi but that's it.

    The rate in the sketch is #define serialRate 460800. I set the rate in the config to "rate" : 460800.

    Is there something with boblight I need to do? I don't have XBMC or openelec installed on the Pi. I don't need them as I already have an i7 powered HTPC.

    The only other thing I changed in the sketch you linked to is the number of LEDs, which I set to 266.
     
  7. Dave Bode

    Dave Bode New Member

    Messages:
    6
    Hardware:
    RPi3
    I read in another thread that someone with a similar setup and the user said that they set the baud rate to 500000 and it worked. I don't know why this worked but it did.

    My Arduino Nano clone uses a CH340 USB to serial chip and it does not list 500000 as a supported baud rate. That't why I selected 460800. But I am pleased it works!

    Now it makes me want to redo the LEDs and use 144LED/meter strips and have like 400-500 leds.

    Thanks for the support, @Akriss! I am super pumped to watch my TV just to see the LEDs!