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

RPi + LibreELEC no grabber image

Discussion in 'Software Support' started by Rob Neeson, 27 December 2018.

  1. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino

    How do i add the sketch that u posted before ?
     
  2. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  3. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino
    getting this error

     
  4. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I expected a error at this point. There is more to do now =)

    First what type of arduino board do you have?
    You well need to change the board type in the IDE in the tool tab under "boards" pick from the list the board you have.

    Next we need to edit the adalight.ino file to match your setup. Look thru the file. It has very good comments on whats going on in the file. Tip: Lines that start with // are comments.

    Which leads me to the questions of:
    How many leds are you using ?
    What type?
    What pins are you going to attach the led's to on the arduino ?

    And fill the answers in the appropriate spots in the "adalight.ino" file.
     
  5. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino

    sorry about this & thanks for your patience .

    The arduino board is called a wavgat uno r3, its working fine as i have programmed an example file.

    as far as i know i have edited the file correctly . i have included what i have done.

    atm i have 174 leds
    2812b
    pin 10 on arduino


     
  6. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Hmm.

    I noticed that I have version 3.1.6 of Fastled. I guess I have not updated in a wile. Try reverting to that version from within the library manager.

    Sometime progress breaks thing =)
     
  7. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino

    Tried to compile with a different board & it compiles fine, as soon as i switch to my wavgat board & compile it throws up the error ?
     
  8. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  9. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino
    OK , i tried this option

    (3) During my hit or miss attempts, I was successful, when I selected (Tools>Board>Arduino Dumilanove or Diecemila).

    It seems to have loaded up fine , the leds have changed to all white now.

    I have just edited the script just just to see if it changes to what i tell it too, i changed the
    #define MAX_LEDS 176
    to 50 & then 1, does that mean that either 50 or 1 should just light up as they dont all are still lit

    I have the drivers installed fine for wavgat
    i tried test pattens with that selection of board (Tools>Board>Arduino Dumilanove or Diecemila). & thats not working.
    when i revert back to wavgat all works fine ( test pattens )
     
    Last edited: 28 December 2018
  10. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  11. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino

    Was just starting to think the same myself actually. Just my luck to buy a POS board

    What do you think of this one

    https://www.amazon.es/gp/product/B01M7ZB2B4/ref=ox_sc_act_title_1?smid=AZF7WYXU5ZANW&psc=1


    Ive ordered a usb powered hub which should arrive monday so i will try that & see what happens.
     
    Last edited: 28 December 2018
  12. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I think its a arduino clone. It seems to have all the bits. It has some positive reviews =)

    Will it work? I can't say for sure.
     
  13. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino

    Ordered

    Thanks again for all your help
     
  14. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino
  15. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I'll help here, is it can possibly be of help to others.

    "2. Hyperion configuration" ?
    It seem to be detailing the working of the .conf file.
    THIS example should be easier to read as its complete and not cropped.

    Please post your currant config files and the edit you have made to the arduino sketch. Hyperion log as well please.

    How about first try a plain raspberry lite os image for now. its less restricting and easier to troubleshoot. Once its working just copy and paste the config file to libreelec.
     
  16. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino
    current arduino sketch



    hypercon ssh log



    ssh log when i try to change color



    config file in dir ( \\LIBREELEC\Userdata\addon_data\service.hyperion )



    I can still connect with the app but have no control over the color

    Which lite image do you recommend ?
     
  17. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Raspbian Stretch Lite , You can get a copy HERE .Don't use Libreelec version of Hypercon to install Hyperion, use the generic version from the download in the forum tab bar.

    I'm working off of this. That said, I see some errors:
    in arduino sketch should be:
    Code:
    // For led chips like Neopixels, which have a data line, ground, and power, you just
    // need to define DATA_PIN.  For led chipsets that are SPI based (four wires - data, clock,
    // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
    #define DATA_PIN 10
    // #define CLOCK_PIN 13
    It possible a resistor may be needed on the data line. Sometimes it fine without. We'll see.
    The Hyperion config has 251 leds defined? You have 174, correct? no matter we will fix that later.
    Untitled Sketch_bb.png
    Edit the sketch and re-upload to the arduino.
    If wiring is done as above, and the arduino receives power from it's usb port and the leds have there own power The leds do a small power on test upon powering of the arduino,

    Try to get it working to that point.
     
  18. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino
    i changed to pin 6 just to see if it would work.
    am downloading that now & will report back
     
  19. Rob Neeson

    Rob Neeson Member

    Messages:
    37
    Hardware:
    RPi3, +Arduino
    edited sketch



    ssh log after install




    STOP hypercon, take grabber screenhot Hyperion locks up



    app not connecting , color wheel not responding
     
  20. Akriss

    Akriss Active Member

    Messages:
    431
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    This will not work:
    Code:
    #define CLOCK_PIN 13
    Please read the comments above that line please for an explanation.