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

X86/64 Unresponsive LEDs with LibreELEC on HTPC

Discussion in 'Software Support' started by Angelos Kritsotakis, 2 May 2019.

  1. Angelos Kritsotakis

    Angelos Kritsotakis New Member

    Messages:
    4
    Hardware:
    32/64bit, +Arduino
    Greetings to the community and thank you for all your amazing work.
    I decided to dive into the DIY Ambilight project, got a 5m ws2812b strip, a 5V20A power adapter to run the strip and an Arduino Uno. My current setup consists of a custom made Intel based HTPC running LibreELEC.
    So i hook the Arduino up on my PC, download the Adalight and FastLED libraries and upload the sketch that i read is mostly used:



    The LEDs go blink and so far so good.
    I then install Hyperion through LibreELEC's repository and connect Arduino to my HTPC via USB. I run Hypercon on my pc, connect through SSH and follow instructions to eventually upload this:



    And that's about it. No rainbow effect on my strip, no single colour when trying the colorpicker through SSH, nothing.
    Wanted to use an external grabber as well but i imagine i'm pretty far off until that's happening.
    Couldn't find people using an HTPC while running the Hyperion Ambilight, most use Rpi's so i couldn't find much help in the forums.
    Any assistance would be deeply appreciated. Many thanks in advance for your time and effort!
     
  2. Akriss

    Akriss Active Member

    Messages:
    496
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    The config's looks good.

    maybe the uno is on another usb port?

    " ls /dev/ttyACM* " from a command prompt will show the possibility's.

    Hope it helps.
     
    • Like Like x 1
  3. Angelos Kritsotakis

    Angelos Kritsotakis New Member

    Messages:
    4
    Hardware:
    32/64bit, +Arduino
    Thank you for your swift response. So you suggest i try different ports on my HTPC, correct? i actually tried a second one while i was messing around, but still nothing happened. I will give it a go and try them all and let you know.
    Thanks again!
     
  4. Angelos Kritsotakis

    Angelos Kritsotakis New Member

    Messages:
    4
    Hardware:
    32/64bit, +Arduino
    ok so when i run the command through putty, i get two result while the Arduino is hooked. i get /dev/ttyACM0 and /dev/ttyACM1
    if i unplug it and run the command again, i just get /dev/tty/ACM0.
    i switched the hyperion config file to this:


    meaning i just typed ACM1 in the hypercon hardware output tab. now when i press start on hypercon to start hyperion all of my leds (300 while only 200 are specified) flash white two times and then nothing more.
     
  5. Angelos Kritsotakis

    Angelos Kritsotakis New Member

    Messages:
    4
    Hardware:
    32/64bit, +Arduino
    Ok, no sleep tonight.

    I'm still messing around, did a system reboot and everything seems to be in order. i will get back to you with ending results, thanks again!!!
     
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,339
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    two things:
    "rate" : 115200,
    "delayAfterConnect" : 0,

    try a higher delay (10)

    and the rate has to be same as you use in your sketch...they have to "speak" in the same "speed" otherwise it will not work