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

SOLVED LEDs not Reacting when Starting Hyperion

Discussion in 'Hardware Support' started by Noah, 16 January 2017.

  1. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    Hello!

    Thanks for any help you might be able to provide me.

    I'm fairly new to the Raspberry Pi and very new to working with LEDs and electrical wiring like this. My girlfriend actually bought me the parts for this project for Christmas, but I haven't been able to get it working. I've looked through the tutorial posted here. I have also used the YouTube video made by GreatScott as a guide for myself.

    I have everything wired up behind the TV, OSMC installed on my Raspberry Pi 3 Model B, and Hyperion configured to match my setup. My problem is when I finally get the config sent over to the Pi through SSH and select Start the LEDs don't react - nothing happens.


    I have this setup to use my Chromecast as the display (thus why all the extra hardware) that the LEDs will react to. Of course I have tried this with the internal display grabber to no avail as well.

    I have everything already setup and hooked up (I think correctly). I used the extra jumper cables to solder the LEDs together as well as hooked them up into the DC adapter to power the LEDs (not sure if that is where I went wrong?)

    The wiring is hooked up as the tutorial shows:
    [​IMG]

    I don't receive any errors from the SSH log in Hyperion when I send the config or set it up at all.

    I hope this information is enough to help me figure out why my LEDs won't turn on when I select Start in Hyperion.
     
    Last edited: 17 January 2017
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
  3. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    Thanks for the reply!

    I actually originally had Raspbian installed but it did not work. I installed OSMC because that's what the guide that I linked to was setting up. I will try again with Raspbian and run the spi-test when I'm home in about five hours.
     
  4. eltanque

    eltanque New Member

    Messages:
    13
    Hardware:
    RPi2
    Maybe start smaller...
    Raspbian, directly to the led strip. Using the Hyperion android app. Then test using windows and the hyperion capture thing for windows. then keep adding stuff and keep testing. Long process but it'll help determine where the fault is
     
  5. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    I freshly installed the Raspbian Jessie with Pixel image from here. So far no luck with just the image. I'm a bit confused with the spi-test part..

    This is setup so far to use an internal grabber, so I don't have the rest of the rig plugged in, just the Pi and the LEDs. I tried to take a screenshot of what the grabber was displaying but it only turned out to be grey.

    SSH Traffic:
    ssh connected
    ssh out: cd /tmp && wget -nv -N https://raw.github.com/hyperion-project/hyperion/master/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out: Last-modified header missing -- time-stamps turned off.
    ssh out: 2017-01-17 02:04:07 URL:https://raw.githubusercontent.com/hyperion-project/hyperion/master/bin/install_hyperion.sh [14539/14539] -> "install_hyperion.sh" [1]
    ssh in: *******************************************************************************
    ssh in: This script will install/update Hyperion Ambient Light
    ssh in: Created by brindosch - hyperion-project.org - the official Hyperion source.
    ssh in: *******************************************************************************
    ssh in: ---> Stop Hyperion, if necessary
    ssh in: ---> Install/Update Hyperion dependencies (This may take a while)
    ssh in: ---> Raspberry Pi found, but SPI is not set, we write "dtparam=spi=on" to /boot/config.txt
    ssh in: ---> Downloading the appropriate Hyperion release
    ssh out: 2017-01-17 02:06:25 URL:https://superb-sea2.dl.sourceforge.net/project/hyperion-project/release/hyperion_rpi2.tar.gz [1637006/1637006] -> "-" [1]
    ssh in: ---> Installing systemd script
    ssh in: ---> Starting Hyperion
    ssh in: *******************************************************************************
    ssh in: Hyperion Installation/Update finished!
    ssh in: Please download the latest HyperCon version to benefit from new features!
    ssh in: To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    ssh in: Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    ssh in: *******************************************************************************
    ssh in: Rebooting now, we added dtparam=spi=on to config.txt
    ssh disconnected
    ssh connected
    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
    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 start hyperion.service 2>/dev/null ; sudo /etc/init.d/hyperion start 2>/dev/null ; sudo /sbin/initctl start 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.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in: build time: Jul 25 2016 06:54:40
    ssh in: V4L2GRABBER INFO: width=720 height=576
    ssh in: V4L2GRABBER INFO: pixel format=YUYV
    ssh in: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
    ssh in: V4L2GRABBER INFO: started
    ssh in: V4L2GRABBER INFO: stopped
    sftp getFile(./screenshot.png, java.awt.Image)
    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
    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 start hyperion.service 2>/dev/null ; sudo /etc/init.d/hyperion start 2>/dev/null ; sudo /sbin/initctl start hyperion 2>/dev/null

    // 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.1 (11.06.2016)

    {
    // DEVICE CONFIGURATION
    "device" :
    {
    "name" : "MyHyperionConfig",
    "type" : "apa102",
    "output" : "/dev/spidev0.0",
    "rate" : 1000000,
    "colorOrder" : "rgb"
    },

    // 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" : 200,
    "updateFrequency" : 30.0000,
    "updateDelay" : 0
    }
    },

    // NO V4L2 GRABBER CONFIG
    // FRAME GRABBER CONFIG
    "framegrabber" :
    {
    "width" : 64,
    "height" : 64,
    "frequency_Hz" : 10.0,
    "priority" : 890
    },

    // BLACKBORDER CONFIG
    "blackborderdetector" :
    {
    "enable" : true,
    "threshold" : 0.0,
    "unknownFrameCnt" : 600,
    "borderFrameCnt" : 50,
    "maxInconsistentCnt" : 10,
    "blurRemoveCnt" : 1,
    "mode" : "default"
    },

    // BOOTEFFECT CONFIG
    "bootsequence" :
    {
    "color" : [0,0,0],
    "effect" : "Rainbow swirl fast",
    "duration_ms" : 3000,
    "priority" : 700
    },

    // JSON SERVER CONFIG
    "jsonServer" :
    {
    "port" : 19444
    },

    // PROTO SERVER CONFIG
    "protoServer" :
    {
    "port" : 19445
    },

    // EFFECT PATH
    "effects" :
    {
    "paths" :
    [
    "/storage/hyperion/effects",
    "/usr/share/hyperion/effects"
    ]
    },

    // NO KODI CHECK CONFIG
    // NO BOBLIGHT SERVER CONFIG
    // NO JSON/PROTO FORWARD CONFIG

    // LED CONFIGURATION
    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0323 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.9333, "maximum" : 1.0000 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8667, "maximum" : 0.9333 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8000, "maximum" : 0.8667 }
    },
    {
    "index" : 4,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7333, "maximum" : 0.8000 }
    },
    {
    "index" : 5,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6667, "maximum" : 0.7333 }
    },
    {
    "index" : 6,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6000, "maximum" : 0.6667 }
    },
    {
    "index" : 7,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5333, "maximum" : 0.6000 }
    },
    {
    "index" : 8,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4667, "maximum" : 0.5333 }
    },
    {
    "index" : 9,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4000, "maximum" : 0.4667 }
    },
    {
    "index" : 10,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.3333, "maximum" : 0.4000 }
    },
    {
    "index" : 11,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2667, "maximum" : 0.3333 }
    },
    {
    "index" : 12,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2000, "maximum" : 0.2667 }
    },
    {
    "index" : 13,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1333, "maximum" : 0.2000 }
    },
    {
    "index" : 14,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0667, "maximum" : 0.1333 }
    },
    {
    "index" : 15,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0667 }
    },
    {
    "index" : 16,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0323 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 17,
    "hscan" : { "minimum" : 0.0323, "maximum" : 0.0645 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 18,
    "hscan" : { "minimum" : 0.0645, "maximum" : 0.0968 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 19,
    "hscan" : { "minimum" : 0.0968, "maximum" : 0.1290 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 20,
    "hscan" : { "minimum" : 0.1290, "maximum" : 0.1613 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 21,
    "hscan" : { "minimum" : 0.1613, "maximum" : 0.1935 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 22,
    "hscan" : { "minimum" : 0.1935, "maximum" : 0.2258 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 23,
    "hscan" : { "minimum" : 0.2258, "maximum" : 0.2581 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 24,
    "hscan" : { "minimum" : 0.2581, "maximum" : 0.2903 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 25,
    "hscan" : { "minimum" : 0.2903, "maximum" : 0.3226 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 26,
    "hscan" : { "minimum" : 0.3226, "maximum" : 0.3548 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 27,
    "hscan" : { "minimum" : 0.3548, "maximum" : 0.3871 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 28,
    "hscan" : { "minimum" : 0.3871, "maximum" : 0.4194 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 29,
    "hscan" : { "minimum" : 0.4194, "maximum" : 0.4516 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 30,
    "hscan" : { "minimum" : 0.4516, "maximum" : 0.4839 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 31,
    "hscan" : { "minimum" : 0.4839, "maximum" : 0.5161 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 32,
    "hscan" : { "minimum" : 0.5161, "maximum" : 0.5484 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 33,
    "hscan" : { "minimum" : 0.5484, "maximum" : 0.5806 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 34,
    "hscan" : { "minimum" : 0.5806, "maximum" : 0.6129 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 35,
    "hscan" : { "minimum" : 0.6129, "maximum" : 0.6452 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 36,
    "hscan" : { "minimum" : 0.6452, "maximum" : 0.6774 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 37,
    "hscan" : { "minimum" : 0.6774, "maximum" : 0.7097 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 38,
    "hscan" : { "minimum" : 0.7097, "maximum" : 0.7419 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 39,
    "hscan" : { "minimum" : 0.7419, "maximum" : 0.7742 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 40,
    "hscan" : { "minimum" : 0.7742, "maximum" : 0.8065 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 41,
    "hscan" : { "minimum" : 0.8065, "maximum" : 0.8387 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 42,
    "hscan" : { "minimum" : 0.8387, "maximum" : 0.8710 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 43,
    "hscan" : { "minimum" : 0.8710, "maximum" : 0.9032 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 44,
    "hscan" : { "minimum" : 0.9032, "maximum" : 0.9355 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 45,
    "hscan" : { "minimum" : 0.9355, "maximum" : 0.9677 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 46,
    "hscan" : { "minimum" : 0.9677, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 47,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0667 }
    },
    {
    "index" : 48,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0667, "maximum" : 0.1333 }
    },
    {
    "index" : 49,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1333, "maximum" : 0.2000 }
    },
    {
    "index" : 50,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2000, "maximum" : 0.2667 }
    },
    {
    "index" : 51,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2667, "maximum" : 0.3333 }
    },
    {
    "index" : 52,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3333, "maximum" : 0.4000 }
    },
    {
    "index" : 53,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4000, "maximum" : 0.4667 }
    },
    {
    "index" : 54,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4667, "maximum" : 0.5333 }
    },
    {
    "index" : 55,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5333, "maximum" : 0.6000 }
    },
    {
    "index" : 56,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6000, "maximum" : 0.6667 }
    },
    {
    "index" : 57,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6667, "maximum" : 0.7333 }
    },
    {
    "index" : 58,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7333, "maximum" : 0.8000 }
    },
    {
    "index" : 59,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8000, "maximum" : 0.8667 }
    },
    {
    "index" : 60,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8667, "maximum" : 0.9333 }
    },
    {
    "index" : 61,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9333, "maximum" : 1.0000 }
    },
    {
    "index" : 62,
    "hscan" : { "minimum" : 0.9677, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 63,
    "hscan" : { "minimum" : 0.9355, "maximum" : 0.9677 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 64,
    "hscan" : { "minimum" : 0.9032, "maximum" : 0.9355 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 65,
    "hscan" : { "minimum" : 0.8710, "maximum" : 0.9032 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 66,
    "hscan" : { "minimum" : 0.8387, "maximum" : 0.8710 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 67,
    "hscan" : { "minimum" : 0.8065, "maximum" : 0.8387 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 68,
    "hscan" : { "minimum" : 0.7742, "maximum" : 0.8065 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 69,
    "hscan" : { "minimum" : 0.7419, "maximum" : 0.7742 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 70,
    "hscan" : { "minimum" : 0.7097, "maximum" : 0.7419 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 71,
    "hscan" : { "minimum" : 0.6774, "maximum" : 0.7097 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 72,
    "hscan" : { "minimum" : 0.6452, "maximum" : 0.6774 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 73,
    "hscan" : { "minimum" : 0.6129, "maximum" : 0.6452 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 74,
    "hscan" : { "minimum" : 0.5806, "maximum" : 0.6129 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 75,
    "hscan" : { "minimum" : 0.5484, "maximum" : 0.5806 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 76,
    "hscan" : { "minimum" : 0.5161, "maximum" : 0.5484 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 77,
    "hscan" : { "minimum" : 0.4839, "maximum" : 0.5161 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 78,
    "hscan" : { "minimum" : 0.4516, "maximum" : 0.4839 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 79,
    "hscan" : { "minimum" : 0.4194, "maximum" : 0.4516 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 80,
    "hscan" : { "minimum" : 0.3871, "maximum" : 0.4194 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 81,
    "hscan" : { "minimum" : 0.3548, "maximum" : 0.3871 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 82,
    "hscan" : { "minimum" : 0.3226, "maximum" : 0.3548 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 83,
    "hscan" : { "minimum" : 0.2903, "maximum" : 0.3226 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 84,
    "hscan" : { "minimum" : 0.2581, "maximum" : 0.2903 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 85,
    "hscan" : { "minimum" : 0.2258, "maximum" : 0.2581 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 86,
    "hscan" : { "minimum" : 0.1935, "maximum" : 0.2258 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 87,
    "hscan" : { "minimum" : 0.1613, "maximum" : 0.1935 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 88,
    "hscan" : { "minimum" : 0.1290, "maximum" : 0.1613 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 89,
    "hscan" : { "minimum" : 0.0968, "maximum" : 0.1290 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 90,
    "hscan" : { "minimum" : 0.0645, "maximum" : 0.0968 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 91,
    "hscan" : { "minimum" : 0.0323, "maximum" : 0.0645 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    }
    ],

    "endOfJson" : "endOfJson"
    }
     
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    what was the output? or didnt you do it?
     
  7. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    I didn't do it at all. Do I do everything listed on the page or just the Loopback Test?
     
  8. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    just the loopback test, there you can see if the pins are working correct
     
  9. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    Okay that makes more sense. It looks like it wants a wire between pin 19 and pin 21. I don't have female to female jumper wire so would it work if I run two cables (each with the male jumper connector stripped) through one of the Wago Connectors I have linked to in my original post?
     
  10. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    should be ok, just give it a try
     
  11. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    Here are my results and a picture of the connection.

    [​IMG]

    [email protected]:~ $ wget https://raw.githubusercontent.com/raspberrypi/linux/rpi-3.10.y/Documentation/spi/spidev_test.c
    --2017-01-17 17:22:15-- https://raw.githubusercontent.com/raspberrypi/linux/rpi-3.10.y/Documentation/spi/spidev_test.c
    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.44.133
    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.44.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 4410 (4.3K) [text/plain]
    Saving to: ‘spidev_test.c’

    spidev_test.c 100%[=====================>] 4.31K --.-KB/s in 0s

    2017-01-17 17:22:16 (10.2 MB/s) - ‘spidev_test.c’ saved [4410/4410]

    [email protected]:~ $ gcc -o spidev_test spidev_test.c
    [email protected]:~ $ ./spidev_test -D /dev/spidev0.0
    spi mode: 0
    bits per word: 8
    max speed: 500000 Hz (500 KHz)

    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00 00 00 00 00
    00 00

    EDIT: I realize now that the connections are in pin 19 and 23, which would be the reason for the Loopback test not showing anything.. But would that be the reason this isn't working? The video and tutorial on here that I have referenced had the cables connect to pins 19 and 23..

    I will attempt the loopback test again with the cables plugged into the correct pins (19 and 21) later tonight.
     
    Last edited: 17 January 2017
  12. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    doesnt look good... is spi active?can you post the output from "ls /dev"
     
  13. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    putty output.PNG
     
  14. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    I switched the cables so that they were in pins 19 and 21 and received the same results as above..
     
  15. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    mh looks like your spi pins are damaged...
     
  16. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    I don't like the sound of that.. :(

    I followed this guide with the same result.

    Is there anyway it could be the cables or Wago connector I'm using?

    I also have this touch screen that plugs in to the GPIO on the board. After the driver is configured, it works perfectly. Would that rule out that the spi pins are damaged?
     
  17. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    yes, on the interface picture is spi used, so spi should work if the screen works... can you use a short wire and shortcut the two pins with your hand? test is just a few seconds should be no porblem to hold them :)
     
  18. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    Well.. believe it or not, I got results!
    no way.PNG
     
  19. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    918
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
  20. Noah

    Noah rocky1921

    Messages:
    14
    Hardware:
    RPi3
    I got the LEDs to react to the phone app!! It's amazing! Now, I just need help getting them to react to either the internal grabber, or the GrabberV4l2. I can't seem to get either working, it still displays a grey screen when I "take a grabber screenshot" when trying to use the internal.

    Then when I select the Grabber V4I2, the LEDs won't react at all.

    Thanks again for the help!
     
    Last edited: 19 January 2017